blob: e403534d580a7b9e027f157d9b4b87cb16331bed [file] [log] [blame]
Dan Gohman10e730a2015-06-29 23:51:55 +00001// WebAssemblyInstrSIMD.td - WebAssembly SIMD codegen support -*- tablegen -*-//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
JF Bastien5ca0bac2015-07-10 18:23:10 +00009///
10/// \file
11/// \brief WebAssembly SIMD operand code-gen constructs.
12///
Dan Gohman10e730a2015-06-29 23:51:55 +000013//===----------------------------------------------------------------------===//
14
Derek Schuff39bf39f2016-08-02 23:16:09 +000015let isCommutable = 1 in {
16defm ADD : SIMDBinary<add, fadd, "add ">;
17defm MUL: SIMDBinary<mul, fmul, "mul ">;
18} // isCommutable = 1
19defm SUB: SIMDBinary<sub, fsub, "sub ">;