https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129035
--- Comment #4 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Or the RTL simplification is done interesting wise:
```
Trying 10 -> 12:
10: r106:DI=r108:DI>>0x3f
REG_DEAD r108:DI
12: r107:SI=r106:DI#0&0x1
REG_DEAD r106:DI
Failed to match this instruction:
(set (reg:SI 107)
(neg:SI (subreg:SI (ashiftrt:DI (reg:DI 108 [ xD.30477 ])
(const_int 63 [0x3f])) 0)))
```
For SI/int rtl is done correctly:
```
Trying 10 -> 12:
10: r106:SI=r108:SI>>0x1f
REG_DEAD r108:SI
12: r107:SI=r106:SI&0x1
REG_DEAD r106:SI
Successfully matched this instruction:
(set (reg:SI 107)
(lshiftrt:SI (reg:SI 108 [ xD.30477 ])
(const_int 31 [0x1f])))
```