disablefpu.s
来自「psp开发用的所有头文件。包含所有系统API。需要psp-gcc编译器。在www」· S 代码 · 共 23 行
S
23 行
/*
#
# This disables FPU exceptions
#
# extern void _DisableFPUExceptions(void);
*/
#include <as_reg_compat.h>
.set push
.set noreorder
.globl _DisableFPUExceptions
.ent _DisableFPUExceptions
_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
.end _DisableFPUExceptions
.set pop
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?