Skip to content

Commit

Permalink
Rollup merge of #130436 - fortanix:raoul/fix_reduce_add_unordered_tes…
Browse files Browse the repository at this point in the history
…t, 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.
  • Loading branch information
matthiaskrgr authored Sep 16, 2024
2 parents 4e68d06 + 11b42d2 commit 1807fda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/assembly/simd/reduce-fadd-unordered.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1807fda

Please sign in to comment.