From: DJ Delorie Date: Thu, 19 Mar 2015 04:00:51 +0000 (-0400) Subject: rl78-virt.md (andqi3_virt): Allow far operands. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=995332cad37e5724a88a9a3cdfb3008248d5257e;p=gcc.git rl78-virt.md (andqi3_virt): Allow far operands. * config/rl78/rl78-virt.md (andqi3_virt): Allow far operands. (iorqi3_virt): Likewise. From-SVN: r221506 --- 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 ()"