Commit c84555eb by H.J. Lu Committed by H.J. Lu

re PR target/35657 (Alignments of DFP types aren't consistent)

2008-03-27  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/35657
	* config/i386/i386.c (ix86_function_arg_boundary): Align
	decimal floating point to its natural boundary.

From-SVN: r133649
parent 75f8beae
2008-03-27 H.J. Lu <hongjiu.lu@intel.com>
PR target/35657
* config/i386/i386.c (ix86_function_arg_boundary): Align
decimal floating point to its natural boundary.
2008-03-27 Richard Guenther <rguenther@suse.de>
PR middle-end/35716
......
......@@ -4577,7 +4577,8 @@ ix86_function_arg_boundary (enum machine_mode mode, tree type)
align = GET_MODE_ALIGNMENT (mode);
if (align < PARM_BOUNDARY)
align = PARM_BOUNDARY;
if (!TARGET_64BIT)
/* Decimal floating point is aligned to its natural boundary. */
if (!TARGET_64BIT && !VALID_DFP_MODE_P (mode))
{
/* i386 ABI defines all arguments to be 4 byte aligned. We have to
make an exception for SSE modes since these require 128bit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment