aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>2024-07-12 13:40:19 +0200
committerStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>2024-07-12 13:40:19 +0200
commite6680d3f392f7f7cc2a1515276213e21e9eeab1c (patch)
tree706ff5d9f3e4c35ac756add056f2f8c65e4d4434 /gcc
parent6b5d263f2c90c3e22cdf576970c94bca268c5296 (diff)
downloadgcc-e6680d3f392f7f7cc2a1515276213e21e9eeab1c.zip
gcc-e6680d3f392f7f7cc2a1515276213e21e9eeab1c.tar.gz
gcc-e6680d3f392f7f7cc2a1515276213e21e9eeab1c.tar.bz2
s390: Fix output template for movv1qi
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/s390/vector.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/s390/vector.md b/gcc/config/s390/vector.md
index 40de0c7..26fd505 100644
--- a/gcc/config/s390/vector.md
+++ b/gcc/config/s390/vector.md
@@ -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