Skip to content

Commit d206744

Browse files
committed
run powerpc64le assert_instr on CI
1 parent 3eca39f commit d206744

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/main.yml

-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ jobs:
164164
- target:
165165
tuple: powerpc64le-unknown-linux-gnu
166166
os: ubuntu-latest
167-
disable_assert_instr: true
168167
- target:
169168
tuple: aarch64-apple-darwin
170169
os: macos-latest

crates/core_arch/src/powerpc/altivec.rs

+2-2
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)