This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
i960.md constraints error
- To: wilson at cygnus dot com, gcc-patches at gcc dot gnu dot org
- Subject: i960.md constraints error
- From: Aldy Hernandez <aldyh at redhat dot com>
- Date: Wed, 10 Jan 2001 16:17:24 -0400
- Cc: aldyh at redhat dot com
hi folks!
There is a constraint error in one of the patterns in the i960 port.
Here is a patch that fixes it.
Ok to install?
Aldy
2001-01-10 Aldy Hernandez <aldyh@redhat.com>
* config/i960/i960.md: Change modifier to + on the zero_extract
pattern after the (rotate -2 reg) canonicalization pattern.
Index: i960.md
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i960/i960.md,v
retrieving revision 1.17
diff -c -r1.17 i960.md
*** i960.md 2000/11/28 21:31:41 1.17
--- i960.md 2001/01/10 20:13:12
***************
*** 1859,1865 ****
;; The above pattern canonicalizes to this when both the input and output
;; are the same pseudo-register.
(define_insn ""
! [(set (zero_extract:SI (match_operand:SI 0 "register_operand" "=d")
(const_int 1)
(match_operand:SI 1 "register_operand" "d"))
(const_int 0))]
--- 1859,1865 ----
;; The above pattern canonicalizes to this when both the input and output
;; are the same pseudo-register.
(define_insn ""
! [(set (zero_extract:SI (match_operand:SI 0 "register_operand" "+d")
(const_int 1)
(match_operand:SI 1 "register_operand" "d"))
(const_int 0))]