We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f41d9b0 commit ba73c48Copy full SHA for ba73c48
src/abi/pass_mode.rs
@@ -26,7 +26,7 @@ fn reg_to_abi_param(reg: Reg) -> AbiParam {
26
(RegKind::Float, 8) => types::F64,
27
// FIXME(bytecodealliance/wasmtime#10254): Increasing vector size to 128bit to workaround
28
// load and store for smaller vectors not being supported.
29
- (RegKind::Vector, size) => types::I8.by(u32::try_from(size.max(128)).unwrap()).unwrap(),
+ (RegKind::Vector, size) => types::I8.by(u32::try_from(size.max(128 / 8)).unwrap()).unwrap(),
30
_ => unreachable!("{:?}", reg),
31
};
32
AbiParam::new(clif_ty)
0 commit comments