Value::MulHi and constant propagation for OPCODE_MUL_HI. Could maybe be reworked?

This commit is contained in:
gibbed
2015-05-13 16:13:06 -05:00
parent 9714018fbb
commit bb947c6819
3 changed files with 31 additions and 0 deletions

View File

@@ -385,6 +385,7 @@ class Value {
bool Add(Value* other);
bool Sub(Value* other);
void Mul(Value* other);
void MulHi(Value* other, bool is_unsigned);
void Div(Value* other, bool is_unsigned);
static void MulAdd(Value* dest, Value* value1, Value* value2, Value* value3);
static void MulSub(Value* dest, Value* value1, Value* value2, Value* value3);