Skip to content

Commit

Permalink
Note Integer MVE hard-float use-case in arm platform docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
thejpster committed Oct 11, 2024
1 parent b52941d commit 5cc1c7b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/doc/rustc/src/platform-support/thumbv8m.main-none-eabi.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ to use these flags.
| Cortex-M85 | DP | Yes | Int | `cortex-m85` | `-mve.fp` |
| Cortex-M85 | DP | Yes | Int+Float | `cortex-m85` | None |

*Technically* you can use this hard-float ABI on a CPU which has no FPU but does
have Integer MVE, because MVE provides the same set of registers as the FPU
(including `s0` and `d0`). The particular set of flags that might enable this
unusual scenario are currently not recorded here.

<div class="warning">

Never use the `-fpregs` *target-feature* with the `thumbv8m.main-none-eabihf`
Expand Down

0 comments on commit 5cc1c7b

Please sign in to comment.