(bdesc_void3arg, bdesc_voidacc, bdesc_loads, bdesc_stores): Likewise.
(frv_read_argument): Use expand_normal.
+ PR target/44757
+ * config/lm32/lm32.h (LEGITIMATE_CONSTANT_P): Call
+ lm32_legitimate_constant_p.
+ * config/lm32/lm32.md (ashlsi3): Remove unused variable.
+ * config/lm32/lm32.c (gen_int_relational): Make new block for
+ LE / LT / LEU / LTU case. Declare variables at start of block.
+ (lm32_block_move_inline): Use XALLOCAVEC.
+
2010-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/i386/i386.c (ix86_function_arg_boundary): Fix warning
case LT:
case LEU:
case LTU:
- code = swap_condition (code);
- rtx temp = cmp0;
- cmp0 = cmp1;
- cmp1 = temp;
- break;
+ {
+ rtx temp;
+
+ code = swap_condition (code);
+ temp = cmp0;
+ cmp0 = cmp1;
+ cmp1 = temp;
+ break;
+ }
default:
break;
}
if (branch_p)
{
- rtx insn;
+ rtx insn, cond, label;
/* Operands must be in registers. */
if (!register_operand (cmp0, mode))
cmp1 = force_reg (mode, cmp1);
/* Generate conditional branch instruction. */
- rtx cond = gen_rtx_fmt_ee (code, mode, cmp0, cmp1);
- rtx label = gen_rtx_LABEL_REF (VOIDmode, destination);
+ cond = gen_rtx_fmt_ee (code, mode, cmp0, cmp1);
+ label = gen_rtx_LABEL_REF (VOIDmode, destination);
insn = gen_rtx_SET (VOIDmode, pc_rtx,
gen_rtx_IF_THEN_ELSE (VOIDmode,
cond, label, pc_rtx));
delta = bits / BITS_PER_UNIT;
/* Allocate a buffer for the temporary registers. */
- regs = alloca (sizeof (rtx) * length / delta);
+ regs = XALLOCAVEC (rtx, length / delta);
/* Load as many BITS-sized chunks as possible. */
for (offset = 0, i = 0; offset + delta <= length; offset += delta, i++)
#define REG_OK_FOR_BASE_P(X) NONSTRICT_REG_OK_FOR_BASE_P(X)
#endif
-#define LEGITIMATE_CONSTANT_P(X) lm32_legitimate_constant_p
+#define LEGITIMATE_CONSTANT_P(X) lm32_legitimate_constant_p (X)
/*-------------------------*/
/* Condition Code Status. */