* 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
|
||||
ENTRY (__ioctl)
|
||||
li v0, __NR_ioctl
|
||||
dsll a1,a1,32
|
||||
dsra a1,a1,32
|
||||
sll a1,a1,0
|
||||
syscall /* Do the system call. */
|
||||
bne a3, zero, L(error)
|
||||
ret
|
||||
|
Loading…
x
Reference in New Issue
Block a user