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
This commit is contained in:
Bernd Schmidt 2007-02-27 13:55:56 +00:00 committed by Bernd Schmidt
parent 2889abeda3
commit 329437dd43
2 changed files with 7 additions and 4 deletions

View 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.

View File

@ -3777,7 +3777,7 @@
(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")])
@ -3791,7 +3791,7 @@
(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")])
@ -3805,7 +3805,7 @@
(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")])
@ -3819,7 +3819,7 @@
(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")])