i386.h (TARGET_AVOID_4BYTE_PREFIXES): Define.
authorJakub Jelinek <jakub@redhat.com>
Tue, 24 May 2016 19:12:42 +0000 (21:12 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 24 May 2016 19:12:42 +0000 (21:12 +0200)
* config/i386/i386.h (TARGET_AVOID_4BYTE_PREFIXES): Define.
* config/i386/constraints.md (Yr): Test TARGET_AVOID_4BYTE_PREFIXES
rather than X86_TUNE_AVOID_4BYTE_PREFIXES.

From-SVN: r236662

gcc/ChangeLog
gcc/config/i386/constraints.md
gcc/config/i386/i386.h

index 90b14cb26681e998e2e8b1327bb68f36dbda0c44..8c61f1d153921ec2b75fcb2df0979d812b224f71 100644 (file)
@@ -1,5 +1,9 @@
 2016-05-24  Jakub Jelinek  <jakub@redhat.com>
 
+       * config/i386/i386.h (TARGET_AVOID_4BYTE_PREFIXES): Define.
+       * config/i386/constraints.md (Yr): Test TARGET_AVOID_4BYTE_PREFIXES
+       rather than X86_TUNE_AVOID_4BYTE_PREFIXES.
+
        * config/i386/sse.md (<sse4_1>_round<ssemodesuffix><avxsizesuffix>):
        Limit 1st alternative to noavx isa, split 2nd alternative into one
        noavx and one avx alternative, use *x and Bm in the former and
index 44f2d33fc423ce0dfb94d9b058e7cfd16d1985ca..a2466a965fb3e4d8ed86c83fb89b3004bdbf0441 100644 (file)
  "@internal Any x87 register when 80387 FP arithmetic is enabled.")
 
 (define_register_constraint "Yr"
- "TARGET_SSE ? (X86_TUNE_AVOID_4BYTE_PREFIXES ? NO_REX_SSE_REGS : ALL_SSE_REGS) : NO_REGS"
+ "TARGET_SSE ? (TARGET_AVOID_4BYTE_PREFIXES ? NO_REX_SSE_REGS : ALL_SSE_REGS) : NO_REGS"
  "@internal Lower SSE register when avoiding REX prefix and all SSE registers otherwise.")
 
 (define_register_constraint "Yv"
index 92823ace2a1e73daf87e0507e2145523e9d2e686..47427f514c1f52fba1c1130b717d64e6ac1884d4 100644 (file)
@@ -465,6 +465,8 @@ extern unsigned char ix86_tune_features[X86_TUNE_LAST];
        ix86_tune_features[X86_TUNE_SLOW_PSHUFB]
 #define TARGET_VECTOR_PARALLEL_EXECUTION \
        ix86_tune_features[X86_TUNE_VECTOR_PARALLEL_EXECUTION]
+#define TARGET_AVOID_4BYTE_PREFIXES \
+       ix86_tune_features[X86_TUNE_AVOID_4BYTE_PREFIXES]
 #define TARGET_FUSE_CMP_AND_BRANCH_32 \
        ix86_tune_features[X86_TUNE_FUSE_CMP_AND_BRANCH_32]
 #define TARGET_FUSE_CMP_AND_BRANCH_64 \