Skip to content

Commit 4629f6a

Browse files
committed
fix merge blips
1 parent 609791b commit 4629f6a

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

winch/codegen/src/masm.rs

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ impl LoadKind {
442442
Self::ScalarExtend(extend) | Self::Atomic(_, Some(extend)) => {
443443
Self::operand_size_for_scalar(extend)
444444
}
445-
Self::VectorExtend(vector) => Self::operand_size_for_vector(vector),
445+
Self::VectorExtend(_) => OperandSize::S64,
446446
Self::Splat(kind) => Self::operand_size_for_splat(kind),
447447
Self::Operand(size)
448448
| Self::Atomic(size, None)
@@ -454,18 +454,6 @@ impl LoadKind {
454454
Self::VectorLane(LaneSelector { lane, size })
455455
}
456456

457-
fn operand_size_for_vector(vector: &VectorExtendKind) -> OperandSize {
458-
match vector {
459-
VectorExtendKind::V128Extend8x8S | VectorExtendKind::V128Extend8x8U => OperandSize::S8,
460-
VectorExtendKind::V128Extend16x4S | VectorExtendKind::V128Extend16x4U => {
461-
OperandSize::S16
462-
}
463-
VectorExtendKind::V128Extend32x2S | VectorExtendKind::V128Extend32x2U => {
464-
OperandSize::S32
465-
}
466-
}
467-
}
468-
469457
fn operand_size_for_scalar(extend_kind: &ExtendKind) -> OperandSize {
470458
match extend_kind {
471459
ExtendKind::Signed(s) => s.from_size(),

0 commit comments

Comments
 (0)