Add Sub64 opcode

This commit is contained in:
Tillmann Karras
2016-08-06 06:09:47 +01:00
parent b9f4f1ed0f
commit 846d07d7b5
4 changed files with 16 additions and 0 deletions

View File

@@ -210,6 +210,10 @@ IR::Value IREmitter::Sub(const IR::Value& a, const IR::Value& b) {
return Inst(IR::Opcode::SubWithCarry, {a, b, Imm1(1)});
}
IR::Value IREmitter::Sub64(const IR::Value& a, const IR::Value& b) {
return Inst(IR::Opcode::Sub64, {a, b});
}
IR::Value IREmitter::Mul(const IR::Value& a, const IR::Value& b) {
return Inst(IR::Opcode::Mul, {a, b});
}