Help needed on "insn does not satisfy its constraints"
Kazu Hirata
kazu@cs.umass.edu
Wed Jan 28 05:57:00 GMT 2004
Hi Ashwani,
> nfsmount.c: In function `nfsmount':
> nfsmount.c:828: internal error--insn does not satisfy its constraints:
> (insn 3361 1679 3363 (set (mem:SI (plus:SI (reg:SI 15 FP)
> (const_int -2216 [0xfffff758])) 0)
> (reg:SI 16 I0)) 8 {*movsi_insn} (nil)
> (nil))
Does your architecture actually have an instruction to move a constant
to a memory location without going through a temporary register?
Looking at nisa.md, I am guessing not. The attached patch may let you
work around the problem, but no guarantee as I don't know the
architecture.
Kazu Hirata
--- nisa.md.orig 2004-01-28 00:44:28.546199399 -0500
+++ nisa.md 2004-01-28 00:45:48.746098717 -0500
@@ -226,7 +226,8 @@
[(set (match_operand:SI 0 "general_operand" "=bcf, da, mda, e, da, !d, !C")
(match_operand:SI 1 "general_operand" "idabcf, iMmbcf, da, ade, e, C, d"))]
- ""
+ "register_operand (operands[0], SImode)
+ || register_operand (operands[1], SImode)"
"*
{ output_load_immediate (operands); }
"
More information about the Gcc-help
mailing list