https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127362
Milan Tripkovic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Milan Tripkovic <[email protected]> --- Created attachment 65806 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65806&action=edit orn_patch Hello, Do you have a specific test case for this bug? I tried to reproduce it, but trunk already generates the expected code for the ANDN case: https://godbolt.org/z/ond1o76Go However, while investigating, I found an IOR case that can be improved. Before: slli a0,a0,52 srli t0,a0,52 not a0,t0 ret After: li a5,-4096 orn a0,a5,a0 ret Attached spilit pattern for orn case.
