[PATCH] s390: Use 64bit branch relative on count instruction in strncpy-z900.S [BZ #34398]
Stefan Liebler
stli@linux.ibm.com
Tue Jul 14 12:40:35 GMT 2026
On 7/14/26 11:52, Andreas K. Huettel wrote:
>>> diff --git a/sysdeps/s390/strncpy-z900.S b/sysdeps/s390/strncpy-z900.S
>>> index 6d954cf402..141cba2294 100644
>>> --- a/sysdeps/s390/strncpy-z900.S
>>> +++ b/sysdeps/s390/strncpy-z900.S
>>> @@ -56,7 +56,7 @@ ENTRY(STRNCPY_Z900)
>>> jz .L10
>>> stg %r0,0(%r2,%r3) # store all eight to dest.
>>> la %r3,8(%r3)
>>> - brct %r4,.L0
>>> + brctg %r4,.L0
>>> .L1: ltgr %r1,%r1
>>> jz .Lexit
>>> .L2: icm %r0,1,0(%r3)
>>
>> Hi Andreas,
>>
>> can I just push this to master before the release?
>
> Given that
> * you're the relevant machine maintainer
> * it's a one-liner
> * and it's a clear bugfix,
> sure, go ahead.
>
> Cheers & thanks, Andreas
>
Committed.Thanks,
Stefan>>
>> Bye,
>> Stefan
>>
>
>
More information about the Libc-alpha
mailing list