diff options
Diffstat (limited to 'src/parseTools.js')
-rw-r--r-- | src/parseTools.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/parseTools.js b/src/parseTools.js index 6436e8a4..c7beac53 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -2316,6 +2316,13 @@ function processMathop(item) { } } + if (type[0] === '<' && type[type.length-1] !== '*') { + // vector/SIMD operation + switch (op) { + default: throw 'vector op todo: ' + dump(item); + } + } + switch (op) { // basic integer ops case 'add': return handleOverflow(getFastValue(idents[0], '+', idents[1], item.type), bits); |