10 lines
130 B
ArmAsm
10 lines
130 B
ArmAsm
|
|
.global fegetround
|
||
|
|
.type fegetround,@function
|
||
|
|
fegetround:
|
||
|
|
push %rax
|
||
|
|
stmxcsr (%rsp)
|
||
|
|
pop %rax
|
||
|
|
shr $3,%eax
|
||
|
|
and $0xc00,%eax
|
||
|
|
ret
|