Skip to content

Commit 7f736d2

Browse files
committed
run powerpc64le assert_instr on CI
1 parent 3963579 commit 7f736d2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ jobs:
146146
- target:
147147
tuple: powerpc64le-unknown-linux-gnu
148148
os: ubuntu-latest
149-
disable_assert_instr: true
150149
test_everything: true
151150
- target:
152151
tuple: riscv64gc-unknown-linux-gnu

crates/core_arch/src/powerpc/altivec.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1878,7 +1878,7 @@ mod sealed {
18781878

18791879
#[inline]
18801880
#[target_feature(enable = "altivec")]
1881-
#[cfg_attr(test, assert_instr(vmaddfp))]
1881+
#[cfg_attr(test, assert_instr(xvmaddasp))]
18821882
pub unsafe fn vec_vmaddfp(a: vector_float, b: vector_float, c: vector_float) -> vector_float {
18831883
simd_fma(a, b, c)
18841884
}
@@ -3239,7 +3239,7 @@ mod sealed {
32393239
unsafe fn vec_round(self) -> Self;
32403240
}
32413241

3242-
test_impl! { vec_vrfin(a: vector_float) -> vector_float [vrfin, vrfin] }
3242+
test_impl! { vec_vrfin(a: vector_float) -> vector_float [vrfin, xvrspic] }
32433243

32443244
#[unstable(feature = "stdarch_powerpc", issue = "111145")]
32453245
impl VectorRound for vector_float {

0 commit comments

Comments
 (0)