aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i860/i860.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-04-01 05:20:26 +0000
committerJeff Law <law@gcc.gnu.org>1998-03-31 22:20:26 -0700
commit3a598fbeb416142a7b9aa9a332eab71c1828d36b (patch)
tree84f0e70b65ebdc968e5fa3ba0c8eac667a10255b /gcc/config/i860/i860.c
parenta26fd1652b6b8280eee7746c25d7c083d72ba29b (diff)
downloadgcc-3a598fbeb416142a7b9aa9a332eab71c1828d36b.zip
gcc-3a598fbeb416142a7b9aa9a332eab71c1828d36b.tar.gz
gcc-3a598fbeb416142a7b9aa9a332eab71c1828d36b.tar.bz2
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
Diffstat (limited to 'gcc/config/i860/i860.c')
-rw-r--r--gcc/config/i860/i860.c13
1 files changed, 6 insertions, 7 deletions
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 <stdio.h>
#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 <stdio.h>
-
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);