Eric Botcazou wrote:
Not sure what's going on exactly...
Using -fdump-unnumbered dumps, I find the first significant difference
in 144r.peephole2:
13868a13869,13880
> (set (reg:SI 2 cx)
> (ior:SI (ashiftrt:SI (reg:SI 2 cx)
> (const_int 1 [0x1]))
> (ashift:SI (reg:SI 3 bx [+4 ])
> (minus:QI (const_int 32 [0x20])
> (const_int 1 [0x1])))))
> (clobber (reg:CC 17 flags))
> ])# (nil)
> (expr_list:REG_UNUSED (reg:CC 17 flags)
> (nil)))
>
> (insn# # # 2 ../../srcw/gcc/cfg.c:980 (parallel [
13897a13910,13921
> (set (reg:SI 1 dx [+4 ])
> (ior:SI (ashift:SI (reg:SI 1 dx [+4 ])
> (const_int 16 [0x10]))
> (lshiftrt:SI (reg:SI 0 ax [94])
> (minus:QI (const_int 32 [0x20])
> (const_int 16 [0x10])))))
> (clobber (reg:CC 17 flags))
> ])# (nil)
> (expr_list:REG_UNUSED (reg:CC 17 flags)
> (nil)))
>
> (insn# # # 2 ../../srcw/gcc/cfg.c:980 (parallel [
14792a14817,14828
> (set (reg:SI 0 ax [123])
> (ior:SI (ashiftrt:SI (reg:SI 0 ax [123])
> (const_int 16 [0x10]))
> (ashift:SI (reg:SI 1 dx [+4 ])
> (minus:QI (const_int 32 [0x20])
> (const_int 16 [0x10])))))
> (clobber (reg:CC 17 flags))
> ])# (nil)
> (expr_list:REG_UNUSED (reg:CC 17 flags)
> (nil)))
>
> (insn# # # 15 ../../srcw/gcc/cfg.c:992 (parallel [
15244a15281,15292
> (set (reg:SI 0 ax [147])
> (ior:SI (ashiftrt:SI (reg:SI 0 ax [147])
> (const_int 16 [0x10]))
> (ashift:SI (reg:SI 1 dx [+4 ])
> (minus:QI (const_int 32 [0x20])
> (const_int 16 [0x10])))))
> (clobber (reg:CC 17 flags))
> ])# (nil)
> (expr_list:REG_UNUSED (reg:CC 17 flags)
> (nil)))
>
> (insn# # # 19 ../../srcw/gcc/cfg.c:997 (parallel [
16008a16057,16068
> (set (reg:SI 0 ax [172])
> (ior:SI (ashiftrt:SI (reg:SI 0 ax [172])
> (const_int 16 [0x10]))
> (ashift:SI (reg:SI 1 dx [+4 ])
> (minus:QI (const_int 32 [0x20])
> (const_int 16 [0x10])))))
> (clobber (reg:CC 17 flags))
> ])# (nil)
> (expr_list:REG_UNUSED (reg:CC 17 flags)
> (nil)))
>
> (insn# # # 38 ../../srcw/gcc/cfg.c:1007 (parallel [
16587a16648,16659
> (set (reg:SI 0 ax [187])
> (ior:SI (ashiftrt:SI (reg:SI 0 ax [187])
> (const_int 16 [0x10]))
> (ashift:SI (reg:SI 1 dx [+4 ])
> (minus:QI (const_int 32 [0x20])
> (const_int 16 [0x10])))))
> (clobber (reg:CC 17 flags))
> ])# (nil)
> (expr_list:REG_UNUSED (reg:CC 17 flags)
> (nil)))
>
> (insn# # # 51 ../../srcw/gcc/cfg.c:1009 (parallel [
19776c19848
< (symbol_ref/f:SI ("*.LC28") [flags 0x2] <string_cst 0xb51e7ea0>))#
{*movsi_1} (nil)
---
> (symbol_ref/f:SI ("*.LC28") [flags 0x2] <string_cst 0xb5196ea0>))#
> {*movsi_1} (nil)
20134c20206
< (symbol_ref/f:SI ("*.LC30") [flags 0x2] <string_cst 0xb5101048>))#
{*movsi_1} (nil)
---
> (symbol_ref/f:SI ("*.LC30") [flags 0x2] <string_cst 0xb51e7048>))#
> {*movsi_1} (nil)
20463c20535
< (symbol_ref/f:SI ("*.LC31") [flags 0x2] <string_cst 0xb5101264>))#
{*movsi_1} (nil)
---
> (symbol_ref/f:SI ("*.LC31") [flags 0x2] <string_cst 0xb51e7264>))#
> {*movsi_1} (nil)