diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-25 21:30:26 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-25 21:30:26 +0000 |
commit | 0ace5a415236a1d602e1803665c352dff8d2653b (patch) | |
tree | f684d8fe3250df0a5c4631ae3ce100729405dd57 /gcc/config | |
parent | 0da2935d1ff76e86d5ffd2421ace42456e4cfc45 (diff) | |
download | gcc-0ace5a415236a1d602e1803665c352dff8d2653b.tar.gz |
i386: Delete the vec_extract_even/odd patterns.
These can be generated by vec_perm_const now. We could keep the
patterns around, as technically it may be less work, but this
exercises a code path needed by less primary platforms.
* config/i386/sse.md (VEC_EXTRACT_EVENODD_MODE): Remove.
(vec_extract_even<mode>, vec_extract_odd<mode>): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180453 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/i386/sse.md | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index ee3af035e02..31c40d36584 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -4395,35 +4395,6 @@ DONE; }) -;; Modes handled by vec_extract_even/odd pattern. -(define_mode_iterator VEC_EXTRACT_EVENODD_MODE - [(V32QI "TARGET_AVX2") (V16QI "TARGET_SSE2") - (V16HI "TARGET_AVX2") (V8HI "TARGET_SSE2") - (V8SI "TARGET_AVX2") (V4SI "TARGET_SSE2") - (V4DI "TARGET_AVX2") (V2DI "TARGET_SSE2") - (V8SF "TARGET_AVX") V4SF - (V4DF "TARGET_AVX") (V2DF "TARGET_SSE2")]) - -(define_expand "vec_extract_even<mode>" - [(match_operand:VEC_EXTRACT_EVENODD_MODE 0 "register_operand" "") - (match_operand:VEC_EXTRACT_EVENODD_MODE 1 "register_operand" "") - (match_operand:VEC_EXTRACT_EVENODD_MODE 2 "register_operand" "")] - "TARGET_SSE" -{ - ix86_expand_vec_extract_even_odd (operands[0], operands[1], operands[2], 0); - DONE; -}) - -(define_expand "vec_extract_odd<mode>" - [(match_operand:VEC_EXTRACT_EVENODD_MODE 0 "register_operand" "") - (match_operand:VEC_EXTRACT_EVENODD_MODE 1 "register_operand" "") - (match_operand:VEC_EXTRACT_EVENODD_MODE 2 "register_operand" "")] - "TARGET_SSE" -{ - ix86_expand_vec_extract_even_odd (operands[0], operands[1], operands[2], 1); - DONE; -}) - ;; punpcklqdq and punpckhqdq are shorter than shufpd. (define_insn "avx2_interleave_highv4di" [(set (match_operand:V4DI 0 "register_operand" "=x") |