https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129169
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |14.5
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
r14-8680 is correct though, this is a problem during combine, looking into it
now.
Trying 9, 10 -> 11:
9: r111:DI=0x8000000000000000
10: {r110:TI=sign_extend(r108:DI)*sign_extend(r111:DI);clobber flags:CC;}
REG_DEAD r111:DI
REG_DEAD r108:DI
REG_UNUSED flags:CC
REG_EQUAL sign_extend(r108:DI)*0x8000000000000000
11: {r112:TI=r110:TI>>0x3f;clobber flags:CC;}
REG_DEAD r110:TI
REG_UNUSED flags:CC
Failed to match this instruction:
(parallel [
(set (reg:TI 112 [ _3 ])
(ashiftrt:TI (ashift:TI (zero_extend:TI (reg:DI 108 [ _8 ]))
(const_int 63 [0x3f]))
(const_int 63 [0x3f])))
(clobber (reg:CC 17 flags))
])
Failed to match this instruction:
(set (reg:TI 112 [ _3 ])
(ashiftrt:TI (ashift:TI (zero_extend:TI (reg:DI 108 [ _8 ]))
(const_int 63 [0x3f]))
(const_int 63 [0x3f])))
Successfully matched this instruction:
(set (reg:TI 110 [ _2 ])
(zero_extend:TI (reg:DI 108 [ _8 ])))
Successfully matched this instruction:
(set (reg:TI 112 [ _3 ])
(ashiftrt:TI (ashift:TI (reg:TI 110 [ _2 ])
(const_int 63 [0x3f]))
(const_int 63 [0x3f])))