Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1390 - Please default enable Kernel -> MIPS FPU Emulator option on the devices without FPU #6375

Closed
openwrt-bot opened this issue Feb 26, 2018 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

CCAV:

On some old devices such as Mercury MW4530R v1, it's CPU is AR9344.
There is no FPU in this cpu.
So the official firmware can not run golang programs.
Please default enbale Kernel -> MIPS FPU Emulator option when building official firmwares.
This helps the people who have no ability to build a custom firmware.

@openwrt-bot
Copy link
Author

yousong:

Hi, Damn, very likely this will not be enabled by default in the near future until 4MB flash device are finally faded out. However, in recent release of go1.10, there is now already softfloat support for mips32 arch. Please give it a try and see if it works your situation.

To quote go1.0 release notice here (https://golang.org/doc/go1.10)

On 32-bit MIPS systems, the new environment variable settings GOMIPS=hardfloat (the default) and GOMIPS=softfloat select whether to use hardware instructions or software emulation for floating-point computations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant