* sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.

From-SVN: r56793
This commit is contained in:
J"orn Rennecke 2002-09-04 10:24:14 +00:00 committed by Joern Rennecke
parent f979c1993f
commit 502e6d5a47
2 changed files with 16 additions and 11 deletions

View File

@ -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

View File

@ -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")])