This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/47502] [x32] canât find a register in class âSIREGâ while reloading âasmâ
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 28 Jan 2011 00:12:16 +0000
- Subject: [Bug rtl-optimization/47502] [x32] canât find a register in class âSIREGâ while reloading âasmâ
- Auto-submitted: auto-generated
- References: <bug-47502-4@http.gcc.gnu.org/bugzilla/>
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.