Skip to content

Commit 633ecc8

Browse files
authored
Merge pull request #660 from rust-lang/fix/disabling-sse
Stop ignoring the feature -sse
2 parents 1047a7c + e608520 commit 633ecc8

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/attributes.rs

+2-8
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,8 @@ pub fn from_fn_attrs<'gcc, 'tcx>(
8888
let target_features = function_features
8989
.iter()
9090
.filter_map(|feature| {
91-
// FIXME(antoyo): for some reasons, disabling SSE results in the following error when
92-
// compiling Rust for Linux:
93-
// SSE register return with SSE disabled
94-
// TODO(antoyo): support soft-float and retpoline-external-thunk.
95-
if feature.contains("soft-float")
96-
|| feature.contains("retpoline-external-thunk")
97-
|| *feature == "-sse"
98-
{
91+
// TODO(antoyo): support soft-float.
92+
if feature.contains("soft-float") {
9993
return None;
10094
}
10195

0 commit comments

Comments
 (0)