From b83d388f3141fb19e3bb587c322d4338424d6194 Mon Sep 17 00:00:00 2001 From: rearnsha Date: Sat, 4 Aug 2012 14:02:56 +0000 Subject: [PATCH] * 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/ChangeLog | 5 +++++ gcc/config/arm/arm.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c8985aee9fa..c849368db0a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-08-04 Richard Earnshaw + + * arm.c (arm_gen_constant): Use SImode when preparing operands for + gen_extzv_t2. + 2012-08-04 Uros Bizjak * config/i386/i386.h (QI_REGNO_P): New define. 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)); } -- 2.11.4.GIT