From b83d388f3141fb19e3bb587c322d4338424d6194 Mon Sep 17 00:00:00 2001 From: rearnsha Date: Sat, 4 Aug 2012 14:02:56 +0000 Subject: * arm.c (arm_gen_constant): Use SImode when preparing operands for gen_extzv_t2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190143 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/arm/arm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/config') diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 00ccb9280de..b799e0d0be1 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -2999,8 +2999,8 @@ arm_gen_constant (enum rtx_code code, enum machine_mode mode, rtx cond, /* Extz only supports SImode, but we can coerce the operands into that mode. */ emit_constant_insn (cond, - gen_extzv_t2 (gen_lowpart (mode, target), - gen_lowpart (mode, source), + gen_extzv_t2 (gen_lowpart (SImode, target), + gen_lowpart (SImode, source), GEN_INT (i), const0_rtx)); } -- cgit v1.2.1