about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFolkert de Vries <folkert@folkertdev.nl>2025-04-20 20:31:01 +0200
committerAmanieu d'Antras <amanieu@gmail.com>2025-04-23 10:38:19 +0000
commitf77386cf2b637dd0fe0873a4679e7f4c0fe473b5 (patch)
treedc164a726a0c680f5d793b46b6b43c4ea92c08b6
parent1e3c5e3c99982639373b8fa4058b56825d0983af (diff)
downloadrust-f77386cf2b637dd0fe0873a4679e7f4c0fe473b5.tar.gz
rust-f77386cf2b637dd0fe0873a4679e7f4c0fe473b5.zip
run `powerpc64le` `assert_instr` on CI
-rw-r--r--library/stdarch/.github/workflows/main.yml1
-rw-r--r--library/stdarch/crates/core_arch/src/powerpc/altivec.rs4
2 files changed, 2 insertions, 3 deletions
diff --git a/library/stdarch/.github/workflows/main.yml b/library/stdarch/.github/workflows/main.yml
index b1a3fdf40a7..95b6f4afb99 100644
--- a/library/stdarch/.github/workflows/main.yml
+++ b/library/stdarch/.github/workflows/main.yml
@@ -146,7 +146,6 @@ jobs:
         - target:
             tuple: powerpc64le-unknown-linux-gnu
             os: ubuntu-latest
-          disable_assert_instr: true
           test_everything: true
         - target:
             tuple: riscv64gc-unknown-linux-gnu
diff --git a/library/stdarch/crates/core_arch/src/powerpc/altivec.rs b/library/stdarch/crates/core_arch/src/powerpc/altivec.rs
index 0fb7ee6e1ef..3cb3f098bba 100644
--- a/library/stdarch/crates/core_arch/src/powerpc/altivec.rs
+++ b/library/stdarch/crates/core_arch/src/powerpc/altivec.rs
@@ -1878,7 +1878,7 @@ mod sealed {
 
     #[inline]
     #[target_feature(enable = "altivec")]
-    #[cfg_attr(test, assert_instr(vmaddfp))]
+    #[cfg_attr(test, assert_instr(xvmaddasp))]
     pub unsafe fn vec_vmaddfp(a: vector_float, b: vector_float, c: vector_float) -> vector_float {
         simd_fma(a, b, c)
     }
@@ -3239,7 +3239,7 @@ mod sealed {
         unsafe fn vec_round(self) -> Self;
     }
 
-    test_impl! { vec_vrfin(a: vector_float) -> vector_float [vrfin, vrfin] }
+    test_impl! { vec_vrfin(a: vector_float) -> vector_float [vrfin, xvrspic] }
 
     #[unstable(feature = "stdarch_powerpc", issue = "111145")]
     impl VectorRound for vector_float {