mirror of
https://github.com/DaedalusX64/daedalus.git
synced 2025-04-02 10:21:48 -04:00
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@3 42e9bfbe-799a-4a2d-bad1-236e862a387a
13 lines
265 B
ArmAsm
13 lines
265 B
ArmAsm
|
|
.global _DisableFPUExceptions
|
|
|
|
.set push
|
|
.set noreorder
|
|
_DisableFPUExceptions:
|
|
cfc1 $2, $31
|
|
lui $8, 0x80
|
|
and $8, $2, $8 # Mask off all bits except for 23 of FCR
|
|
ctc1 $8, $31
|
|
jr $31
|
|
nop
|
|
.set pop
|