Enable hardfloat CPU instructions in the FP exception handler.
This permits compiling with clang's integrated assembler. Sponsored by: DARPA / AFRL
This commit is contained in:
parent
7fb518469e
commit
3c0e63a4c4
@ -1102,6 +1102,8 @@ END(MipsTLBMissException)
|
||||
*----------------------------------------------------------------------------
|
||||
*/
|
||||
NESTED(MipsFPTrap, CALLFRAME_SIZ, ra)
|
||||
.set push
|
||||
.set hardfloat
|
||||
PTR_SUBU sp, sp, CALLFRAME_SIZ
|
||||
mfc0 t0, MIPS_COP_0_STATUS
|
||||
HAZARD_DELAY
|
||||
@ -1201,6 +1203,7 @@ FPReturn:
|
||||
ITLBNOPFIX
|
||||
j ra
|
||||
PTR_ADDU sp, sp, CALLFRAME_SIZ
|
||||
.set pop
|
||||
END(MipsFPTrap)
|
||||
|
||||
#ifndef INTRNG
|
||||
|
Loading…
Reference in New Issue
Block a user