This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: mips64 inline question
Richard Henderson <rth@redhat.com> writes:
> On Wed, Jan 23, 2002 at 06:43:08PM -0800, d p chang wrote:
> > The simple test I used was this:
>
> That can't have been the test that caused the ICE.
> Do not give me a simplified test case. Give me the
> test case that crashes the compiler.
This 'simplified' case causes the problem that I reported before as I
just copied the problematic function from the mips64-linux source and
called it from my main (trimming out the multiply and call to
__delay).
It isn't an ICE, but rather it says that the insn is unrecognized for
the dultu instruction after giving warnings about 'impossible register
constraints' in the asm statement. The actual messages (from my
previous mail):
/home/dpc/src/linux-2.4.17/include/asm/delay.h:47: impossible register constraint in `asm'
panic.c:101: unrecognizable insn:
(insn 300 299 423 (parallel[
(set (reg:DI 10 t2)
(asm_operands:DI ("dmultu %2,%3") ("=h") 0[
(reg:DI 2 v0 [157])
(reg:DI 4 a0 [166])
]
[
(asm_input:DI ("r"))
(asm_input:DI ("r"))
] ("/home/dpc/src/linux-2.4.17/include/asm/delay.h") 47))
(set (reg:DI 12 t4)
(asm_operands:DI ("dmultu %2,%3") ("=l") 1[
(reg:DI 2 v0 [157])
(reg:DI 4 a0 [166])
]
[
(asm_input:DI ("r"))
(asm_input:DI ("r"))
] ("/home/dpc/src/linux-2.4.17/include/asm/delay.h") 47))
] ) -1 (insn_list 288 (nil))
(nil))
panic.c:101: confused by earlier errors, bailing out