This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] mcore.c: Replace gen_rtx_CONST_INT with GEN_INT.


Hi,

Built mcore-elf.  Committed as obvious.

Kazu Hirata

2004-02-01  Kazu Hirata  <kazu@cs.umass.edu>

	* config/mcore/mcore.c (block_move_sequence): Replace
	gen_rtx_CONST_INT with GEN_INT.

Index: mcore.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mcore/mcore.c,v
retrieving revision 1.59
diff -u -r1.59 mcore.c
--- mcore.c	1 Feb 2004 21:21:40 -0000	1.59
+++ mcore.c	2 Feb 2004 00:22:35 -0000
@@ -1876,8 +1876,7 @@
 #else
 			  mode[next],
 #endif
-			  gen_rtx_PLUS (Pmode, src,
-					gen_rtx_CONST_INT (SImode, offset_ld)));
+			  gen_rtx_PLUS (Pmode, src, GEN_INT (offset_ld)));
 	  
 	  RTX_UNCHANGING_P (srcp) = RTX_UNCHANGING_P (src_mem);
 	  MEM_VOLATILE_P (srcp) = MEM_VOLATILE_P (src_mem);
@@ -1897,8 +1896,7 @@
 #else
 			  mode[phase],
 #endif
-			  gen_rtx_PLUS (Pmode, dest,
-					gen_rtx_CONST_INT (SImode, offset_st)));
+			  gen_rtx_PLUS (Pmode, dest, GEN_INT (offset_st)));
 	  
 	  RTX_UNCHANGING_P (dstp) = RTX_UNCHANGING_P (dst_mem);
 	  MEM_VOLATILE_P (dstp) = MEM_VOLATILE_P (dst_mem);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]