From 502e6d5a4700a303275118d46b70733d9e47a6e8 Mon Sep 17 00:00:00 2001 From: "J\"orn Rennecke" Date: Wed, 4 Sep 2002 10:24:14 +0000 Subject: [PATCH] * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract. From-SVN: r56793 --- gcc/ChangeLog | 4 ++++ gcc/config/sh/sh.md | 23 ++++++++++++----------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 81db01b1e23..6ada84eb86b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Wed Sep 4 11:22:14 2002 J"orn Rennecke + + * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract. + 2002-09-03 David Edelsohn * 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 88b2dc89a9e..f0408efd2aa 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")])