This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/40836] ICE: "insn does not satisfy its constraints" (iwmmxt_movsi_insn)
- From: "enrico dot scholz at informatik dot tu-chemnitz dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Oct 2009 13:39:28 -0000
- Subject: [Bug target/40836] ICE: "insn does not satisfy its constraints" (iwmmxt_movsi_insn)
- References: <bug-40836-3461@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from enrico dot scholz at informatik dot tu-chemnitz dot de 2009-10-23 13:39 -------
When I read the RTL dumps correctly, gcc tries to assign SP to wCGR0.
This can be done by the
tmrc sp, wCGR0
assembly instruction which will be issued by alternative 6 in
--- iwmmxt.md ---
(define_insn "*iwmmxt_movsi_insn"
[(set (match_operand:SI 0 "nonimmediate_operand" "=rk,r,r,rk, m,z,r,?z,Uy,z")
(match_operand:SI 1 "general_operand" "rk, I,K,mi,rk,r,z,Uy,z,
z"))]
...
case 6: return \"tmrc\\t%0, %1\";
The corresponding constraints pair is ['r', 'z'] and it is matched by
[sp, wcgr0] afais. What could be the reason for the ICE?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40836