Re: [RFC PATCH] Use ranger in the cdce pass [PR91645]

2023-03-31 Thread Aldy Hernandez via Gcc-patches
On 3/31/23 10:16, Jakub Jelinek wrote: Hi! The cdce pass among other things replaces calls like sqrt with code like if (condition(s)) ret = .IFN_SQRT (x); else ret = sqrt (x); so that in the common case when we know the argument doesn't trigger any range/domain errors we use t

[RFC PATCH] Use ranger in the cdce pass [PR91645]

2023-03-31 Thread Jakub Jelinek via Gcc-patches
Hi! The cdce pass among other things replaces calls like sqrt with code like if (condition(s)) ret = .IFN_SQRT (x); else ret = sqrt (x); so that in the common case when we know the argument doesn't trigger any range/domain errors we use the hardware instruction and defer to a library c