Constant Propagation for OPCODE_VECTOR_ADD

This commit is contained in:
Dr. Chat
2016-06-12 21:41:02 -05:00
parent eb7b80bf7c
commit 0ef16b10e2
3 changed files with 91 additions and 0 deletions

View File

@@ -504,6 +504,7 @@ class Value {
void VectorShl(Value* other, TypeName type);
void VectorShr(Value* other, TypeName type);
void VectorRol(Value* other, TypeName type);
void VectorAdd(Value* other, TypeName type, bool is_unsigned, bool saturate);
void VectorSub(Value* other, TypeName type, bool is_unsigned, bool saturate);
void ByteSwap();
void CountLeadingZeros(const Value* other);