* sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S: Sign-extend

with a single instruction.
This commit is contained in:
Alexandre Oliva 2003-03-20 07:54:56 +00:00
parent 3d06657c53
commit a8a1e840a1
1 changed files with 1 additions and 2 deletions

View File

@ -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