Initial import
This commit is contained in:
9
libc/math/fegetround.S
Normal file
9
libc/math/fegetround.S
Normal file
@ -0,0 +1,9 @@
|
||||
.global fegetround
|
||||
.type fegetround,@function
|
||||
fegetround:
|
||||
push %rax
|
||||
stmxcsr (%rsp)
|
||||
pop %rax
|
||||
shr $3,%eax
|
||||
and $0xc00,%eax
|
||||
ret
|
||||
Reference in New Issue
Block a user