Skip to content

Commit

Permalink
s390: Fix output template for movv1qi
Browse files Browse the repository at this point in the history
Although for instructions MVI and MVIY it does not make a difference
whether the immediate is interpreted as signed or unsigned, GAS expects
unsigned immediates for instruction format SI_URD.

gcc/ChangeLog:

	* config/s390/vector.md (mov<mode>): Fix output template for
	movv1qi.
  • Loading branch information
Stefan Schulze Frielinghaus committed Jul 12, 2024
1 parent 6b5d263 commit e6680d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gcc/config/s390/vector.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,8 @@
lr\t%0,%1
mvi\t%0,0
mviy\t%0,0
mvi\t%0,-1
mviy\t%0,-1
mvi\t%0,255
mviy\t%0,255
lhi\t%0,0
lhi\t%0,-1
llc\t%0,%1
Expand Down

0 comments on commit e6680d3

Please sign in to comment.