Skip to content

Commit 12125d5

Browse files
committed
s390x: add assert_instr for vec_extend
1 parent 9638237 commit 12125d5

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

crates/core_arch/src/s390x/vector.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3319,8 +3319,7 @@ mod sealed {
33193319

33203320
#[inline]
33213321
#[target_feature(enable = "vector")]
3322-
// FIXME(llvm): https://github.com/llvm/llvm-project/issues/129899
3323-
// #[cfg_attr(test, assert_instr(vsegb))]
3322+
#[cfg_attr(test, assert_instr(vsegb))]
33243323
pub unsafe fn vsegb(a: vector_signed_char) -> vector_signed_long_long {
33253324
simd_as(simd_shuffle::<_, _, i8x2>(
33263325
a,
@@ -3331,8 +3330,7 @@ mod sealed {
33313330

33323331
#[inline]
33333332
#[target_feature(enable = "vector")]
3334-
// FIXME(llvm): https://github.com/llvm/llvm-project/issues/129899
3335-
// #[cfg_attr(test, assert_instr(vsegh))]
3333+
#[cfg_attr(test, assert_instr(vsegh))]
33363334
pub unsafe fn vsegh(a: vector_signed_short) -> vector_signed_long_long {
33373335
simd_as(simd_shuffle::<_, _, i16x2>(
33383336
a,
@@ -3343,8 +3341,7 @@ mod sealed {
33433341

33443342
#[inline]
33453343
#[target_feature(enable = "vector")]
3346-
// FIXME(llvm): https://github.com/llvm/llvm-project/issues/129899
3347-
// #[cfg_attr(test, assert_instr(vsegf))]
3344+
#[cfg_attr(test, assert_instr(vsegf))]
33483345
pub unsafe fn vsegf(a: vector_signed_int) -> vector_signed_long_long {
33493346
simd_as(simd_shuffle::<_, _, i32x2>(
33503347
a,

0 commit comments

Comments
 (0)