[Bug target/65849] Add missing tuning knobs to #pragma target/attribute target support

meissner at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 24 23:49:00 GMT 2015


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

--- Comment #4 from Michael Meissner <meissner at gcc dot gnu.org> ---
Author: meissner
Date: Fri Apr 24 23:48:54 2015
New Revision: 222434

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

    Backport from mainline
    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.


Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/config/rs6000/rs6000.c
    branches/gcc-4_8-branch/gcc/config/rs6000/rs6000.opt



More information about the Gcc-bugs mailing list