]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
MFV r337027:
[FreeBSD/FreeBSD.git] / contrib / llvm / lib / Target / WebAssembly / WebAssemblyInstrSIMD.td
1 // 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 //===----------------------------------------------------------------------===//
9 ///
10 /// \file
11 /// \brief WebAssembly SIMD operand code-gen constructs.
12 ///
13 //===----------------------------------------------------------------------===//
14
15 let isCommutable = 1 in {
16 defm ADD : SIMDBinary<add, fadd, "add ">;
17 defm MUL: SIMDBinary<mul, fmul, "mul ">;
18 } // isCommutable = 1
19 defm SUB: SIMDBinary<sub, fsub, "sub ">;