patches/openwrt: mpc85xx: support and use SPE float instructions
This is needed for Turris 1.x uboot compilation that is failing if soft float ABI is used.
The usage of SPE1 ISA extension allows CPUs with PowerPC e500v2 cores (used in Turris 1.x routers) to perform native operations on single2 and double precision floats stored in GPRs3 as well as vector operations using the whole 64-bit size of CPU registers (whose upper 32 bits are inaccessible otherwise).4
In the current state it's possible router will crash just after performing the update to this branch unable to reboot itself properly (without manual power disconnection) - needs fix before merge to HBL.
Merge request reports
Activity
changed milestone to %Turris OS 6.0
added Turris 1.x label
requested review from @jschlehofer
assigned to @jschlehofer
This branch is just being built in burstlab. Was working before rebasing/squashing (reForis wasn't tested, because it's broken on Turris 1.x in current HBD, edit: but was functional with similar changes on top of HBL )
Edited by Simon Borekassigned to @prohar and unassigned @jschlehofer
changed milestone to %Turris OS 7.0
assigned to @jschlehofer and unassigned @prohar
added 1 commit
- 15104d80 - fixup! patches/openwrt: mpc85xx: support and use SPE float instructions
Since this works, I don't have anything to merge this! Well, to be honest, I do, but those are just nitpicking, which could be an improvement over the time. Most likely inconsistent commit messages (somewhere used brackets, somewhere parentheses), but this should not block this PR from being merged. You are merging this to HBD, so let's do it. The branch is meant for development.
Overall, good job!
Edited by Josef Schlehoferassigned to @sborek and unassigned @jschlehofer
added 17 commits
-
15104d80...69062527 - 9 commits from branch
hbd
- d293b557 - patches/openwrt: mpc85xx: support and use SPE float instructions
- 80f1c595 - patches/openwrt: gcc: force version 8 by default if CONFIG_GCC_POWERPC_SPE=y
- d38d03d3 - configs/turris1x: enable CONFIG_GCC_POWERPC_SPE for Turris 1.x - quick&dirty workaround
- 955490a7 - configs/turris1x: drop CONFIG_SOFT_FLOAT
- 97113c34 - patches/packages: python3: fix crosscompilation for mpc8548 musl
- 9f400ab8 - patches/openwrt: gcc 8.4.0: ppc: expect -sf ld suffix even with spe enabled
- 39f749e9 - patches/openwrt: gcc 8.4.0: enable_secureplt=yes for powerpc*-*-linux*-musl*spe*
- b2d7510e - patches/packages: luajit: enable soft float for PPC even with SPE enabled
Toggle commit list-
15104d80...69062527 - 9 commits from branch