summaryrefslogtreecommitdiff
path: root/src/ir/abstract.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/abstract.h')
-rw-r--r--src/ir/abstract.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ir/abstract.h b/src/ir/abstract.h
index 0cfeeea77..04b04e342 100644
--- a/src/ir/abstract.h
+++ b/src/ir/abstract.h
@@ -34,7 +34,6 @@ enum Op {
Mul,
DivU,
DivS,
- Rem,
RemU,
RemS,
Shl,
@@ -45,6 +44,7 @@ enum Op {
And,
Or,
Xor,
+ CopySign,
// Relational
EqZ,
Eq,
@@ -261,6 +261,8 @@ inline BinaryOp getBinary(Type type, Op op) {
return DivFloat32;
case DivS:
return DivFloat32;
+ case CopySign:
+ return CopySignFloat32;
case Eq:
return EqFloat32;
case Ne:
@@ -282,6 +284,8 @@ inline BinaryOp getBinary(Type type, Op op) {
return DivFloat64;
case DivS:
return DivFloat64;
+ case CopySign:
+ return CopySignFloat64;
case Eq:
return EqFloat64;
case Ne: