summaryrefslogtreecommitdiff
path: root/gcc/config/i386/predicates.md
diff options
context:
space:
mode:
authorIlya Tocar <ilya.tocar@intel.com>2014-02-26 09:31:15 +0000
committerKirill Yukhin <kyukhin@gcc.gnu.org>2014-02-26 09:31:15 +0000
commit22c8aab31d78e9374b38bb216dce029317312729 (patch)
tree7976fcf712b32183204b8bedda89406a1628020d /gcc/config/i386/predicates.md
parent260d3642789bc5299470745c064eea9daa1e258e (diff)
downloadgcc-22c8aab31d78e9374b38bb216dce029317312729.tar.gz
predicates.md (const1256_operand): Remove.
gcc/ * common/config/i386/predicates.md (const1256_operand): Remove. (const2356_operand): New. (const_1_to_2_operand): Remove. * config/i386/sse.md (avx512pf_gatherpf<mode>sf): Change hint value. (*avx512pf_gatherpf<mode>sf_mask): Ditto. (*avx512pf_gatherpf<mode>sf): Ditto. (avx512pf_gatherpf<mode>df): Ditto. (*avx512pf_gatherpf<mode>df_mask): Ditto. (*avx512pf_gatherpf<mode>df): Ditto. (avx512pf_scatterpf<mode>sf): Ditto. (*avx512pf_scatterpf<mode>sf_mask): Ditto. (*avx512pf_scatterpf<mode>sf): Ditto. (avx512pf_scatterpf<mode>df): Ditto. (*avx512pf_scatterpf<mode>df_mask): Ditto. (*avx512pf_scatterpf<mode>df): Ditto. * common/config/i386/xmmintrin.h (_mm_hint): Add _MM_HINT_ET0. gcc/testsuite/ * common/config/i386/predicates.md (const1256_operand): Remove. (const2356_operand): New. (const_1_to_2_operand): Remove. * config/i386/sse.md (avx512pf_gatherpf<mode>sf): Change hint value. (*avx512pf_gatherpf<mode>sf_mask): Ditto. (*avx512pf_gatherpf<mode>sf): Ditto. (avx512pf_gatherpf<mode>df): Ditto. (*avx512pf_gatherpf<mode>df_mask): Ditto. (*avx512pf_gatherpf<mode>df): Ditto. (avx512pf_scatterpf<mode>sf): Ditto. (*avx512pf_scatterpf<mode>sf_mask): Ditto. (*avx512pf_scatterpf<mode>sf): Ditto. (avx512pf_scatterpf<mode>df): Ditto. (*avx512pf_scatterpf<mode>df_mask): Ditto. (*avx512pf_scatterpf<mode>df): Ditto. * common/config/i386/xmmintrin.h (_mm_hint): Add _MM_HINT_ET0. From-SVN: r208169
Diffstat (limited to 'gcc/config/i386/predicates.md')
-rw-r--r--gcc/config/i386/predicates.md11
1 files changed, 3 insertions, 8 deletions
diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md
index 3f53e2d1d41..70418f43022 100644
--- a/gcc/config/i386/predicates.md
+++ b/gcc/config/i386/predicates.md
@@ -660,12 +660,12 @@
return i == 2 || i == 4 || i == 8;
})
-;; Match 1, 2, 5, or 6
-(define_predicate "const1256_operand"
+;; Match 2, 3, 5, or 6
+(define_predicate "const2356_operand"
(match_code "const_int")
{
HOST_WIDE_INT i = INTVAL (op);
- return i == 1 || i == 2 || i == 5 || i == 6;
+ return i == 2 || i == 3 || i == 5 || i == 6;
})
;; Match 1, 2, 4, or 8
@@ -754,11 +754,6 @@
return val <= 255*8 && val % 8 == 0;
})
-;; Match 1 to 2.
-(define_predicate "const_1_to_2_operand"
- (and (match_code "const_int")
- (match_test "IN_RANGE (INTVAL (op), 1, 2)")))
-
;; Return true if OP is CONST_INT >= 1 and <= 31 (a valid operand
;; for shift & compare patterns, as shifting by 0 does not change flags).
(define_predicate "const_1_to_31_operand"