Re: [COMMITTED] Implement ranger folder for __builtin_signbit.

2022-09-01 Thread Aldy Hernandez via Gcc-patches
On Thu, Sep 1, 2022 at 6:41 PM Joseph Myers wrote: > > On Thu, 1 Sep 2022, Aldy Hernandez via Gcc-patches wrote: > > > Now that we keep track of the signbit, we can use it to fold > > __builtin_signbit. > > > > I am assuming I don't have try too hard to get the actual signbit > > number and 1 wil

Re: [COMMITTED] Implement ranger folder for __builtin_signbit.

2022-09-01 Thread Joseph Myers
On Thu, 1 Sep 2022, Aldy Hernandez via Gcc-patches wrote: > Now that we keep track of the signbit, we can use it to fold > __builtin_signbit. > > I am assuming I don't have try too hard to get the actual signbit > number and 1 will do. Especially, since we're inconsistent in trunk whether > we

[COMMITTED] Implement ranger folder for __builtin_signbit.

2022-09-01 Thread Aldy Hernandez via Gcc-patches
Now that we keep track of the signbit, we can use it to fold __builtin_signbit. I am assuming I don't have try too hard to get the actual signbit number and 1 will do. Especially, since we're inconsistent in trunk whether we fold the builtin or whether we calculate it at runtime. abulafia:~$ cat