From 995332cad37e5724a88a9a3cdfb3008248d5257e Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Thu, 19 Mar 2015 00:00:51 -0400 Subject: [PATCH] rl78-virt.md (andqi3_virt): Allow far operands. * config/rl78/rl78-virt.md (andqi3_virt): Allow far operands. (iorqi3_virt): Likewise. From-SVN: r221506 --- gcc/ChangeLog | 5 +++++ gcc/config/rl78/rl78-virt.md | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 39b2d17b41f..d8585e48906 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-03-18 DJ Delorie + + * config/rl78/rl78-virt.md (andqi3_virt): Allow far operands. + (iorqi3_virt): Likewise. + 2015-03-18 Tom de Vries * tree-parloops.c (parallelize_loops): Make static. diff --git a/gcc/config/rl78/rl78-virt.md b/gcc/config/rl78/rl78-virt.md index c29db26da80..e90e156a8d1 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 ()" -- 2.30.2