about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-09-16 18:34:02 +0200
committerGitHub <noreply@github.com>2024-09-16 18:34:02 +0200
commit1807fdadb4a76c4b02c5b83a3b5de3a04d02146e (patch)
treece7232c38c061d6dda7dbdb91f15ccbe9f94e31e
parent4e68d06b52b59cace81fe6ec293e1d644c6a683c (diff)
parent11b42d2763b8ad8358455f997b87ccce5f8f16c0 (diff)
downloadrust-1807fdadb4a76c4b02c5b83a3b5de3a04d02146e.tar.gz
rust-1807fdadb4a76c4b02c5b83a3b5de3a04d02146e.zip
Rollup merge of #130436 - fortanix:raoul/fix_reduce_add_unordered_test, r=RalfJung
Ignore reduce-fadd-unordered on SGX platform

#130325 added the `tests/assembly/simd/reduce-fadd-unordered.rs` test. Unfortunately, the use of `CHECK: ret` makes that this test is not compatible with LVI mitigations applied for the SGX target. This PR makes sure this test is ignored for the SGX target, until a nicer solution is available.
-rw-r--r--tests/assembly/simd/reduce-fadd-unordered.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/assembly/simd/reduce-fadd-unordered.rs b/tests/assembly/simd/reduce-fadd-unordered.rs
index fa9ce6bd35e..ade60ba184c 100644
--- a/tests/assembly/simd/reduce-fadd-unordered.rs
+++ b/tests/assembly/simd/reduce-fadd-unordered.rs
@@ -4,6 +4,7 @@
 //@[aarch64] only-aarch64
 //@[x86_64] only-x86_64
 //@[x86_64] compile-flags: -Ctarget-feature=+sse3
+//@ ignore-sgx Test incompatible with LVI mitigations
 #![feature(portable_simd)]
 #![feature(core_intrinsics)]
 use std::intrinsics::simd as intrinsics;