[mips] set hardfloat for fpu instruction generation for gcc/binutils 5.x

This allows -HEAD to be compiled again using the gcc-5 mips port compiler.

Reviewed by:	imp
Approved by:	re@
This commit is contained in:
Adrian Chadd 2016-06-13 03:17:00 +00:00
parent f357b4f65d
commit ff4ef6bf5e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301849

View File

@ -400,6 +400,7 @@ END(cpu_switch)
*
*----------------------------------------------------------------------------
*/
.set hardfloat
LEAF(MipsSwitchFPState)
mfc0 t1, MIPS_COP_0_STATUS # Save old SR
li t0, MIPS_SR_COP_1_BIT # enable the coprocessor