Skip to content

Commit 470eff7

Browse files
author
Jorge Aparicio
committed
add a reference about the stated FP facts
1 parent cbc56f1 commit 470eff7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustc_back/target/thumbv7em_none_eabihf.rs

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ pub fn target() -> TargetResult {
3838
// available
3939
// `+fp-only-sp` The Cortex-M4 only supports single precision floating point operations
4040
// whereas in the Cortex-M7 double precision is optional
41+
//
42+
// Reference:
43+
// ARMv7-M Architecture Reference Manual - A2.5 The optional floating-point extension
4144
features: "+vfp4,+d16,+fp-only-sp".to_string(),
4245
max_atomic_width: 32,
4346
.. super::thumb_base::opts()

0 commit comments

Comments
 (0)