public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "H.J. Lu" <hjl.tools@gmail.com>
To: Xinliang David Li <davidxl@google.com>
Cc: Andi Kleen <andi@firstfloor.org>, GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: define MMX/SSE intrinsics without requiring cmdline isa flags
Date: Thu, 19 Aug 2010 16:08:00 -0000	[thread overview]
Message-ID: <AANLkTikqBKFe0WhjT-e73LSKhDwCw3dwpXx-Fb17jqmk@mail.gmail.com> (raw)
In-Reply-To: <AANLkTim9LvcTx5Vg7GR6fbxe2XZ1u--fDSd2KdY2ujWa@mail.gmail.com>

On Thu, Aug 19, 2010 at 8:42 AM, Xinliang David Li <davidxl@google.com> wrote:
> Good to know that I am not alone.
>
> I need comments on the patch I proposed -- what are the potential
> problems (other than slight increase in memory consumption which has
> no impact on compile time)?
>

The whole target attribute is very fragile:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37565

There is another issue with intrinsics:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39840

I don't think we should add more kludges to the current
scheme. I suggest you open a bug with your concern. We
should take a look at all related issues to address them
properly. I hope the driver changes Joseph is making can
help this.

-- 
H.J.

  reply	other threads:[~2010-08-19 16:03 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-19  0:22 Xinliang David Li
2010-08-19 14:04 ` Andi Kleen
2010-08-19 15:49   ` Xinliang David Li
2010-08-19 16:08     ` H.J. Lu [this message]
2010-08-19 16:33       ` Andi Kleen
2010-08-19 17:58       ` Xinliang David Li
2010-08-19 18:16         ` H.J. Lu
2010-08-19 18:52           ` Richard Henderson
2010-08-19 18:59             ` Xinliang David Li
2010-08-19 19:41               ` Richard Henderson
2010-08-22  9:46                 ` Xinliang David Li
2010-08-22  9:55           ` Xinliang David Li
2010-08-19 18:21         ` Daniel Jacobowitz
2010-08-19 19:33           ` Xinliang David Li
2010-08-19 22:00 ` Michael Meissner
2010-08-19 22:02   ` Joseph S. Myers
2010-08-19 22:14     ` Michael Meissner
2010-08-22  9:50   ` Xinliang David Li

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=AANLkTikqBKFe0WhjT-e73LSKhDwCw3dwpXx-Fb17jqmk@mail.gmail.com \
    --to=hjl.tools@gmail.com \
    --cc=andi@firstfloor.org \
    --cc=davidxl@google.com \
    --cc=gcc-patches@gcc.gnu.org \
    /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).