Commit 329437dd by Bernd Schmidt Committed by Bernd Schmidt

bfin.md (ssashiftv2hi3, [...]): Fix output template to use half reg for operand 2.

	* config/bfin/bfin.md (ssashiftv2hi3, ssashifthi3, lshiftv2hi3,
	lshifthi3): Fix output template to use half reg for operand 2.

From-SVN: r122374
parent 2889abed
...@@ -40,6 +40,9 @@ ...@@ -40,6 +40,9 @@
usmulhisi_hl_huh, usmulhisi_hh_lul, usmulhisi_hh_luh, usmulhisi_hh_hul, usmulhisi_hl_huh, usmulhisi_hh_lul, usmulhisi_hh_luh, usmulhisi_hh_hul,
usmulhisi_hh_huh): New patterns. 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> 2007-02-27 Andreas Schwab <schwab@suse.de>
* Makefile.in (TEXI_GCCINSTALL_FILES): Add gcc-common.texi. * Makefile.in (TEXI_GCCINSTALL_FILES): Add gcc-common.texi.
......
...@@ -3777,7 +3777,7 @@ ...@@ -3777,7 +3777,7 @@
(ss_ashift:V2HI (match_dup 1) (match_dup 2))))] (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 << %2 (V,S)%!
%0 = %1 >>> %N2 (V,S)%!" %0 = %1 >>> %N2 (V,S)%!"
[(set_attr "type" "dsp32")]) [(set_attr "type" "dsp32")])
...@@ -3791,7 +3791,7 @@ ...@@ -3791,7 +3791,7 @@
(ss_ashift:HI (match_dup 1) (match_dup 2))))] (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 << %2 (V,S)%!
%0 = %1 >>> %N2 (V,S)%!" %0 = %1 >>> %N2 (V,S)%!"
[(set_attr "type" "dsp32")]) [(set_attr "type" "dsp32")])
...@@ -3805,7 +3805,7 @@ ...@@ -3805,7 +3805,7 @@
(ashift:V2HI (match_dup 1) (match_dup 2))))] (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 << %2 (V)%!
%0 = %1 >> %N2 (V)%!" %0 = %1 >> %N2 (V)%!"
[(set_attr "type" "dsp32")]) [(set_attr "type" "dsp32")])
...@@ -3819,7 +3819,7 @@ ...@@ -3819,7 +3819,7 @@
(ashift:HI (match_dup 1) (match_dup 2))))] (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 << %2 (V)%!
%0 = %1 >> %N2 (V)%!" %0 = %1 >> %N2 (V)%!"
[(set_attr "type" "dsp32")]) [(set_attr "type" "dsp32")])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment