[codegen] add encodings for isub borrow variants
Add encodings for isub borrow variants (isub_bout, isub_bin, isub_borrow) for x86_32, enabling the legalization for isub.i64 to work. Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1576675 Bug: https://github.com/CraneStation/cranelift/issues/765
This commit is contained in:
committed by
Benjamin Bouvier
parent
1c28d43f00
commit
dce8ad8229
@@ -2532,7 +2532,7 @@ pub fn define<'shared>(
|
||||
|
||||
// XX /r, MR form. Add two GPR registers and get carry flag.
|
||||
recipes.add_template_recipe(
|
||||
EncodingRecipeBuilder::new("rcin", f_ternary, 1)
|
||||
EncodingRecipeBuilder::new("rin", f_ternary, 1)
|
||||
.operands_in(vec![
|
||||
OperandConstraint::RegClass(gpr),
|
||||
OperandConstraint::RegClass(gpr),
|
||||
@@ -2550,7 +2550,7 @@ pub fn define<'shared>(
|
||||
|
||||
// XX /r, MR form. Add two GPR registers with carry flag.
|
||||
recipes.add_template_recipe(
|
||||
EncodingRecipeBuilder::new("rcarry", f_ternary, 1)
|
||||
EncodingRecipeBuilder::new("rio", f_ternary, 1)
|
||||
.operands_in(vec![
|
||||
OperandConstraint::RegClass(gpr),
|
||||
OperandConstraint::RegClass(gpr),
|
||||
|
||||
Reference in New Issue
Block a user