mcore.c (block_move_sequence): Replace gen_rtx_CONST_INT with GEN_INT.

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

From-SVN: r77094
This commit is contained in:
Kazu Hirata 2004-02-02 02:32:23 +00:00 committed by Kazu Hirata
parent 1e567c4397
commit 67245ad3f1
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2004-02-01 Kazu Hirata <kazu@cs.umass.edu>
* config/mcore/mcore.c (block_move_sequence): Replace
gen_rtx_CONST_INT with GEN_INT.
2004-02-02 Jan Hubicka <jh@suse.cz>
* alias.c (record_set): Use hard_regno_nregs.

View File

@ -1876,8 +1876,7 @@ block_move_sequence (rtx dest, rtx dst_mem, rtx src, rtx src_mem,
#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 @@ block_move_sequence (rtx dest, rtx dst_mem, rtx src, rtx src_mem,
#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);