Skip to content
Snippets Groups Projects

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.

  1. signal processing engine :leftwards_arrow_with_hook:

  2. applies to e500v1 as well :leftwards_arrow_with_hook:

  3. general purpose registers :leftwards_arrow_with_hook:

  4. https://www.nxp.com/docs/en/reference-manual/SPEPEM.pdf :leftwards_arrow_with_hook:

Edited by Simon Borek

Merge request reports

Pipeline #102469 passed

Pipeline passed for b2d7510e on feature/mpc85xx-hardware-SPE-float-support_HBD_kernel-5.10

Checking approval status

Merged by Simon BorekSimon Borek 2 years ago (Jul 27, 2022 2:37pm UTC)

Loading

Pipeline #102470 passed

Pipeline passed for b2d7510e on hbd

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply