Skip to content

Commit 1383b3b

Browse files
committed
s390x: link to a missed optimization
1 parent 1dcc3b0 commit 1383b3b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/core_arch/src/s390x/vector.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2352,6 +2352,9 @@ mod sealed {
23522352
unsafe fn vec_packs(self, b: Other) -> Self::Result;
23532353
}
23542354

2355+
// FIXME(llvm): https://github.com/llvm/llvm-project/issues/153655
2356+
// Other targets can use a min/max for the saturation + a truncation.
2357+
23552358
impl_vec_trait! { [VectorPacks vec_packs] vpksh (vector_signed_short, vector_signed_short) -> vector_signed_char }
23562359
impl_vec_trait! { [VectorPacks vec_packs] vpklsh (vector_unsigned_short, vector_unsigned_short) -> vector_unsigned_char }
23572360
impl_vec_trait! { [VectorPacks vec_packs] vpksf (vector_signed_int, vector_signed_int) -> vector_signed_short }

0 commit comments

Comments
 (0)