Commit 649507af by H.J. Lu Committed by H.J. Lu

Use Pmode on x86_64 this parameter

2012-03-11  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.c (x86_this_parameter): Replace DImode with
	Pmode.

From-SVN: r185196
parent 1991321c
2012-03-11 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (x86_this_parameter): Replace DImode with
Pmode.
2012-03-11 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.md (lwp_slwpcb): Check Pmode instead of
TARGET_64BIT.
......
......@@ -31971,7 +31971,7 @@ x86_this_parameter (tree function)
parm_regs = x86_64_ms_abi_int_parameter_registers;
else
parm_regs = x86_64_int_parameter_registers;
return gen_rtx_REG (DImode, parm_regs[aggr]);
return gen_rtx_REG (Pmode, parm_regs[aggr]);
}
nregs = ix86_function_regparm (type, function);
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