remove iadd_cout and isub_bout (#6198)
This commit is contained in:
@@ -2003,31 +2003,6 @@ pub(crate) fn define(
|
||||
.operands_out(vec![Operand::new("a", iB)]),
|
||||
);
|
||||
|
||||
ig.push(
|
||||
Inst::new(
|
||||
"iadd_cout",
|
||||
r#"
|
||||
Add integers with carry out.
|
||||
|
||||
Same as `iadd` with an additional carry output.
|
||||
|
||||
```text
|
||||
a &= x + y \pmod 2^B \\
|
||||
c_{out} &= x+y >= 2^B
|
||||
```
|
||||
|
||||
Polymorphic over all scalar integer types, but does not support vector
|
||||
types.
|
||||
"#,
|
||||
&formats.binary,
|
||||
)
|
||||
.operands_in(vec![Operand::new("x", iB), Operand::new("y", iB)])
|
||||
.operands_out(vec![
|
||||
Operand::new("a", iB),
|
||||
Operand::new("c_out", i8).with_doc("Output carry flag"),
|
||||
]),
|
||||
);
|
||||
|
||||
ig.push(
|
||||
Inst::new(
|
||||
"iadd_carry",
|
||||
@@ -2227,31 +2202,6 @@ pub(crate) fn define(
|
||||
.operands_out(vec![Operand::new("a", iB)]),
|
||||
);
|
||||
|
||||
ig.push(
|
||||
Inst::new(
|
||||
"isub_bout",
|
||||
r#"
|
||||
Subtract integers with borrow out.
|
||||
|
||||
Same as `isub` with an additional borrow flag output.
|
||||
|
||||
```text
|
||||
a &= x - y \pmod 2^B \\
|
||||
b_{out} &= x < y
|
||||
```
|
||||
|
||||
Polymorphic over all scalar integer types, but does not support vector
|
||||
types.
|
||||
"#,
|
||||
&formats.binary,
|
||||
)
|
||||
.operands_in(vec![Operand::new("x", iB), Operand::new("y", iB)])
|
||||
.operands_out(vec![
|
||||
Operand::new("a", iB),
|
||||
Operand::new("b_out", i8).with_doc("Output borrow flag"),
|
||||
]),
|
||||
);
|
||||
|
||||
ig.push(
|
||||
Inst::new(
|
||||
"isub_borrow",
|
||||
|
||||
Reference in New Issue
Block a user