Skip to content

Commit 5cc1c7b

Browse files
committed
Note Integer MVE hard-float use-case in arm platform docs.
1 parent b52941d commit 5cc1c7b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/doc/rustc/src/platform-support/thumbv8m.main-none-eabi.md

+5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ to use these flags.
7474
| Cortex-M85 | DP | Yes | Int | `cortex-m85` | `-mve.fp` |
7575
| Cortex-M85 | DP | Yes | Int+Float | `cortex-m85` | None |
7676

77+
*Technically* you can use this hard-float ABI on a CPU which has no FPU but does
78+
have Integer MVE, because MVE provides the same set of registers as the FPU
79+
(including `s0` and `d0`). The particular set of flags that might enable this
80+
unusual scenario are currently not recorded here.
81+
7782
<div class="warning">
7883

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

0 commit comments

Comments
 (0)