public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "meissner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65849] Add missing tuning knobs to #pragma target/attribute target support
Date: Fri, 24 Apr 2015 17:24:00 -0000	[thread overview]
Message-ID: <bug-65849-4-vt2huzBr2q@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-65849-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65849

--- Comment #1 from Michael Meissner <meissner at gcc dot gnu.org> ---
Author: meissner
Date: Fri Apr 24 17:24:05 2015
New Revision: 222417

URL: https://gcc.gnu.org/viewcvs?rev=222417&root=gcc&view=rev
Log:
[gcc]
2015-04-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

    PR target/65849
    * config/rs6000/rs6000.opt (-mvsx-align-128): Make options that
    save to independent variables use the Save attribute.  This will
    allow these options to be modified with the #pragma/attribute
    target support.
    (-mallow-movmisalign): Likewise.
    (-mallow-df-permute): Likewise.
    (-msched-groups): Likewise.
    (-malways-hint): Likewise.
    (-malign-branch-targets): Likewise.
    (-mvectorize-builtins): Likewise.
    (-msave-toc-indirect): Likewise.

    * config/rs6000/rs6000.c (rs6000_opt_masks): Add more options that
    can be set via the #pragma/attribute target support.
    (rs6000_opt_vars): Likewise.
    (rs6000_inner_target_options): If VSX was set, also set
    -mno-avoid-indexed-addresses.

[gcc/testsuite]
2015-04-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

    PR target/65849
    * gcc.target/powerpc/pr65849-1.c: New test to verify being able to
    set new options.
    * gcc.target/powerpc/pr65849-2.c: Likewise.


Added:
    trunk/gcc/testsuite/gcc.target/powerpc/pr65849-1.c
    trunk/gcc/testsuite/gcc.target/powerpc/pr65849-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.c
    trunk/gcc/config/rs6000/rs6000.opt
    trunk/gcc/testsuite/ChangeLog


  parent reply	other threads:[~2015-04-24 17:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-22 17:27 [Bug target/65849] New: " meissner at gcc dot gnu.org
2015-04-22 17:30 ` [Bug target/65849] " meissner at gcc dot gnu.org
2015-04-24 17:24 ` meissner at gcc dot gnu.org [this message]
2015-04-24 20:03 ` meissner at gcc dot gnu.org
2015-04-24 23:45 ` meissner at gcc dot gnu.org
2015-04-24 23:49 ` meissner at gcc dot gnu.org

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=bug-65849-4-vt2huzBr2q@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).