Closed
Description
The GOMIPS_softfloat and GOMIPS64_softfloat defines can be used to conditionally compile floating-point context save/restore. It would be nice if assembler would error out when trying to use FP registers when targeting softfloat. Currently we silently end up with floating-point instructions in softfloat binaries.
go/src/runtime/preempt_mips64x.s
Lines 40 to 45 in cd9fd64
go/src/runtime/preempt_mipsx.s
Lines 40 to 45 in cd9fd64