public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* PATCH: Use Pmode on x86_64 this parameter
@ 2012-03-11  1:12 H.J. Lu
  2012-03-11 10:23 ` Uros Bizjak
  0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2012-03-11  1:12 UTC (permalink / raw)
  To: gcc-patches, Uros Bizjak, Richard Henderson

Hi,

This patch replaces DImode with Pmode on x86_64 this parameter.  OK
for trunk?

Thanks.

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

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

diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index bc144a9..bfa3cdc 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -31971,7 +31978,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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PATCH: Use Pmode on x86_64 this parameter
  2012-03-11  1:12 PATCH: Use Pmode on x86_64 this parameter H.J. Lu
@ 2012-03-11 10:23 ` Uros Bizjak
  0 siblings, 0 replies; 2+ messages in thread
From: Uros Bizjak @ 2012-03-11 10:23 UTC (permalink / raw)
  To: H.J. Lu; +Cc: gcc-patches, Richard Henderson

On Sun, Mar 11, 2012 at 2:11 AM, H.J. Lu <hongjiu.lu@intel.com> wrote:

> This patch replaces DImode with Pmode on x86_64 this parameter.  OK
> for trunk?
>
> 2012-03-10  H.J. Lu  <hongjiu.lu@intel.com>
>
>        * config/i386/i386.c (x86_this_parameter): Replace DImode with
>        Pmode.

OK.

Thanks,
Uros.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-11 10:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-11  1:12 PATCH: Use Pmode on x86_64 this parameter H.J. Lu
2012-03-11 10:23 ` Uros Bizjak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).