+2004-12-26 Richard Henderson <rth@redhat.com>
+
+ * config/i386/i386.c (ix86_gimplify_va_arg): Also pass the result
+ of type_natural_mode to examine_argument.
+
+ * config/i386/i386.md (mov<MMXMODEI>_internal_rex64): New.
+ (movv2sf_internal_rex64): New.
+ (mov<MMXMODEI>_internal): Use no register preferences at all.
+ (movv2sf_internal): Likewise.
+
2004-12-26 Richard Henderson <rth@redhat.com>
* simplify-rtx.c (simplify_relational_operation_1): Don't simplify
rtx container;
int indirect_p = 0;
tree ptrtype;
+ enum machine_mode nat_mode;
/* Only 64bit target needs something special. */
if (!TARGET_64BIT)
size = int_size_in_bytes (type);
rsize = (size + UNITS_PER_WORD - 1) / UNITS_PER_WORD;
- container = construct_container (type_natural_mode (type), TYPE_MODE (type),
- type, 0, REGPARM_MAX, SSE_REGPARM_MAX,
- intreg, 0);
+ nat_mode = type_natural_mode (type);
+ container = construct_container (nat_mode, TYPE_MODE (type), type, 0,
+ REGPARM_MAX, SSE_REGPARM_MAX, intreg, 0);
/* Pull the value out of the saved registers. */
lab_false = create_artificial_label ();
lab_over = create_artificial_label ();
- examine_argument (TYPE_MODE (type), type, 0,
- &needed_intregs, &needed_sseregs);
+ examine_argument (nat_mode, type, 0, &needed_intregs, &needed_sseregs);
need_temp = (!REG_P (container)
&& ((needed_intregs && TYPE_ALIGN (type) > 64)