about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/attributes.rs10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/attributes.rs b/src/attributes.rs
index 69b04dd5796..8bc1b770243 100644
--- a/src/attributes.rs
+++ b/src/attributes.rs
@@ -88,14 +88,8 @@ pub fn from_fn_attrs<'gcc, 'tcx>(
     let target_features = function_features
         .iter()
         .filter_map(|feature| {
-            // FIXME(antoyo): for some reasons, disabling SSE results in the following error when
-            // compiling Rust for Linux:
-            // SSE register return with SSE disabled
-            // TODO(antoyo): support soft-float and retpoline-external-thunk.
-            if feature.contains("soft-float")
-                || feature.contains("retpoline-external-thunk")
-                || *feature == "-sse"
-            {
+            // TODO(antoyo): support soft-float.
+            if feature.contains("soft-float") {
                 return None;
             }