diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2017-06-19 10:59:40 +0200 |
---|---|---|
committer | Stefan Liebler <stli@linux.vnet.ibm.com> | 2017-06-19 10:59:40 +0200 |
commit | 35810f5ccf735d8df0a783bc6ed5fbe455e64876 (patch) | |
tree | ac4dbf1066e2d624fe5bd52bce2c2ebda11fb951 /sysdeps/s390/s390-32 | |
parent | 52243b520e2d336431ea410ef3aa1f766642f1d2 (diff) | |
download | glibc-35810f5ccf735d8df0a783bc6ed5fbe455e64876.tar.gz glibc-35810f5ccf735d8df0a783bc6ed5fbe455e64876.tar.xz glibc-35810f5ccf735d8df0a783bc6ed5fbe455e64876.zip |
s390: optimize syscall function
Since kernel 2.6.0 all Linux version accept the system call number in register 1 for svc 0. There is no need to have special handling that uses EX for system calls < 256. This will simplify and speed up that code. A microbenchmark doing "syscall(__NR_getpid);" in a loops gets faster by ~12%. * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: Simplify code by always using SVC 0 instead of EX. * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
Diffstat (limited to 'sysdeps/s390/s390-32')
0 files changed, 0 insertions, 0 deletions