File tree 3 files changed +6
-6
lines changed
cranelift/codegen/src/isa/pulley_shared
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1157
1157
1158
1158
(rule (lower (has_type $F32 (fsub a b))) (pulley_fsub32 a b))
1159
1159
(rule (lower (has_type $F64 (fsub a b))) (pulley_fsub64 a b))
1160
- (rule (lower (has_type $F32X4 (fsub a b))) (pulley_vsub32x4 a b))
1160
+ (rule (lower (has_type $F32X4 (fsub a b))) (pulley_vsubf32x4 a b))
1161
1161
(rule (lower (has_type $F64X2 (fsub a b))) (pulley_vsubf64x2 a b))
1162
1162
1163
1163
;;;; Rules for `fmul` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1164
1164
1165
1165
(rule (lower (has_type $F32 (fmul a b))) (pulley_fmul32 a b))
1166
1166
(rule (lower (has_type $F64 (fmul a b))) (pulley_fmul64 a b))
1167
- (rule (lower (has_type $F32X4 (fmul a b))) (pulley_vmul32x4 a b))
1167
+ (rule (lower (has_type $F32X4 (fmul a b))) (pulley_vmulf32x4 a b))
1168
1168
(rule (lower (has_type $F64X2 (fmul a b))) (pulley_vmulf64x2 a b))
1169
1169
1170
1170
;;;; Rules for `fdiv` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Original file line number Diff line number Diff line change @@ -2980,7 +2980,7 @@ impl ExtendedOpVisitor for Interpreter<'_> {
2980
2980
ControlFlow :: Continue ( ( ) )
2981
2981
}
2982
2982
2983
- fn vsub32x4 ( & mut self , operands : BinaryOperands < VReg > ) -> ControlFlow < Done > {
2983
+ fn vsubf32x4 ( & mut self , operands : BinaryOperands < VReg > ) -> ControlFlow < Done > {
2984
2984
let mut a = self . state [ operands. src1 ] . get_f32x4 ( ) ;
2985
2985
let b = self . state [ operands. src2 ] . get_f32x4 ( ) ;
2986
2986
for ( a, b) in a. iter_mut ( ) . zip ( b) {
@@ -2997,7 +2997,7 @@ impl ExtendedOpVisitor for Interpreter<'_> {
2997
2997
ControlFlow :: Continue ( ( ) )
2998
2998
}
2999
2999
3000
- fn vmul32x4 ( & mut self , operands : BinaryOperands < VReg > ) -> ControlFlow < Done > {
3000
+ fn vmulf32x4 ( & mut self , operands : BinaryOperands < VReg > ) -> ControlFlow < Done > {
3001
3001
let mut a = self . state [ operands. src1 ] . get_f32x4 ( ) ;
3002
3002
let b = self . state [ operands. src2 ] . get_f32x4 ( ) ;
3003
3003
for ( a, b) in a. iter_mut ( ) . zip ( b) {
Original file line number Diff line number Diff line change @@ -812,11 +812,11 @@ macro_rules! for_each_extended_op {
812
812
/// `low32(dst) = low32(src1) - low32(src2)`
813
813
fsub32 = Fsub32 { operands: BinaryOperands <FReg > } ;
814
814
/// `low128(dst) = low128(src1) - low128(src2)`
815
- vsub32x4 = Vsub32x4 { operands: BinaryOperands <VReg > } ;
815
+ vsubf32x4 = Vsubf32x4 { operands: BinaryOperands <VReg > } ;
816
816
/// `low32(dst) = low32(src1) * low32(src2)`
817
817
fmul32 = Fmul32 { operands: BinaryOperands <FReg > } ;
818
818
/// `low128(dst) = low128(src1) * low128(src2)`
819
- vmul32x4 = Vmul32x4 { operands: BinaryOperands <VReg > } ;
819
+ vmulf32x4 = Vmulf32x4 { operands: BinaryOperands <VReg > } ;
820
820
/// `low32(dst) = low32(src1) / low32(src2)`
821
821
fdiv32 = Fdiv32 { operands: BinaryOperands <FReg > } ;
822
822
/// `low128(dst) = low128(src1) / low128(src2)`
You can’t perform that action at this time.
0 commit comments