mirror of git://sourceware.org/git/glibc.git
* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend
with a single instruction.
This commit is contained in:
parent
3d06657c53
commit
a8a1e840a1
|
@ -26,8 +26,7 @@
|
||||||
.text
|
.text
|
||||||
ENTRY (__ioctl)
|
ENTRY (__ioctl)
|
||||||
li v0, __NR_ioctl
|
li v0, __NR_ioctl
|
||||||
dsll a1,a1,32
|
sll a1,a1,0
|
||||||
dsra a1,a1,32
|
|
||||||
syscall /* Do the system call. */
|
syscall /* Do the system call. */
|
||||||
bne a3, zero, L(error)
|
bne a3, zero, L(error)
|
||||||
ret
|
ret
|
||||||
|
|
Loading…
Reference in New Issue