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:
John Baldwin 2017-08-21 21:48:24 +00:00
parent 7fb518469e
commit 3c0e63a4c4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=322772

View File

@ -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