[PATCH take #2] Some additional zero-extension related optimizations in simplify-rtx.

2022-08-02 Thread Roger Sayle
Many thanks to Segher and Richard for pointing out that my removal of optimizations of ABS(ABS(x)) and ABS(FFS(x)) in the original version of this patch was incorrect, and my assumption that these would be subsumed by val_signbit_known_clear_p was mistaken. That the tests for ABS and FFS looked

Re: [PATCH take #2] Some additional zero-extension related optimizations in simplify-rtx.

2022-08-02 Thread Richard Sandiford via Gcc-patches
"Roger Sayle" writes: > Many thanks to Segher and Richard for pointing out that my removal > of optimizations of ABS(ABS(x)) and ABS(FFS(x)) in the original version > of this patch was incorrect, and my assumption that these would be > subsumed by val_signbit_known_clear_p was mistaken. That the

Re: [PATCH take #2] Some additional zero-extension related optimizations in simplify-rtx.

2022-08-02 Thread Richard Sandiford via Gcc-patches
Richard Sandiford via Gcc-patches writes: > "Roger Sayle" writes: >> Many thanks to Segher and Richard for pointing out that my removal >> of optimizations of ABS(ABS(x)) and ABS(FFS(x)) in the original version >> of this patch was incorrect, and my assumption that these would be >> subsumed by