This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[rl78] fix ICE with far operands to and/ior
- From: DJ Delorie <dj at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 19 Mar 2015 00:00:54 -0400
- Subject: [rl78] fix ICE with far operands to and/ior
- Authentication-results: sourceware.org; auth=none
Committed.
* config/rl78/rl78-virt.md (andqi3_virt): Allow far operands.
(iorqi3_virt): Likewise.
Index: config/rl78/rl78-virt.md
===================================================================
--- config/rl78/rl78-virt.md (revision 221505)
+++ config/rl78/rl78-virt.md (working copy)
@@ -128,23 +128,23 @@
"rl78_virt_insns_ok () && !TARGET_G10"
"v.mulu\t%0, %2"
[(set_attr "valloc" "umul")]
)
(define_insn "*andqi3_virt"
- [(set (match_operand:QI 0 "rl78_nonfar_nonimm_operand" "=vm")
- (and:QI (match_operand:QI 1 "rl78_nonfar_operand" "vim")
+ [(set (match_operand:QI 0 "rl78_nonimmediate_operand" "=vm")
+ (and:QI (match_operand:QI 1 "rl78_general_operand" "vim")
(match_operand:QI 2 "rl78_general_operand" "vim")))
]
"rl78_virt_insns_ok ()"
"v.and\t%0, %1, %2"
)
(define_insn "*iorqi3_virt"
- [(set (match_operand:QI 0 "rl78_nonfar_nonimm_operand" "=vm")
- (ior:QI (match_operand:QI 1 "rl78_nonfar_operand" "vim")
+ [(set (match_operand:QI 0 "rl78_nonimmediate_operand" "=vm")
+ (ior:QI (match_operand:QI 1 "rl78_general_operand" "vim")
(match_operand:QI 2 "rl78_general_operand" "vim")))
]
"rl78_virt_insns_ok ()"
"v.or\t%0, %1, %2"
)