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/// WebAssembly SIMD operand code-gen constructs. 12/// 13//===----------------------------------------------------------------------===// 14 15let isCommutable = 1 in { 16defm ADD : SIMDBinary<add, fadd, "add ">; 17defm MUL: SIMDBinary<mul, fmul, "mul ">; 18} // isCommutable = 1 19defm SUB: SIMDBinary<sub, fsub, "sub ">; 20