aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjackbackrack2015-05-04 13:11:14 -0700
committerjackbackrack2015-05-04 13:11:14 -0700
commite27fa8a09678cce1e19b968ed18b2e64312cfae4 (patch)
tree1ab9469afc7b90103a8178163e61e6d6e3cf9377
parent6e1fff693540c8c6b032b17711240947c6dca2ae (diff)
add reduction operators
-rw-r--r--src/main/stanza/passes.stanza3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/stanza/passes.stanza b/src/main/stanza/passes.stanza
index 910b7f3d..e3e22f56 100644
--- a/src/main/stanza/passes.stanza
+++ b/src/main/stanza/passes.stanza
@@ -1869,6 +1869,9 @@ defn flo-op-name (op:PrimOp) -> String :
BIT-NOT-OP : "not"
BIT-OR-OP : "or"
BIT-XOR-OP : "xor"
+ BIT-XOR-REDUCE-OP : "xorr"
+ BIT-AND-REDUCE-OP : "andr"
+ BIT-OR-REDUCE-OP : "orr"
CONCAT-OP : "cat"
BIT-SELECT-OP : "rsh"
BITS-SELECT-OP : "rsh"