cranelift: Rename i{min,max} to s{min,max} (#5187)
This brings these instructions with our general naming convention of signed instructions being prefixed with `s`.
This commit is contained in:
@@ -1570,7 +1570,7 @@ pub fn translate_operator<FE: FuncEnvironment + ?Sized>(
|
||||
}
|
||||
Operator::I8x16MinS | Operator::I16x8MinS | Operator::I32x4MinS => {
|
||||
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
||||
state.push1(builder.ins().imin(a, b))
|
||||
state.push1(builder.ins().smin(a, b))
|
||||
}
|
||||
Operator::I8x16MinU | Operator::I16x8MinU | Operator::I32x4MinU => {
|
||||
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
||||
@@ -1578,7 +1578,7 @@ pub fn translate_operator<FE: FuncEnvironment + ?Sized>(
|
||||
}
|
||||
Operator::I8x16MaxS | Operator::I16x8MaxS | Operator::I32x4MaxS => {
|
||||
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
||||
state.push1(builder.ins().imax(a, b))
|
||||
state.push1(builder.ins().smax(a, b))
|
||||
}
|
||||
Operator::I8x16MaxU | Operator::I16x8MaxU | Operator::I32x4MaxU => {
|
||||
let (a, b) = pop2_with_bitcast(state, type_of(op), builder);
|
||||
|
||||
Reference in New Issue
Block a user