1
Fork 0

Support input/output in vector registers of s390x inline assembly

This commit is contained in:
Taiki Endo 2024-11-22 04:18:14 +09:00
parent 75703c1a78
commit 2c8f6de1ba
9 changed files with 680 additions and 121 deletions

View file

@ -42,7 +42,10 @@ impl S390xInlineAsmRegClass {
match self {
Self::reg | Self::reg_addr => types! { _: I8, I16, I32, I64; },
Self::freg => types! { _: F32, F64; },
Self::vreg => &[],
Self::vreg => types! {
vector: I32, F32, I64, F64, I128, F128,
VecI8(16), VecI16(8), VecI32(4), VecI64(2), VecF32(4), VecF64(2);
},
Self::areg => &[],
}
}