diff options
author | J"orn Rennecke <joern.rennecke@superh.com> | 2002-09-04 10:24:14 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2002-09-04 11:24:14 +0100 |
commit | 502e6d5a4700a303275118d46b70733d9e47a6e8 (patch) | |
tree | d180dc5d82636b3027a9170a4a68f3c8576ad746 | |
parent | f979c1993f53424a332aae10e0c1425d0faf3d7e (diff) | |
download | gcc-502e6d5a4700a303275118d46b70733d9e47a6e8.zip gcc-502e6d5a4700a303275118d46b70733d9e47a6e8.tar.gz gcc-502e6d5a4700a303275118d46b70733d9e47a6e8.tar.bz2 |
* sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
From-SVN: r56793
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/sh/sh.md | 23 |
2 files changed, 16 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 81db01b..6ada84e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Wed Sep 4 11:22:14 2002 J"orn Rennecke <joern.rennecke@superh.com> + + * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract. + 2002-09-03 David Edelsohn <edelsohn@gnu.org> * varasm.c (default_section_type_flags): Append _1 to name with diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 88b2dc8..f0408ef 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -9737,11 +9737,11 @@ (vec_select:V4HI (match_operand:V4HI 1 "arith_reg_operand" "r") (parallel - [(zero_extract (match_operand:QI 2 "extend_reg_or_0_operand" "rU") - (const_int 2) (const_int 0)) - (zero_extract (match_dup 2) (const_int 2) (const_int 2)) - (zero_extract (match_dup 2) (const_int 2) (const_int 4)) - (zero_extract (match_dup 2) (const_int 2) (const_int 6))])))] + [(zero_extract:QI (match_operand:QI 2 "extend_reg_or_0_operand" "rU") + (const_int 2) (const_int 0)) + (zero_extract:QI (match_dup 2) (const_int 2) (const_int 2)) + (zero_extract:QI (match_dup 2) (const_int 2) (const_int 4)) + (zero_extract:QI (match_dup 2) (const_int 2) (const_int 6))])))] "TARGET_SHMEDIA && TARGET_LITTLE_ENDIAN" "mperm.w %1, %N2, %0" [(set_attr "type" "arith_media")]) @@ -9751,12 +9751,13 @@ (vec_select:V4HI (match_operand:V4HI 1 "arith_reg_operand" "r") (parallel - [(zero_extract (not:QI (match_operand:QI 2 - "extend_reg_or_0_operand" "rU")) - (const_int 2) (const_int 0)) - (zero_extract (not:QI (match_dup 2)) (const_int 2) (const_int 2)) - (zero_extract (not:QI (match_dup 2)) (const_int 2) (const_int 4)) - (zero_extract (not:QI (match_dup 2)) (const_int 2) (const_int 6))])))] + [(zero_extract:QI (not:QI (match_operand:QI 2 + "extend_reg_or_0_operand" "rU")) + (const_int 2) (const_int 0)) + (zero_extract:QI (not:QI (match_dup 2)) (const_int 2) (const_int 2)) + (zero_extract:QI (not:QI (match_dup 2)) (const_int 2) (const_int 4)) + (zero_extract:QI (not:QI (match_dup 2)) + (const_int 2) (const_int 6))])))] "TARGET_SHMEDIA && ! TARGET_LITTLE_ENDIAN" "mperm.w %1, %N2, %0" [(set_attr "type" "arith_media")]) |