From 3a598fbeb416142a7b9aa9a332eab71c1828d36b Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Wed, 1 Apr 1998 05:20:26 +0000 Subject: 1750a.md, [...]: Use GEN_INT consistently. * 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently. * convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise. * i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise. * i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise. * m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise. * pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise. * rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise. * tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise. * md.texi: Likewise. From-SVN: r18927 --- gcc/config/i860/i860.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'gcc/config/i860/i860.c') diff --git a/gcc/config/i860/i860.c b/gcc/config/i860/i860.c index dce1340..cedbeb1 100644 --- a/gcc/config/i860/i860.c +++ b/gcc/config/i860/i860.c @@ -1,5 +1,5 @@ /* Subroutines for insn-output.c for Intel 860 - Copyright (C) 1989, 1991 Free Software Foundation, Inc. + Copyright (C) 1989, 1991, 1997 Free Software Foundation, Inc. Derived from sparc.c. Written by Richard Stallman (rms@ai.mit.edu). @@ -26,6 +26,7 @@ Boston, MA 02111-1307, USA. */ #include "config.h" +#include #include "flags.h" #include "rtl.h" #include "regs.h" @@ -38,8 +39,6 @@ Boston, MA 02111-1307, USA. */ #include "recog.h" #include "insn-attr.h" -#include - static rtx find_addr_reg (); #ifndef I860_REG_PREFIX @@ -1115,7 +1114,7 @@ output_size_for_block_move (size, reg, align) else { xoperands[1] - = gen_rtx (CONST_INT, VOIDmode, INTVAL (size) - INTVAL (align)); + = GEN_INT (INTVAL (size) - INTVAL (align)); cc_status.flags &= ~ CC_KNOW_HI_R31; output_asm_insn ("mov %1,%0", xoperands); } @@ -1154,7 +1153,7 @@ output_block_move (operands) if (align > 4) { align = 4; - alignrtx = gen_rtx (CONST_INT, VOIDmode, 4); + alignrtx = GEN_INT (4); } /* Recognize special cases of block moves. These occur @@ -1239,7 +1238,7 @@ output_block_move (operands) /* Generate number for unique label. */ - xoperands[3] = gen_rtx (CONST_INT, VOIDmode, movstrsi_label++); + xoperands[3] = GEN_INT (movstrsi_label++); /* Calculate the size of the chunks we will be trying to move first. */ @@ -1254,7 +1253,7 @@ output_block_move (operands) /* Copy the increment (negative) to a register for bla insn. */ - xoperands[4] = gen_rtx (CONST_INT, VOIDmode, - chunk_size); + xoperands[4] = GEN_INT (- chunk_size); xoperands[5] = operands[5]; output_asm_insn ("adds %4,%?r0,%5", xoperands); -- cgit v1.1