1 // WebAssemblyInstrSIMD.td - WebAssembly SIMD codegen support -*- tablegen -*-//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
11 /// \brief WebAssembly SIMD operand code-gen constructs.
13 //===----------------------------------------------------------------------===//
15 let isCommutable = 1 in {
16 defm ADD : SIMDBinary<add, fadd, "add ">;
17 defm MUL: SIMDBinary<mul, fmul, "mul ">;
19 defm SUB: SIMDBinary<sub, fsub, "sub ">;