[PATCH] D13980: Add "x87" in x86 target feature map

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 3 14:47:08 PST 2015


rsmith added inline comments.

================
Comment at: lib/Basic/Targets.cpp:2516-2517
@@ -2515,1 +2515,4 @@
 
+  // X86 always has X87.
+  setFeatureEnabledImpl(Features, "x87", true);
+
----------------
i386 doesn't necessarily have x87, does it? IIRC the floating point co-processor is only guaranteed to be available in the 486 DX and later.


http://reviews.llvm.org/D13980





More information about the cfe-commits mailing list