Skip to content

Commit 19d1be5

Browse files
committed
Ensure armv7r-none-eabi.md mentions all four targets
1 parent 0a2bb4b commit 19d1be5

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

src/doc/rustc/src/platform-support/armv7r-none-eabi.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
# `armv7r-none-eabi` and `armv7r-none-eabihf`
1+
# `armv7r-none-eabi*` and `thumbv7r-none-eabi*`
22

3-
* **Tier: 2** (`armv7r-none-eabi`)
4-
* **Tier: 3** (`thumbv7r-none-eabi`)
3+
* **Tier: 2** (`armv7r-none-eabi` and `armv7r-none-eabihf`)
4+
* **Tier: 3** (`thumbv7r-none-eabi` and `thumbv7r-none-eabihf`)
55
* **Library Support:** core and alloc (bare-metal, `#![no_std]`)
66

77
Bare-metal target for CPUs in the Armv7-R architecture family, supporting dual
8-
ARM/Thumb mode. The `armv7r-none-eabi` target uses Arm mode by default and
9-
the `thumbv7r-none-eabihf` target uses Thumb mode by default.
8+
ARM/Thumb mode. The `armv7r-none-eabi*` targets use Arm mode by default and the
9+
`thumbv7r-none-eabi*` targets use Thumb mode by default. The `-eabi` targets use
10+
a soft-float ABI and do not require an FPU, while the `-eabihf` targets use a
11+
hard-float ABI and do require an FPU.
1012

1113
Processors in this family include the [Arm Cortex-R4, 5, 7, and 8][cortex-r].
1214

@@ -27,11 +29,11 @@ See [`arm-none-eabi`](arm-none-eabi.md) for information applicable to all
2729

2830
## Requirements
2931

30-
When using the hardfloat targets, the minimum floating-point features assumed
31-
are those of the `vfpv3-d16`, which includes single- and double-precision, with
32-
16 double-precision registers. This floating-point unit appears in Cortex-R4F
33-
and Cortex-R5F processors. See [VFP in the Cortex-R processors][vfp]
34-
for more details on the possible FPU variants.
32+
When using the hardfloat (`-eabibf`) targets, the minimum floating-point
33+
features assumed are those of the `vfpv3-d16`, which includes single- and
34+
double-precision, with 16 double-precision registers. This floating-point unit
35+
appears in Cortex-R4F and Cortex-R5F processors. See [VFP in the Cortex-R
36+
processors][vfp] for more details on the possible FPU variants.
3537

3638
If your processor supports a different set of floating-point features than the
3739
default expectations of `vfpv3-d16`, then these should also be enabled or

0 commit comments

Comments
 (0)