|
|
runtime: SIGILL based floating point emulation *PREVIEW*
WIP code. The implementation details are quick-n-dirty.
Requires CL 5987063 and CL 5969064 on ARMv5 (don't set GOARM=5).
ChangeLog:
PS3: fixed math.sqrtC reentry problem, now math.Sqrt works.
PS4: fixed wrong stack frame for stepflt(), I hope everything is ok now.
PS5: minor code cleanup, added some comments, and removed _isflt().
still can't pass pkg math and math/rand tests (endless loop).
TODO:
1. fix special cases in sqrt() in softfloat64.go, also need to clean up the
code a little, should we consider move the math.sqrt to here?
2. rename stepflt (in runtime.h, softfloat_arm.c).
|