about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2016-10-03 22:34:33 -0500
committerJorge Aparicio <japaricious@gmail.com>2016-10-03 22:34:33 -0500
commit470eff75df9184f3cc497fc8451f5ed558df3c30 (patch)
tree4ac5d88c37a4fb59bafd698a82b63fcc55d702ee
parentcbc56f16b48f4d7ae9a77be4b9b51a5212c8b435 (diff)
downloadrust-470eff75df9184f3cc497fc8451f5ed558df3c30.tar.gz
rust-470eff75df9184f3cc497fc8451f5ed558df3c30.zip
add a reference about the stated FP facts
-rw-r--r--src/librustc_back/target/thumbv7em_none_eabihf.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustc_back/target/thumbv7em_none_eabihf.rs b/src/librustc_back/target/thumbv7em_none_eabihf.rs
index 74bb9915e68..b695674aada 100644
--- a/src/librustc_back/target/thumbv7em_none_eabihf.rs
+++ b/src/librustc_back/target/thumbv7em_none_eabihf.rs
@@ -38,6 +38,9 @@ pub fn target() -> TargetResult {
             // available
             // `+fp-only-sp` The Cortex-M4 only supports single precision floating point operations
             // whereas in the Cortex-M7 double precision is optional
+            //
+            // Reference:
+            // ARMv7-M Architecture Reference Manual - A2.5 The optional floating-point extension
             features: "+vfp4,+d16,+fp-only-sp".to_string(),
             max_atomic_width: 32,
             .. super::thumb_base::opts()