Hi Nico,

A CFG IR sounds good to me :) I've been hesitate to look as I didn't know 
the status, is there any documentation? Is it currently piggybacking off 
turbofan for some functionality? I can't immediately see where/how graph 
nodes are defined.

cheers, 

On Tuesday, July 25, 2023 at 9:37:26 AM UTC+1 Nico Hartmann wrote:

> Hi Sam,
>
> We are currently migrating Turbofan to a new CFG-based IR (Turboshaft). 
> This could help.
>
> Cheers,
> Nico
>
> On Tue, Jul 25, 2023 at 10:23 AM Sam Parker-Haynes <[email protected]> 
> wrote:
>
>> Hi,
>>
>> I've been wondering how to go about adding general support for 
>> conditional operations in Turbofan, specifically conditional compares for 
>> AArch64. But I now see that Intel APX extensions also support more 
>> conditional instructions, beyond cmov.
>>
>> I'm not a huge fan of flag continuations, as it's been too easy for me to 
>> introduce bugs while using them, so is there a safer way to approach this?
>>
>> Machine-level predication would seem to require a CFG in a form that 
>> isn't really available until during/after jump-threading. So a few 
>> questions about jump threading:
>> - Could predication happen there?
>> - Why does jump threading run so late, why not before regalloc?
>>
>> And, in general, what is the policy on having optimisation passes that 
>> run on machine code?
>>
>> Thanks,
>> Sam
>>
>> -- 
>> -- 
>> v8-dev mailing list
>> [email protected]
>> http://groups.google.com/group/v8-dev
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "v8-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/v8-dev/80169017-f248-4424-89ad-97260f28643dn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/v8-dev/80169017-f248-4424-89ad-97260f28643dn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Nico Hartmann | Software Engineer | [email protected] | Chrome - V8
>

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/f4cb3d5e-d703-4e0a-b65d-1fbacf1573a0n%40googlegroups.com.

Reply via email to