]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
bfin.md (ssashiftv2hi3, [...]): Fix output template to use half reg for operand 2.
authorBernd Schmidt <bernd.schmidt@analog.com>
Tue, 27 Feb 2007 13:55:56 +0000 (13:55 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Tue, 27 Feb 2007 13:55:56 +0000 (13:55 +0000)
* config/bfin/bfin.md (ssashiftv2hi3, ssashifthi3, lshiftv2hi3,
lshifthi3): Fix output template to use half reg for operand 2.

From-SVN: r122374

gcc/ChangeLog
gcc/config/bfin/bfin.md

index f6b8edb5efac1ffcc28b82be0821fe11b0a25c2f..91852b9f225fe40a26fa22a2f7f063dbf493e8e7 100644 (file)
@@ -40,6 +40,9 @@
        usmulhisi_hl_huh, usmulhisi_hh_lul, usmulhisi_hh_luh, usmulhisi_hh_hul,
        usmulhisi_hh_huh): New patterns.
 
+       * config/bfin/bfin.md (ssashiftv2hi3, ssashifthi3, lshiftv2hi3,
+       lshifthi3): Fix output template to use half reg for operand 2.
+
 2007-02-27  Andreas Schwab  <schwab@suse.de>
 
        * Makefile.in (TEXI_GCCINSTALL_FILES): Add gcc-common.texi.
index 7bdde27fafb503588f1957f6b3724014fb46c7c0..6786902fac5d5d53f1d7bf1716d90e4452f3dd6d 100644 (file)
         (ss_ashift:V2HI (match_dup 1) (match_dup 2))))]
   ""
   "@
-   %0 = ASHIFT %1 BY %2 (V, S)%!
+   %0 = ASHIFT %1 BY %h2 (V, S)%!
    %0 = %1 << %2 (V,S)%!
    %0 = %1 >>> %N2 (V,S)%!"
   [(set_attr "type" "dsp32")])
         (ss_ashift:HI (match_dup 1) (match_dup 2))))]
   ""
   "@
-   %0 = ASHIFT %1 BY %2 (V, S)%!
+   %0 = ASHIFT %1 BY %h2 (V, S)%!
    %0 = %1 << %2 (V,S)%!
    %0 = %1 >>> %N2 (V,S)%!"
   [(set_attr "type" "dsp32")])
         (ashift:V2HI (match_dup 1) (match_dup 2))))]
   ""
   "@
-   %0 = LSHIFT %1 BY %2 (V)%!
+   %0 = LSHIFT %1 BY %h2 (V)%!
    %0 = %1 << %2 (V)%!
    %0 = %1 >> %N2 (V)%!"
   [(set_attr "type" "dsp32")])
         (ashift:HI (match_dup 1) (match_dup 2))))]
   ""
   "@
-   %0 = LSHIFT %1 BY %2 (V)%!
+   %0 = LSHIFT %1 BY %h2 (V)%!
    %0 = %1 << %2 (V)%!
    %0 = %1 >> %N2 (V)%!"
   [(set_attr "type" "dsp32")])