diff options
author | Thomas Lively <tlively@google.com> | 2018-10-05 00:45:20 +0000 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2018-10-05 00:45:20 +0000 |
commit | 4b47d08e527b322dac729f0a4fea2eed48d8cf56 (patch) | |
tree | 83e165afe9901755568c5bf56070b21267c02058 /llvm/test/MC/WebAssembly/simd-encodings.s | |
parent | 19a3c7e19f9b5e8a9fe3ed8a078180e30c05591e (diff) | |
download | bcm5719-llvm-4b47d08e527b322dac729f0a4fea2eed48d8cf56.tar.gz bcm5719-llvm-4b47d08e527b322dac729f0a4fea2eed48d8cf56.zip |
[WebAssembly] Saturating arithmetic intrinsics
Summary: Depends on D52805.
Reviewers: aheejin, dschuff
Subscribers: sbc100, jgravelle-google, sunfish, llvm-commits
Differential Revision: https://reviews.llvm.org/D52813
llvm-svn: 343833
Diffstat (limited to 'llvm/test/MC/WebAssembly/simd-encodings.s')
-rw-r--r-- | llvm/test/MC/WebAssembly/simd-encodings.s | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/llvm/test/MC/WebAssembly/simd-encodings.s b/llvm/test/MC/WebAssembly/simd-encodings.s index a8c9b6df445..02d07674c16 100644 --- a/llvm/test/MC/WebAssembly/simd-encodings.s +++ b/llvm/test/MC/WebAssembly/simd-encodings.s @@ -145,6 +145,30 @@ # CHECK: i64x2.neg # encoding: [0xfd,0x27] i64x2.neg + # CHECK: i8x16.add_saturate_s # encoding: [0xfd,0x28] + i8x16.add_saturate_s + + # CHECK: i8x16.add_saturate_u # encoding: [0xfd,0x29] + i8x16.add_saturate_u + + # CHECK: i16x8.add_saturate_s # encoding: [0xfd,0x2a] + i16x8.add_saturate_s + + # CHECK: i16x8.add_saturate_u # encoding: [0xfd,0x2b] + i16x8.add_saturate_u + + # CHECK: i8x16.sub_saturate_s # encoding: [0xfd,0x2c] + i8x16.sub_saturate_s + + # CHECK: i8x16.sub_saturate_u # encoding: [0xfd,0x2d] + i8x16.sub_saturate_u + + # CHECK: i16x8.sub_saturate_s # encoding: [0xfd,0x2e] + i16x8.sub_saturate_s + + # CHECK: i16x8.sub_saturate_u # encoding: [0xfd,0x2f] + i16x8.sub_saturate_u + # CHECK: i8x16.shl # encoding: [0xfd,0x30] i8x16.shl |