[Bug rtl-optimization/47502] [x32] can’t find a register in class ‘SIREG’ while reloading ‘asm’
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jan 28 03:23:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47502
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot
| |gnu.org
Component|target |rtl-optimization
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-28 00:12:14 UTC ---
Combine ignores asm constraints and turns
(set (reg:SI 64 [ resultvar ])
(asm_operands/v:SI ("int $0x80
") ("=a") 0 [
(reg:SI 65)
(subreg/s/u:SI (reg/v/f:DI 62 [ xxxxx ]) 0)
(subreg/s/u:SI (reg/v/f:DI 63 [ yyyyy ]) 0)
(reg:SI 66)
]
[
(asm_input:SI ("0") (null):0)
(asm_input:SI ("c") (null):0)
(asm_input:SI ("d") (null):0)
(asm_input:SI ("S") (null):0)
]
[] x.i:10))
(clobber (reg:QI 18 fpsr))
(clobber (reg:QI 17 flags))
(clobber (mem:BLK (scratch) [0 A8]))
]) x.i:5 -1
into
(set (reg:SI 64 [ resultvar ])
(asm_operands/v:SI ("int $0x80
") ("=a") 0 [
(reg:SI 65)
(reg:SI 5 di [ xxxxx ])
(subreg/s/u:SI (reg/v/f:DI 63 [ yyyyy ]) 0)
(reg:SI 66)
]
[
(asm_input:SI ("0") (null):0)
(asm_input:SI ("c") (null):0)
(asm_input:SI ("d") (null):0)
(asm_input:SI ("S") (null):0)
]
[] x.i:10))
(clobber (reg:QI 18 fpsr))
(clobber (reg:QI 17 flags))
(clobber (mem:BLK (scratch) [0 A8]))
])
Things go downhill from here.
More information about the Gcc-bugs
mailing list