File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ( ) ,
You can’t perform that action at this time.
0 commit comments