From 2d232d05278c1a5e45612ed694993cf7e9e5f963 Mon Sep 17 00:00:00 2001 From: rth Date: Tue, 19 Mar 2002 18:00:43 +0000 Subject: * emit-rtl.c (gen_int_mode): New function. * rtl.h: Prototype for it. * combine.c (make_extraction, simplify_comparison), expmed.c (store_bit_field, expand_mult_highpart, expand_divmod), expr.c (convert_modes, store_field), optabs.c (expand_fix), simplify-rtx.c (neg_const_int, simplify_unary_real), * config/rs6000/rs6000.c, config/rs6000/rs6000.md: Use it instead of GEN_INT (trunc_int_for_mode (...)). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51030 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/simplify-rtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/simplify-rtx.c') diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 5fba25cf5a9..21012ce31a3 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -114,7 +114,7 @@ neg_const_int (mode, i) enum machine_mode mode; rtx i; { - return GEN_INT (trunc_int_for_mode (- INTVAL (i), mode)); + return gen_int_mode (- INTVAL (i), mode); } @@ -376,7 +376,7 @@ simplify_unary_real (p) default: abort (); } - args->result = GEN_INT (trunc_int_for_mode (i, args->mode)); + args->result = gen_int_mode (i, args->mode); } else { -- cgit v1.2.1