From e6680d3f392f7f7cc2a1515276213e21e9eeab1c Mon Sep 17 00:00:00 2001 From: Stefan Schulze Frielinghaus Date: Fri, 12 Jul 2024 13:40:19 +0200 Subject: [PATCH] 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): Fix output template for movv1qi. --- gcc/config/s390/vector.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/s390/vector.md b/gcc/config/s390/vector.md index 40de0c75a7cf3..26fd505f2cd99 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