[WebAssembly] Test i64x2.abs encoding
authorThomas Lively <tlively@google.com>
Tue, 13 Apr 2021 07:06:25 +0000 (00:06 -0700)
committerThomas Lively <tlively@google.com>
Tue, 13 Apr 2021 07:06:25 +0000 (00:06 -0700)
This test was disabled despite the instruction having been implemented for a
long time. This commit just enables the test.

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

llvm/test/MC/WebAssembly/simd-encodings.s

index c1047ad..3093fb2 100644 (file)
@@ -597,7 +597,8 @@ main:
     # CHECK: i32x4.extmul_high_i16x8_u # encoding: [0xfd,0xbf,0x01]
     i32x4.extmul_high_i16x8_u
 
-    # TODO: i64x2.abs # encoding: [0xfd,0xc0,0x01]
+    # CHECK: i64x2.abs # encoding: [0xfd,0xc0,0x01]
+    i64x2.abs
 
     # CHECK: i64x2.neg # encoding: [0xfd,0xc1,0x01]
     i64x2.neg