aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rl78/rl78-virt.md8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 39b2d17..d8585e4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-18 DJ Delorie <dj@redhat.com>
+
+ * config/rl78/rl78-virt.md (andqi3_virt): Allow far operands.
+ (iorqi3_virt): Likewise.
+
2015-03-18 Tom de Vries <tom@codesourcery.com>
* tree-parloops.c (parallelize_loops): Make static.
diff --git a/gcc/config/rl78/rl78-virt.md b/gcc/config/rl78/rl78-virt.md
index c29db26..e90e156 100644
--- a/gcc/config/rl78/rl78-virt.md
+++ b/gcc/config/rl78/rl78-virt.md
@@ -131,8 +131,8 @@
)
(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 ()"
@@ -140,8 +140,8 @@
)
(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 ()"