We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 616cb6e commit fd712feCopy full SHA for fd712fe
crates/core_simd/tests/ops_macros.rs
@@ -514,9 +514,11 @@ macro_rules! impl_float_tests {
514
assert!(n_zero.simd_max(p_zero).to_array().iter().all(|x| *x == 0.));
515
}
516
517
- #[cfg(not(all(target_arch = "powerpc64", target_feature = "vsx")))]
518
- // https://gitlab.com/qemu-project/qemu/-/issues/1780
519
fn simd_clamp<const LANES: usize>() {
+ if cfg!(all(target_arch = "powerpc64", target_feature = "vsx")) {
+ // https://gitlab.com/qemu-project/qemu/-/issues/1780
520
+ return;
521
+ }
522
test_helpers::test_3(&|value: [Scalar; LANES], mut min: [Scalar; LANES], mut max: [Scalar; LANES]| {
523
use test_helpers::subnormals::flush_in;
524
for (min, max) in min.iter_mut().zip(max.iter_mut()) {
0 commit comments