public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Uros Bizjak <ubizjak@gmail.com>
To: "H.J. Lu" <hjl.tools@gmail.com>
Cc: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH] PR target/66806: Don't pass/return vectors in registers for IAMCU
Date: Wed, 08 Jul 2015 11:49:00 -0000	[thread overview]
Message-ID: <CAFULd4bV5ou2qQRbtAc_JA0vJv1nh51YfqP0xS2Lm8uYfeyvgg@mail.gmail.com> (raw)
In-Reply-To: <20150708114118.GA22923@intel.com>

On Wed, Jul 8, 2015 at 1:41 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> Vectors should be passed in memory for IAMCU.
>
> OK for trunk?
>
> H.J.
> ---
> gcc/
>
>         PR target/66806
>         * config/i386/i386.c (function_arg_advance_32): Don't pass
>         vectors in registers for IAMCU.
>         (function_arg_32): Likewise.
>         (ix86_return_in_memory): Don't return vectors in registers for
>         IAMCU.
>
> gcc/testsuite/
>
>         PR target/66806
>         * gcc.target/i386/pr66806.c: New test.

> +/* { dg-do compile { target ia32 } } */
> +/* { dg-options "-miamcu -mno-sse -mno-mmx -miamcu -Wno-psabi" } */

Double -miamcu.

Also, why Wno-psabi? We can check for the warning here, too.

Uros.

  parent reply	other threads:[~2015-07-08 11:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-08 11:41 H.J. Lu
2015-07-08 11:46 ` Uros Bizjak
2015-07-08 11:49 ` Uros Bizjak [this message]
2015-07-08 14:58   ` H.J. Lu
2015-07-08 16:10     ` Uros Bizjak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFULd4bV5ou2qQRbtAc_JA0vJv1nh51YfqP0xS2Lm8uYfeyvgg@mail.gmail.com \
    --to=ubizjak@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=hjl.tools@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).