diff --git a/ChangeLog b/ChangeLog index d2b34a8478..1bacd7172e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-05-24 Stefan Liebler + + * sysdeps/s390/s390-64/memcpy.S (memcpy): + Use cghi instead of chi to compare 64bit value. + 2016-05-24 Stefan Liebler * sysdeps/s390/s390-32/memcpy.S (memcpy): diff --git a/sysdeps/s390/s390-64/memcpy.S b/sysdeps/s390/s390-64/memcpy.S index e84a3572cb..9d60a14ccc 100644 --- a/sysdeps/s390/s390-64/memcpy.S +++ b/sysdeps/s390/s390-64/memcpy.S @@ -47,7 +47,7 @@ ENTRY(memcpy) .L_Z900_4: br %r14 .L_Z900_13: - chi %r5,4096 # Switch to mvcle for copies >1MB + cghi %r5,4096 # Switch to mvcle for copies >1MB jh __memcpy_mvcle .L_Z900_12: mvc 0(256,%r1),0(%r3)