re PR target/31019 (Microoptimization of the i386 and x86_64 compilers)
authorUros Bizjak <ubizjak@gmail.com>
Fri, 2 Mar 2007 12:26:55 +0000 (13:26 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 2 Mar 2007 12:26:55 +0000 (13:26 +0100)
commit8691cea39683c5cf2494679ec0a6496055d70733
tree3c988aa71b3a64e4cfc533f07ae0042a388c6c6d
parent4e2238672f5baf99c32eebc33ed85040a0e9ca98
re PR target/31019 (Microoptimization of the i386 and x86_64 compilers)

PR target/31019
* config/i386/i386.h (TUNEMASK): Redefine to use ix86_tune_mask.
(ARCHMASK): Define.
(TARGET_CMOVE): Use ARCHMASK.
(TARGET_CMPXCHG): Ditto.
(TARGET_CMPXCHG8B): Ditto.
(TARGET_XADD): Ditto.
(TARGET_BSWAP): Ditto.
* config/i386/i386.c (ix86_tune_mask): New global variable.
(ix86_arch_mask): Ditto.
(override_options): Initialize ix86_tune_mask and
ix86_arch_mask. Use ARCHMASK to clear MASK_NO_FANCY_MATH_387 in
target_flags.

Co-Authored-By: Michael Meissner <michael.meissner@amd.com>
From-SVN: r122473
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.h