[all-commits] [llvm/llvm-project] f1b351: [WebAssembly] Implement SIMD {i8x16, i16x8}.avgr_u ...

Thomas Lively via All-commits all-commits at lists.llvm.org
Tue Dec 17 15:05:55 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f1b351e14a912dbb797b731807d81d4c9af4db0e
      https://github.com/llvm/llvm-project/commit/f1b351e14a912dbb797b731807d81d4c9af4db0e
  Author: Thomas Lively <tlively at google.com>
  Date:   2019-12-17 (Tue, 17 Dec 2019)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
    M llvm/test/CodeGen/WebAssembly/simd-arith.ll
    M llvm/test/MC/WebAssembly/simd-encodings.s

  Log Message:
  -----------
  [WebAssembly] Implement SIMD {i8x16,i16x8}.avgr_u instructions

Summary:
These instructions were added to the spec proposal in
https://github.com/WebAssembly/simd/pull/126. Their semantics are
equivalent to `(a + b + 1) / 2`. The opcode for the experimental
i32x4.dot_i16x8_s is also bumped due to a collision with the
i8x16.avgr_u opcode.

Reviewers: aheejin

Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D71628




More information about the All-commits mailing list