Skip to content

Commit ba73c48

Browse files
committed
Fix
1 parent f41d9b0 commit ba73c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/abi/pass_mode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fn reg_to_abi_param(reg: Reg) -> AbiParam {
2626
(RegKind::Float, 8) => types::F64,
2727
// FIXME(bytecodealliance/wasmtime#10254): Increasing vector size to 128bit to workaround
2828
// load and store for smaller vectors not being supported.
29-
(RegKind::Vector, size) => types::I8.by(u32::try_from(size.max(128)).unwrap()).unwrap(),
29+
(RegKind::Vector, size) => types::I8.by(u32::try_from(size.max(128 / 8)).unwrap()).unwrap(),
3030
_ => unreachable!("{:?}", reg),
3131
};
3232
AbiParam::new(clif_ty)

0 commit comments

Comments
 (0)