aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1993-07-14 10:28:04 -0600
committerJeff Law <law@gcc.gnu.org>1993-07-14 10:28:04 -0600
commit3f729fda8586b1e602f632078fc7595a532975e7 (patch)
treed0a056a5f204054fb107567c341d77e2ef2a9cbb
parent879d206e0124839350ad96203eecc7aa19ab2463 (diff)
downloadgcc-3f729fda8586b1e602f632078fc7595a532975e7.zip
gcc-3f729fda8586b1e602f632078fc7595a532975e7.tar.gz
gcc-3f729fda8586b1e602f632078fc7595a532975e7.tar.bz2
pa.c (emit_move_sequence): Use cint_ok_for_move instead of checking each condition ourselves.
* pa.c (emit_move_sequence): Use cint_ok_for_move instead of checking each condition ourselves. From-SVN: r4918
-rw-r--r--gcc/config/pa/pa.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index f0da17e..564b96c 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -864,9 +864,7 @@ emit_move_sequence (operands, mode, scratch_reg)
return 1;
}
else if (GET_CODE (operand1) != CONST_INT
- || (! INT_14_BITS (operand1)
- && ! ((INTVAL (operand1) & 0x7ff) == 0)
- && ! zdepi_cint_p (INTVAL (operand1))))
+ || ! cint_ok_for_move (INTVAL (operand1)))
{
rtx temp = reload_in_progress ? operand0 : gen_reg_rtx (mode);
emit_insn (gen_rtx (SET, VOIDmode, temp,