mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue