32 changes: 17 additions & 15 deletions llvm/test/MC/AArch64/SVE/cmphi.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -11,89 +13,89 @@
cmphi p0.b, p0/z, z0.b, z0.b
// CHECK-INST: cmphi p0.b, p0/z, z0.b, z0.b
// CHECK-ENCODING: [0x10,0x00,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 00 24 <unknown>

cmphi p0.h, p0/z, z0.h, z0.h
// CHECK-INST: cmphi p0.h, p0/z, z0.h, z0.h
// CHECK-ENCODING: [0x10,0x00,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 40 24 <unknown>

cmphi p0.s, p0/z, z0.s, z0.s
// CHECK-INST: cmphi p0.s, p0/z, z0.s, z0.s
// CHECK-ENCODING: [0x10,0x00,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 80 24 <unknown>

cmphi p0.d, p0/z, z0.d, z0.d
// CHECK-INST: cmphi p0.d, p0/z, z0.d, z0.d
// CHECK-ENCODING: [0x10,0x00,0xc0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 c0 24 <unknown>

cmphi p0.b, p0/z, z0.b, z0.d
// CHECK-INST: cmphi p0.b, p0/z, z0.b, z0.d
// CHECK-ENCODING: [0x10,0xc0,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 c0 00 24 <unknown>

cmphi p0.h, p0/z, z0.h, z0.d
// CHECK-INST: cmphi p0.h, p0/z, z0.h, z0.d
// CHECK-ENCODING: [0x10,0xc0,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 c0 40 24 <unknown>

cmphi p0.s, p0/z, z0.s, z0.d
// CHECK-INST: cmphi p0.s, p0/z, z0.s, z0.d
// CHECK-ENCODING: [0x10,0xc0,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 c0 80 24 <unknown>

cmphi p0.b, p0/z, z0.b, #0
// CHECK-INST: cmphi p0.b, p0/z, z0.b, #0
// CHECK-ENCODING: [0x10,0x00,0x20,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 20 24 <unknown>

cmphi p0.h, p0/z, z0.h, #0
// CHECK-INST: cmphi p0.h, p0/z, z0.h, #0
// CHECK-ENCODING: [0x10,0x00,0x60,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 60 24 <unknown>

cmphi p0.s, p0/z, z0.s, #0
// CHECK-INST: cmphi p0.s, p0/z, z0.s, #0
// CHECK-ENCODING: [0x10,0x00,0xa0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 a0 24 <unknown>

cmphi p0.d, p0/z, z0.d, #0
// CHECK-INST: cmphi p0.d, p0/z, z0.d, #0
// CHECK-ENCODING: [0x10,0x00,0xe0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 00 e0 24 <unknown>

cmphi p0.b, p0/z, z0.b, #127
// CHECK-INST: cmphi p0.b, p0/z, z0.b, #127
// CHECK-ENCODING: [0x10,0xc0,0x3f,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 c0 3f 24 <unknown>

cmphi p0.h, p0/z, z0.h, #127
// CHECK-INST: cmphi p0.h, p0/z, z0.h, #127
// CHECK-ENCODING: [0x10,0xc0,0x7f,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 c0 7f 24 <unknown>

cmphi p0.s, p0/z, z0.s, #127
// CHECK-INST: cmphi p0.s, p0/z, z0.s, #127
// CHECK-ENCODING: [0x10,0xc0,0xbf,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 c0 bf 24 <unknown>

cmphi p0.d, p0/z, z0.d, #127
// CHECK-INST: cmphi p0.d, p0/z, z0.d, #127
// CHECK-ENCODING: [0x10,0xc0,0xff,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 c0 ff 24 <unknown>
32 changes: 17 additions & 15 deletions llvm/test/MC/AArch64/SVE/cmphs.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -11,89 +13,89 @@
cmphs p0.b, p0/z, z0.b, z0.b
// CHECK-INST: cmphs p0.b, p0/z, z0.b, z0.b
// CHECK-ENCODING: [0x00,0x00,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 00 24 <unknown>

cmphs p0.h, p0/z, z0.h, z0.h
// CHECK-INST: cmphs p0.h, p0/z, z0.h, z0.h
// CHECK-ENCODING: [0x00,0x00,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 40 24 <unknown>

cmphs p0.s, p0/z, z0.s, z0.s
// CHECK-INST: cmphs p0.s, p0/z, z0.s, z0.s
// CHECK-ENCODING: [0x00,0x00,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 80 24 <unknown>

cmphs p0.d, p0/z, z0.d, z0.d
// CHECK-INST: cmphs p0.d, p0/z, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x00,0xc0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 c0 24 <unknown>

cmphs p0.b, p0/z, z0.b, z0.d
// CHECK-INST: cmphs p0.b, p0/z, z0.b, z0.d
// CHECK-ENCODING: [0x00,0xc0,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 00 24 <unknown>

cmphs p0.h, p0/z, z0.h, z0.d
// CHECK-INST: cmphs p0.h, p0/z, z0.h, z0.d
// CHECK-ENCODING: [0x00,0xc0,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 40 24 <unknown>

cmphs p0.s, p0/z, z0.s, z0.d
// CHECK-INST: cmphs p0.s, p0/z, z0.s, z0.d
// CHECK-ENCODING: [0x00,0xc0,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 80 24 <unknown>

cmphs p0.b, p0/z, z0.b, #0
// CHECK-INST: cmphs p0.b, p0/z, z0.b, #0
// CHECK-ENCODING: [0x00,0x00,0x20,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 20 24 <unknown>

cmphs p0.h, p0/z, z0.h, #0
// CHECK-INST: cmphs p0.h, p0/z, z0.h, #0
// CHECK-ENCODING: [0x00,0x00,0x60,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 60 24 <unknown>

cmphs p0.s, p0/z, z0.s, #0
// CHECK-INST: cmphs p0.s, p0/z, z0.s, #0
// CHECK-ENCODING: [0x00,0x00,0xa0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 a0 24 <unknown>

cmphs p0.d, p0/z, z0.d, #0
// CHECK-INST: cmphs p0.d, p0/z, z0.d, #0
// CHECK-ENCODING: [0x00,0x00,0xe0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 00 e0 24 <unknown>

cmphs p0.b, p0/z, z0.b, #127
// CHECK-INST: cmphs p0.b, p0/z, z0.b, #127
// CHECK-ENCODING: [0x00,0xc0,0x3f,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 3f 24 <unknown>

cmphs p0.h, p0/z, z0.h, #127
// CHECK-INST: cmphs p0.h, p0/z, z0.h, #127
// CHECK-ENCODING: [0x00,0xc0,0x7f,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 7f 24 <unknown>

cmphs p0.s, p0/z, z0.s, #127
// CHECK-INST: cmphs p0.s, p0/z, z0.s, #127
// CHECK-ENCODING: [0x00,0xc0,0xbf,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 bf 24 <unknown>

cmphs p0.d, p0/z, z0.d, #127
// CHECK-INST: cmphs p0.d, p0/z, z0.d, #127
// CHECK-ENCODING: [0x00,0xc0,0xff,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 c0 ff 24 <unknown>
32 changes: 17 additions & 15 deletions llvm/test/MC/AArch64/SVE/cmple.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,89 +12,89 @@
cmple p0.b, p0/z, z0.b, z1.b
// CHECK-INST: cmpge p0.b, p0/z, z1.b, z0.b
// CHECK-ENCODING: [0x20,0x80,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 80 00 24 <unknown>

cmple p0.h, p0/z, z0.h, z1.h
// CHECK-INST: cmpge p0.h, p0/z, z1.h, z0.h
// CHECK-ENCODING: [0x20,0x80,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 80 40 24 <unknown>

cmple p0.s, p0/z, z0.s, z1.s
// CHECK-INST: cmpge p0.s, p0/z, z1.s, z0.s
// CHECK-ENCODING: [0x20,0x80,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 80 80 24 <unknown>

cmple p0.d, p0/z, z0.d, z1.d
// CHECK-INST: cmpge p0.d, p0/z, z1.d, z0.d
// CHECK-ENCODING: [0x20,0x80,0xc0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 80 c0 24 <unknown>

cmple p0.b, p0/z, z0.b, z0.d
// CHECK-INST: cmple p0.b, p0/z, z0.b, z0.d
// CHECK-ENCODING: [0x10,0x60,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 60 00 24 <unknown>

cmple p0.h, p0/z, z0.h, z0.d
// CHECK-INST: cmple p0.h, p0/z, z0.h, z0.d
// CHECK-ENCODING: [0x10,0x60,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 60 40 24 <unknown>

cmple p0.s, p0/z, z0.s, z0.d
// CHECK-INST: cmple p0.s, p0/z, z0.s, z0.d
// CHECK-ENCODING: [0x10,0x60,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 60 80 24 <unknown>

cmple p0.b, p0/z, z0.b, #-16
// CHECK-INST: cmple p0.b, p0/z, z0.b, #-16
// CHECK-ENCODING: [0x10,0x20,0x10,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 10 25 <unknown>

cmple p0.h, p0/z, z0.h, #-16
// CHECK-INST: cmple p0.h, p0/z, z0.h, #-16
// CHECK-ENCODING: [0x10,0x20,0x50,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 50 25 <unknown>

cmple p0.s, p0/z, z0.s, #-16
// CHECK-INST: cmple p0.s, p0/z, z0.s, #-16
// CHECK-ENCODING: [0x10,0x20,0x90,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 90 25 <unknown>

cmple p0.d, p0/z, z0.d, #-16
// CHECK-INST: cmple p0.d, p0/z, z0.d, #-16
// CHECK-ENCODING: [0x10,0x20,0xd0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 d0 25 <unknown>

cmple p0.b, p0/z, z0.b, #15
// CHECK-INST: cmple p0.b, p0/z, z0.b, #15
// CHECK-ENCODING: [0x10,0x20,0x0f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 0f 25 <unknown>

cmple p0.h, p0/z, z0.h, #15
// CHECK-INST: cmple p0.h, p0/z, z0.h, #15
// CHECK-ENCODING: [0x10,0x20,0x4f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 4f 25 <unknown>

cmple p0.s, p0/z, z0.s, #15
// CHECK-INST: cmple p0.s, p0/z, z0.s, #15
// CHECK-ENCODING: [0x10,0x20,0x8f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 8f 25 <unknown>

cmple p0.d, p0/z, z0.d, #15
// CHECK-INST: cmple p0.d, p0/z, z0.d, #15
// CHECK-ENCODING: [0x10,0x20,0xcf,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 cf 25 <unknown>
32 changes: 17 additions & 15 deletions llvm/test/MC/AArch64/SVE/cmplo.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,89 +12,89 @@
cmplo p0.b, p0/z, z0.b, z1.b
// CHECK-INST: cmphi p0.b, p0/z, z1.b, z0.b
// CHECK-ENCODING: [0x30,0x00,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 00 00 24 <unknown>

cmplo p0.h, p0/z, z0.h, z1.h
// CHECK-INST: cmphi p0.h, p0/z, z1.h, z0.h
// CHECK-ENCODING: [0x30,0x00,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 00 40 24 <unknown>

cmplo p0.s, p0/z, z0.s, z1.s
// CHECK-INST: cmphi p0.s, p0/z, z1.s, z0.s
// CHECK-ENCODING: [0x30,0x00,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 00 80 24 <unknown>

cmplo p0.d, p0/z, z0.d, z1.d
// CHECK-INST: cmphi p0.d, p0/z, z1.d, z0.d
// CHECK-ENCODING: [0x30,0x00,0xc0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 00 c0 24 <unknown>

cmplo p0.b, p0/z, z0.b, z0.d
// CHECK-INST: cmplo p0.b, p0/z, z0.b, z0.d
// CHECK-ENCODING: [0x00,0xe0,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 00 24 <unknown>

cmplo p0.h, p0/z, z0.h, z0.d
// CHECK-INST: cmplo p0.h, p0/z, z0.h, z0.d
// CHECK-ENCODING: [0x00,0xe0,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 40 24 <unknown>

cmplo p0.s, p0/z, z0.s, z0.d
// CHECK-INST: cmplo p0.s, p0/z, z0.s, z0.d
// CHECK-ENCODING: [0x00,0xe0,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 80 24 <unknown>

cmplo p0.b, p0/z, z0.b, #0
// CHECK-INST: cmplo p0.b, p0/z, z0.b, #0
// CHECK-ENCODING: [0x00,0x20,0x20,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 20 24 <unknown>

cmplo p0.h, p0/z, z0.h, #0
// CHECK-INST: cmplo p0.h, p0/z, z0.h, #0
// CHECK-ENCODING: [0x00,0x20,0x60,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 60 24 <unknown>

cmplo p0.s, p0/z, z0.s, #0
// CHECK-INST: cmplo p0.s, p0/z, z0.s, #0
// CHECK-ENCODING: [0x00,0x20,0xa0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 a0 24 <unknown>

cmplo p0.d, p0/z, z0.d, #0
// CHECK-INST: cmplo p0.d, p0/z, z0.d, #0
// CHECK-ENCODING: [0x00,0x20,0xe0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 e0 24 <unknown>

cmplo p0.b, p0/z, z0.b, #127
// CHECK-INST: cmplo p0.b, p0/z, z0.b, #127
// CHECK-ENCODING: [0x00,0xe0,0x3f,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 3f 24 <unknown>

cmplo p0.h, p0/z, z0.h, #127
// CHECK-INST: cmplo p0.h, p0/z, z0.h, #127
// CHECK-ENCODING: [0x00,0xe0,0x7f,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 7f 24 <unknown>

cmplo p0.s, p0/z, z0.s, #127
// CHECK-INST: cmplo p0.s, p0/z, z0.s, #127
// CHECK-ENCODING: [0x00,0xe0,0xbf,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 bf 24 <unknown>

cmplo p0.d, p0/z, z0.d, #127
// CHECK-INST: cmplo p0.d, p0/z, z0.d, #127
// CHECK-ENCODING: [0x00,0xe0,0xff,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 ff 24 <unknown>
32 changes: 17 additions & 15 deletions llvm/test/MC/AArch64/SVE/cmpls.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,89 +12,89 @@
cmpls p0.b, p0/z, z0.b, z1.b
// CHECK-INST: cmphs p0.b, p0/z, z1.b, z0.b
// CHECK-ENCODING: [0x20,0x00,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 00 00 24 <unknown>

cmpls p0.h, p0/z, z0.h, z1.h
// CHECK-INST: cmphs p0.h, p0/z, z1.h, z0.h
// CHECK-ENCODING: [0x20,0x00,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 00 40 24 <unknown>

cmpls p0.s, p0/z, z0.s, z1.s
// CHECK-INST: cmphs p0.s, p0/z, z1.s, z0.s
// CHECK-ENCODING: [0x20,0x00,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 00 80 24 <unknown>

cmpls p0.d, p0/z, z0.d, z1.d
// CHECK-INST: cmphs p0.d, p0/z, z1.d, z0.d
// CHECK-ENCODING: [0x20,0x00,0xc0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 00 c0 24 <unknown>

cmpls p0.b, p0/z, z0.b, z0.d
// CHECK-INST: cmpls p0.b, p0/z, z0.b, z0.d
// CHECK-ENCODING: [0x10,0xe0,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 e0 00 24 <unknown>

cmpls p0.h, p0/z, z0.h, z0.d
// CHECK-INST: cmpls p0.h, p0/z, z0.h, z0.d
// CHECK-ENCODING: [0x10,0xe0,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 e0 40 24 <unknown>

cmpls p0.s, p0/z, z0.s, z0.d
// CHECK-INST: cmpls p0.s, p0/z, z0.s, z0.d
// CHECK-ENCODING: [0x10,0xe0,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 e0 80 24 <unknown>

cmpls p0.b, p0/z, z0.b, #0
// CHECK-INST: cmpls p0.b, p0/z, z0.b, #0
// CHECK-ENCODING: [0x10,0x20,0x20,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 20 24 <unknown>

cmpls p0.h, p0/z, z0.h, #0
// CHECK-INST: cmpls p0.h, p0/z, z0.h, #0
// CHECK-ENCODING: [0x10,0x20,0x60,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 60 24 <unknown>

cmpls p0.s, p0/z, z0.s, #0
// CHECK-INST: cmpls p0.s, p0/z, z0.s, #0
// CHECK-ENCODING: [0x10,0x20,0xa0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 a0 24 <unknown>

cmpls p0.d, p0/z, z0.d, #0
// CHECK-INST: cmpls p0.d, p0/z, z0.d, #0
// CHECK-ENCODING: [0x10,0x20,0xe0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 e0 24 <unknown>

cmpls p0.b, p0/z, z0.b, #127
// CHECK-INST: cmpls p0.b, p0/z, z0.b, #127
// CHECK-ENCODING: [0x10,0xe0,0x3f,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 e0 3f 24 <unknown>

cmpls p0.h, p0/z, z0.h, #127
// CHECK-INST: cmpls p0.h, p0/z, z0.h, #127
// CHECK-ENCODING: [0x10,0xe0,0x7f,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 e0 7f 24 <unknown>

cmpls p0.s, p0/z, z0.s, #127
// CHECK-INST: cmpls p0.s, p0/z, z0.s, #127
// CHECK-ENCODING: [0x10,0xe0,0xbf,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 e0 bf 24 <unknown>

cmpls p0.d, p0/z, z0.d, #127
// CHECK-INST: cmpls p0.d, p0/z, z0.d, #127
// CHECK-ENCODING: [0x10,0xe0,0xff,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 e0 ff 24 <unknown>
32 changes: 17 additions & 15 deletions llvm/test/MC/AArch64/SVE/cmplt.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,89 +12,89 @@
cmplt p0.b, p0/z, z0.b, z1.b
// CHECK-INST: cmpgt p0.b, p0/z, z1.b, z0.b
// CHECK-ENCODING: [0x30,0x80,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 80 00 24 <unknown>

cmplt p0.h, p0/z, z0.h, z1.h
// CHECK-INST: cmpgt p0.h, p0/z, z1.h, z0.h
// CHECK-ENCODING: [0x30,0x80,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 80 40 24 <unknown>

cmplt p0.s, p0/z, z0.s, z1.s
// CHECK-INST: cmpgt p0.s, p0/z, z1.s, z0.s
// CHECK-ENCODING: [0x30,0x80,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 80 80 24 <unknown>

cmplt p0.d, p0/z, z0.d, z1.d
// CHECK-INST: cmpgt p0.d, p0/z, z1.d, z0.d
// CHECK-ENCODING: [0x30,0x80,0xc0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 30 80 c0 24 <unknown>

cmplt p0.b, p0/z, z0.b, z0.d
// CHECK-INST: cmplt p0.b, p0/z, z0.b, z0.d
// CHECK-ENCODING: [0x00,0x60,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 60 00 24 <unknown>

cmplt p0.h, p0/z, z0.h, z0.d
// CHECK-INST: cmplt p0.h, p0/z, z0.h, z0.d
// CHECK-ENCODING: [0x00,0x60,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 60 40 24 <unknown>

cmplt p0.s, p0/z, z0.s, z0.d
// CHECK-INST: cmplt p0.s, p0/z, z0.s, z0.d
// CHECK-ENCODING: [0x00,0x60,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 60 80 24 <unknown>

cmplt p0.b, p0/z, z0.b, #-16
// CHECK-INST: cmplt p0.b, p0/z, z0.b, #-16
// CHECK-ENCODING: [0x00,0x20,0x10,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 10 25 <unknown>

cmplt p0.h, p0/z, z0.h, #-16
// CHECK-INST: cmplt p0.h, p0/z, z0.h, #-16
// CHECK-ENCODING: [0x00,0x20,0x50,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 50 25 <unknown>

cmplt p0.s, p0/z, z0.s, #-16
// CHECK-INST: cmplt p0.s, p0/z, z0.s, #-16
// CHECK-ENCODING: [0x00,0x20,0x90,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 90 25 <unknown>

cmplt p0.d, p0/z, z0.d, #-16
// CHECK-INST: cmplt p0.d, p0/z, z0.d, #-16
// CHECK-ENCODING: [0x00,0x20,0xd0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 d0 25 <unknown>

cmplt p0.b, p0/z, z0.b, #15
// CHECK-INST: cmplt p0.b, p0/z, z0.b, #15
// CHECK-ENCODING: [0x00,0x20,0x0f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 0f 25 <unknown>

cmplt p0.h, p0/z, z0.h, #15
// CHECK-INST: cmplt p0.h, p0/z, z0.h, #15
// CHECK-ENCODING: [0x00,0x20,0x4f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 4f 25 <unknown>

cmplt p0.s, p0/z, z0.s, #15
// CHECK-INST: cmplt p0.s, p0/z, z0.s, #15
// CHECK-ENCODING: [0x00,0x20,0x8f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 8f 25 <unknown>

cmplt p0.d, p0/z, z0.d, #15
// CHECK-INST: cmplt p0.d, p0/z, z0.d, #15
// CHECK-ENCODING: [0x00,0x20,0xcf,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 cf 25 <unknown>
32 changes: 17 additions & 15 deletions llvm/test/MC/AArch64/SVE/cmpne.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -11,89 +13,89 @@
cmpne p0.b, p0/z, z0.b, z0.b
// CHECK-INST: cmpne p0.b, p0/z, z0.b, z0.b
// CHECK-ENCODING: [0x10,0xa0,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 a0 00 24 <unknown>

cmpne p0.h, p0/z, z0.h, z0.h
// CHECK-INST: cmpne p0.h, p0/z, z0.h, z0.h
// CHECK-ENCODING: [0x10,0xa0,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 a0 40 24 <unknown>

cmpne p0.s, p0/z, z0.s, z0.s
// CHECK-INST: cmpne p0.s, p0/z, z0.s, z0.s
// CHECK-ENCODING: [0x10,0xa0,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 a0 80 24 <unknown>

cmpne p0.d, p0/z, z0.d, z0.d
// CHECK-INST: cmpne p0.d, p0/z, z0.d, z0.d
// CHECK-ENCODING: [0x10,0xa0,0xc0,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 a0 c0 24 <unknown>

cmpne p0.b, p0/z, z0.b, z0.d
// CHECK-INST: cmpne p0.b, p0/z, z0.b, z0.d
// CHECK-ENCODING: [0x10,0x20,0x00,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 00 24 <unknown>

cmpne p0.h, p0/z, z0.h, z0.d
// CHECK-INST: cmpne p0.h, p0/z, z0.h, z0.d
// CHECK-ENCODING: [0x10,0x20,0x40,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 40 24 <unknown>

cmpne p0.s, p0/z, z0.s, z0.d
// CHECK-INST: cmpne p0.s, p0/z, z0.s, z0.d
// CHECK-ENCODING: [0x10,0x20,0x80,0x24]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 20 80 24 <unknown>

cmpne p0.b, p0/z, z0.b, #-16
// CHECK-INST: cmpne p0.b, p0/z, z0.b, #-16
// CHECK-ENCODING: [0x10,0x80,0x10,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 10 25 <unknown>

cmpne p0.h, p0/z, z0.h, #-16
// CHECK-INST: cmpne p0.h, p0/z, z0.h, #-16
// CHECK-ENCODING: [0x10,0x80,0x50,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 50 25 <unknown>

cmpne p0.s, p0/z, z0.s, #-16
// CHECK-INST: cmpne p0.s, p0/z, z0.s, #-16
// CHECK-ENCODING: [0x10,0x80,0x90,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 90 25 <unknown>

cmpne p0.d, p0/z, z0.d, #-16
// CHECK-INST: cmpne p0.d, p0/z, z0.d, #-16
// CHECK-ENCODING: [0x10,0x80,0xd0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 d0 25 <unknown>

cmpne p0.b, p0/z, z0.b, #15
// CHECK-INST: cmpne p0.b, p0/z, z0.b, #15
// CHECK-ENCODING: [0x10,0x80,0x0f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 0f 25 <unknown>

cmpne p0.h, p0/z, z0.h, #15
// CHECK-INST: cmpne p0.h, p0/z, z0.h, #15
// CHECK-ENCODING: [0x10,0x80,0x4f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 4f 25 <unknown>

cmpne p0.s, p0/z, z0.s, #15
// CHECK-INST: cmpne p0.s, p0/z, z0.s, #15
// CHECK-ENCODING: [0x10,0x80,0x8f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 8f 25 <unknown>

cmpne p0.d, p0/z, z0.d, #15
// CHECK-INST: cmpne p0.d, p0/z, z0.d, #15
// CHECK-ENCODING: [0x10,0x80,0xcf,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 10 80 cf 25 <unknown>
18 changes: 10 additions & 8 deletions llvm/test/MC/AArch64/SVE/cnot.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,25 +12,25 @@
cnot z31.b, p7/m, z31.b
// CHECK-INST: cnot z31.b, p7/m, z31.b
// CHECK-ENCODING: [0xff,0xbf,0x1b,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 1b 04 <unknown>

cnot z31.h, p7/m, z31.h
// CHECK-INST: cnot z31.h, p7/m, z31.h
// CHECK-ENCODING: [0xff,0xbf,0x5b,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 5b 04 <unknown>

cnot z31.s, p7/m, z31.s
// CHECK-INST: cnot z31.s, p7/m, z31.s
// CHECK-ENCODING: [0xff,0xbf,0x9b,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 9b 04 <unknown>

cnot z31.d, p7/m, z31.d
// CHECK-INST: cnot z31.d, p7/m, z31.d
// CHECK-ENCODING: [0xff,0xbf,0xdb,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf db 04 <unknown>


Expand All @@ -38,23 +40,23 @@ cnot z31.d, p7/m, z31.d
movprfx z4.d, p7/z, z6.d
// CHECK-INST: movprfx z4.d, p7/z, z6.d
// CHECK-ENCODING: [0xc4,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 3c d0 04 <unknown>

cnot z4.d, p7/m, z31.d
// CHECK-INST: cnot z4.d, p7/m, z31.d
// CHECK-ENCODING: [0xe4,0xbf,0xdb,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 bf db 04 <unknown>

movprfx z4, z6
// CHECK-INST: movprfx z4, z6
// CHECK-ENCODING: [0xc4,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 bc 20 04 <unknown>

cnot z4.d, p7/m, z31.d
// CHECK-INST: cnot z4.d, p7/m, z31.d
// CHECK-ENCODING: [0xe4,0xbf,0xdb,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 bf db 04 <unknown>
18 changes: 10 additions & 8 deletions llvm/test/MC/AArch64/SVE/cnt.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,25 +12,25 @@
cnt z31.b, p7/m, z31.b
// CHECK-INST: cnt z31.b, p7/m, z31.b
// CHECK-ENCODING: [0xff,0xbf,0x1a,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 1a 04 <unknown>

cnt z31.h, p7/m, z31.h
// CHECK-INST: cnt z31.h, p7/m, z31.h
// CHECK-ENCODING: [0xff,0xbf,0x5a,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 5a 04 <unknown>

cnt z31.s, p7/m, z31.s
// CHECK-INST: cnt z31.s, p7/m, z31.s
// CHECK-ENCODING: [0xff,0xbf,0x9a,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf 9a 04 <unknown>

cnt z31.d, p7/m, z31.d
// CHECK-INST: cnt z31.d, p7/m, z31.d
// CHECK-ENCODING: [0xff,0xbf,0xda,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff bf da 04 <unknown>


Expand All @@ -38,23 +40,23 @@ cnt z31.d, p7/m, z31.d
movprfx z4.d, p7/z, z6.d
// CHECK-INST: movprfx z4.d, p7/z, z6.d
// CHECK-ENCODING: [0xc4,0x3c,0xd0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 3c d0 04 <unknown>

cnt z4.d, p7/m, z31.d
// CHECK-INST: cnt z4.d, p7/m, z31.d
// CHECK-ENCODING: [0xe4,0xbf,0xda,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 bf da 04 <unknown>

movprfx z4, z6
// CHECK-INST: movprfx z4, z6
// CHECK-ENCODING: [0xc4,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 bc 20 04 <unknown>

cnt z4.d, p7/m, z31.d
// CHECK-INST: cnt z4.d, p7/m, z31.d
// CHECK-ENCODING: [0xe4,0xbf,0xda,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 bf da 04 <unknown>
14 changes: 8 additions & 6 deletions llvm/test/MC/AArch64/SVE/cntb.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,35 +12,35 @@
cntb x0
// CHECK-INST: cntb x0
// CHECK-ENCODING: [0xe0,0xe3,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 20 04 <unknown>

cntb x0, all
// CHECK-INST: cntb x0
// CHECK-ENCODING: [0xe0,0xe3,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 20 04 <unknown>

cntb x0, all, mul #1
// CHECK-INST: cntb x0
// CHECK-ENCODING: [0xe0,0xe3,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 20 04 <unknown>

cntb x0, all, mul #16
// CHECK-INST: cntb x0, all, mul #16
// CHECK-ENCODING: [0xe0,0xe3,0x2f,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 2f 04 <unknown>

cntb x0, pow2
// CHECK-INST: cntb x0, pow2
// CHECK-ENCODING: [0x00,0xe0,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 20 04 <unknown>

cntb x0, #28
// CHECK-INST: cntb x0, #28
// CHECK-ENCODING: [0x80,0xe3,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e3 20 04 <unknown>
14 changes: 8 additions & 6 deletions llvm/test/MC/AArch64/SVE/cntd.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,35 +12,35 @@
cntd x0
// CHECK-INST: cntd x0
// CHECK-ENCODING: [0xe0,0xe3,0xe0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 e0 04 <unknown>

cntd x0, all
// CHECK-INST: cntd x0
// CHECK-ENCODING: [0xe0,0xe3,0xe0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 e0 04 <unknown>

cntd x0, all, mul #1
// CHECK-INST: cntd x0
// CHECK-ENCODING: [0xe0,0xe3,0xe0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 e0 04 <unknown>

cntd x0, all, mul #16
// CHECK-INST: cntd x0, all, mul #16
// CHECK-ENCODING: [0xe0,0xe3,0xef,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 ef 04 <unknown>

cntd x0, pow2
// CHECK-INST: cntd x0, pow2
// CHECK-ENCODING: [0x00,0xe0,0xe0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 e0 04 <unknown>

cntd x0, #28
// CHECK-INST: cntd x0, #28
// CHECK-ENCODING: [0x80,0xe3,0xe0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e3 e0 04 <unknown>
14 changes: 8 additions & 6 deletions llvm/test/MC/AArch64/SVE/cnth.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,35 +12,35 @@
cnth x0
// CHECK-INST: cnth x0
// CHECK-ENCODING: [0xe0,0xe3,0x60,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 60 04 <unknown>

cnth x0, all
// CHECK-INST: cnth x0
// CHECK-ENCODING: [0xe0,0xe3,0x60,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 60 04 <unknown>

cnth x0, all, mul #1
// CHECK-INST: cnth x0
// CHECK-ENCODING: [0xe0,0xe3,0x60,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 60 04 <unknown>

cnth x0, all, mul #16
// CHECK-INST: cnth x0, all, mul #16
// CHECK-ENCODING: [0xe0,0xe3,0x6f,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 6f 04 <unknown>

cnth x0, pow2
// CHECK-INST: cnth x0, pow2
// CHECK-ENCODING: [0x00,0xe0,0x60,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 60 04 <unknown>

cnth x0, #28
// CHECK-INST: cnth x0, #28
// CHECK-ENCODING: [0x80,0xe3,0x60,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e3 60 04 <unknown>
10 changes: 6 additions & 4 deletions llvm/test/MC/AArch64/SVE/cntp.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,23 +12,23 @@
cntp x0, p15, p0.b
// CHECK-INST: cntp x0, p15, p0.b
// CHECK-ENCODING: [0x00,0xbc,0x20,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 bc 20 25 <unknown>

cntp x0, p15, p0.h
// CHECK-INST: cntp x0, p15, p0.h
// CHECK-ENCODING: [0x00,0xbc,0x60,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 bc 60 25 <unknown>

cntp x0, p15, p0.s
// CHECK-INST: cntp x0, p15, p0.s
// CHECK-ENCODING: [0x00,0xbc,0xa0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 bc a0 25 <unknown>

cntp x0, p15, p0.d
// CHECK-INST: cntp x0, p15, p0.d
// CHECK-ENCODING: [0x00,0xbc,0xe0,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 bc e0 25 <unknown>
14 changes: 8 additions & 6 deletions llvm/test/MC/AArch64/SVE/cntw.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,35 +12,35 @@
cntw x0
// CHECK-INST: cntw x0
// CHECK-ENCODING: [0xe0,0xe3,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 a0 04 <unknown>

cntw x0, all
// CHECK-INST: cntw x0
// CHECK-ENCODING: [0xe0,0xe3,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 a0 04 <unknown>

cntw x0, all, mul #1
// CHECK-INST: cntw x0
// CHECK-ENCODING: [0xe0,0xe3,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 a0 04 <unknown>

cntw x0, all, mul #16
// CHECK-INST: cntw x0, all, mul #16
// CHECK-ENCODING: [0xe0,0xe3,0xaf,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e3 af 04 <unknown>

cntw x0, pow2
// CHECK-INST: cntw x0, pow2
// CHECK-ENCODING: [0x00,0xe0,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e0 a0 04 <unknown>

cntw x0, #28
// CHECK-INST: cntw x0, #28
// CHECK-ENCODING: [0x80,0xe3,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e3 a0 04 <unknown>
2 changes: 2 additions & 0 deletions llvm/test/MC/AArch64/SVE/compact.s
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
// RUN: | llvm-objdump -d --mattr=+sve - | FileCheck %s --check-prefix=CHECK-INST
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand Down
120 changes: 61 additions & 59 deletions llvm/test/MC/AArch64/SVE/cpy.s

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions llvm/test/MC/AArch64/SVE/ctermeq.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,23 +12,23 @@
ctermeq w30, wzr
// CHECK-INST: ctermeq w30, wzr
// CHECK-ENCODING: [0xc0,0x23,0xbf,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 23 bf 25 <unknown>

ctermeq wzr, w30
// CHECK-INST: ctermeq wzr, w30
// CHECK-ENCODING: [0xe0,0x23,0xbe,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 23 be 25 <unknown>

ctermeq x30, xzr
// CHECK-INST: ctermeq x30, xzr
// CHECK-ENCODING: [0xc0,0x23,0xff,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 23 ff 25 <unknown>

ctermeq xzr, x30
// CHECK-INST: ctermeq xzr, x30
// CHECK-ENCODING: [0xe0,0x23,0xfe,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 23 fe 25 <unknown>
10 changes: 6 additions & 4 deletions llvm/test/MC/AArch64/SVE/ctermne.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,23 +12,23 @@
ctermne w30, wzr
// CHECK-INST: ctermne w30, wzr
// CHECK-ENCODING: [0xd0,0x23,0xbf,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: d0 23 bf 25 <unknown>

ctermne wzr, w30
// CHECK-INST: ctermne wzr, w30
// CHECK-ENCODING: [0xf0,0x23,0xbe,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f0 23 be 25 <unknown>

ctermne x30, xzr
// CHECK-INST: ctermne x30, xzr
// CHECK-ENCODING: [0xd0,0x23,0xff,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: d0 23 ff 25 <unknown>

ctermne xzr, x30
// CHECK-INST: ctermne xzr, x30
// CHECK-ENCODING: [0xf0,0x23,0xfe,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f0 23 fe 25 <unknown>
42 changes: 22 additions & 20 deletions llvm/test/MC/AArch64/SVE/decb.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,119 +12,119 @@
decb x0
// CHECK-INST: decb x0
// CHECK-ENCODING: [0xe0,0xe7,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 30 04 <unknown>

decb x0, all
// CHECK-INST: decb x0
// CHECK-ENCODING: [0xe0,0xe7,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 30 04 <unknown>

decb x0, all, mul #1
// CHECK-INST: decb x0
// CHECK-ENCODING: [0xe0,0xe7,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 30 04 <unknown>

decb x0, all, mul #16
// CHECK-INST: decb x0, all, mul #16
// CHECK-ENCODING: [0xe0,0xe7,0x3f,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 3f 04 <unknown>

decb x0, pow2
// CHECK-INST: decb x0, pow2
// CHECK-ENCODING: [0x00,0xe4,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e4 30 04 <unknown>

decb x0, vl1
// CHECK-INST: decb x0, vl1
// CHECK-ENCODING: [0x20,0xe4,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 e4 30 04 <unknown>

decb x0, vl2
// CHECK-INST: decb x0, vl2
// CHECK-ENCODING: [0x40,0xe4,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 40 e4 30 04 <unknown>

decb x0, vl3
// CHECK-INST: decb x0, vl3
// CHECK-ENCODING: [0x60,0xe4,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 60 e4 30 04 <unknown>

decb x0, vl4
// CHECK-INST: decb x0, vl4
// CHECK-ENCODING: [0x80,0xe4,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e4 30 04 <unknown>

decb x0, vl5
// CHECK-INST: decb x0, vl5
// CHECK-ENCODING: [0xa0,0xe4,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 e4 30 04 <unknown>

decb x0, vl6
// CHECK-INST: decb x0, vl6
// CHECK-ENCODING: [0xc0,0xe4,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 e4 30 04 <unknown>

decb x0, vl7
// CHECK-INST: decb x0, vl7
// CHECK-ENCODING: [0xe0,0xe4,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e4 30 04 <unknown>

decb x0, vl8
// CHECK-INST: decb x0, vl8
// CHECK-ENCODING: [0x00,0xe5,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e5 30 04 <unknown>

decb x0, vl16
// CHECK-INST: decb x0, vl16
// CHECK-ENCODING: [0x20,0xe5,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 e5 30 04 <unknown>

decb x0, vl32
// CHECK-INST: decb x0, vl32
// CHECK-ENCODING: [0x40,0xe5,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 40 e5 30 04 <unknown>

decb x0, vl64
// CHECK-INST: decb x0, vl64
// CHECK-ENCODING: [0x60,0xe5,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 60 e5 30 04 <unknown>

decb x0, vl128
// CHECK-INST: decb x0, vl128
// CHECK-ENCODING: [0x80,0xe5,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e5 30 04 <unknown>

decb x0, vl256
// CHECK-INST: decb x0, vl256
// CHECK-ENCODING: [0xa0,0xe5,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 e5 30 04 <unknown>

decb x0, #14
// CHECK-INST: decb x0, #14
// CHECK-ENCODING: [0xc0,0xe5,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 e5 30 04 <unknown>

decb x0, #28
// CHECK-INST: decb x0, #28
// CHECK-ENCODING: [0x80,0xe7,0x30,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e7 30 04 <unknown>
42 changes: 22 additions & 20 deletions llvm/test/MC/AArch64/SVE/decd.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,119 +12,119 @@
decd x0
// CHECK-INST: decd x0
// CHECK-ENCODING: [0xe0,0xe7,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 f0 04 <unknown>

decd x0, all
// CHECK-INST: decd x0
// CHECK-ENCODING: [0xe0,0xe7,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 f0 04 <unknown>

decd x0, all, mul #1
// CHECK-INST: decd x0
// CHECK-ENCODING: [0xe0,0xe7,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 f0 04 <unknown>

decd x0, all, mul #16
// CHECK-INST: decd x0, all, mul #16
// CHECK-ENCODING: [0xe0,0xe7,0xff,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 ff 04 <unknown>

decd x0, pow2
// CHECK-INST: decd x0, pow2
// CHECK-ENCODING: [0x00,0xe4,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e4 f0 04 <unknown>

decd x0, vl1
// CHECK-INST: decd x0, vl1
// CHECK-ENCODING: [0x20,0xe4,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 e4 f0 04 <unknown>

decd x0, vl2
// CHECK-INST: decd x0, vl2
// CHECK-ENCODING: [0x40,0xe4,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 40 e4 f0 04 <unknown>

decd x0, vl3
// CHECK-INST: decd x0, vl3
// CHECK-ENCODING: [0x60,0xe4,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 60 e4 f0 04 <unknown>

decd x0, vl4
// CHECK-INST: decd x0, vl4
// CHECK-ENCODING: [0x80,0xe4,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e4 f0 04 <unknown>

decd x0, vl5
// CHECK-INST: decd x0, vl5
// CHECK-ENCODING: [0xa0,0xe4,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 e4 f0 04 <unknown>

decd x0, vl6
// CHECK-INST: decd x0, vl6
// CHECK-ENCODING: [0xc0,0xe4,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 e4 f0 04 <unknown>

decd x0, vl7
// CHECK-INST: decd x0, vl7
// CHECK-ENCODING: [0xe0,0xe4,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e4 f0 04 <unknown>

decd x0, vl8
// CHECK-INST: decd x0, vl8
// CHECK-ENCODING: [0x00,0xe5,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e5 f0 04 <unknown>

decd x0, vl16
// CHECK-INST: decd x0, vl16
// CHECK-ENCODING: [0x20,0xe5,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 e5 f0 04 <unknown>

decd x0, vl32
// CHECK-INST: decd x0, vl32
// CHECK-ENCODING: [0x40,0xe5,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 40 e5 f0 04 <unknown>

decd x0, vl64
// CHECK-INST: decd x0, vl64
// CHECK-ENCODING: [0x60,0xe5,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 60 e5 f0 04 <unknown>

decd x0, vl128
// CHECK-INST: decd x0, vl128
// CHECK-ENCODING: [0x80,0xe5,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e5 f0 04 <unknown>

decd x0, vl256
// CHECK-INST: decd x0, vl256
// CHECK-ENCODING: [0xa0,0xe5,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 e5 f0 04 <unknown>

decd x0, #14
// CHECK-INST: decd x0, #14
// CHECK-ENCODING: [0xc0,0xe5,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 e5 f0 04 <unknown>

decd x0, #28
// CHECK-INST: decd x0, #28
// CHECK-ENCODING: [0x80,0xe7,0xf0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e7 f0 04 <unknown>
42 changes: 22 additions & 20 deletions llvm/test/MC/AArch64/SVE/dech.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,119 +12,119 @@
dech x0
// CHECK-INST: dech x0
// CHECK-ENCODING: [0xe0,0xe7,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 70 04 <unknown>

dech x0, all
// CHECK-INST: dech x0
// CHECK-ENCODING: [0xe0,0xe7,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 70 04 <unknown>

dech x0, all, mul #1
// CHECK-INST: dech x0
// CHECK-ENCODING: [0xe0,0xe7,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 70 04 <unknown>

dech x0, all, mul #16
// CHECK-INST: dech x0, all, mul #16
// CHECK-ENCODING: [0xe0,0xe7,0x7f,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 7f 04 <unknown>

dech x0, pow2
// CHECK-INST: dech x0, pow2
// CHECK-ENCODING: [0x00,0xe4,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e4 70 04 <unknown>

dech x0, vl1
// CHECK-INST: dech x0, vl1
// CHECK-ENCODING: [0x20,0xe4,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 e4 70 04 <unknown>

dech x0, vl2
// CHECK-INST: dech x0, vl2
// CHECK-ENCODING: [0x40,0xe4,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 40 e4 70 04 <unknown>

dech x0, vl3
// CHECK-INST: dech x0, vl3
// CHECK-ENCODING: [0x60,0xe4,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 60 e4 70 04 <unknown>

dech x0, vl4
// CHECK-INST: dech x0, vl4
// CHECK-ENCODING: [0x80,0xe4,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e4 70 04 <unknown>

dech x0, vl5
// CHECK-INST: dech x0, vl5
// CHECK-ENCODING: [0xa0,0xe4,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 e4 70 04 <unknown>

dech x0, vl6
// CHECK-INST: dech x0, vl6
// CHECK-ENCODING: [0xc0,0xe4,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 e4 70 04 <unknown>

dech x0, vl7
// CHECK-INST: dech x0, vl7
// CHECK-ENCODING: [0xe0,0xe4,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e4 70 04 <unknown>

dech x0, vl8
// CHECK-INST: dech x0, vl8
// CHECK-ENCODING: [0x00,0xe5,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e5 70 04 <unknown>

dech x0, vl16
// CHECK-INST: dech x0, vl16
// CHECK-ENCODING: [0x20,0xe5,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 e5 70 04 <unknown>

dech x0, vl32
// CHECK-INST: dech x0, vl32
// CHECK-ENCODING: [0x40,0xe5,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 40 e5 70 04 <unknown>

dech x0, vl64
// CHECK-INST: dech x0, vl64
// CHECK-ENCODING: [0x60,0xe5,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 60 e5 70 04 <unknown>

dech x0, vl128
// CHECK-INST: dech x0, vl128
// CHECK-ENCODING: [0x80,0xe5,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e5 70 04 <unknown>

dech x0, vl256
// CHECK-INST: dech x0, vl256
// CHECK-ENCODING: [0xa0,0xe5,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 e5 70 04 <unknown>

dech x0, #14
// CHECK-INST: dech x0, #14
// CHECK-ENCODING: [0xc0,0xe5,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 e5 70 04 <unknown>

dech x0, #28
// CHECK-INST: dech x0, #28
// CHECK-ENCODING: [0x80,0xe7,0x70,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e7 70 04 <unknown>
34 changes: 18 additions & 16 deletions llvm/test/MC/AArch64/SVE/decp.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,85 +12,85 @@
decp x0, p0.b
// CHECK-INST: decp x0, p0.b
// CHECK-ENCODING: [0x00,0x88,0x2d,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 88 2d 25 <unknown>

decp x0, p0.h
// CHECK-INST: decp x0, p0.h
// CHECK-ENCODING: [0x00,0x88,0x6d,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 88 6d 25 <unknown>

decp x0, p0.s
// CHECK-INST: decp x0, p0.s
// CHECK-ENCODING: [0x00,0x88,0xad,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 88 ad 25 <unknown>

decp x0, p0.d
// CHECK-INST: decp x0, p0.d
// CHECK-ENCODING: [0x00,0x88,0xed,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 88 ed 25 <unknown>

decp xzr, p15.b
// CHECK-INST: decp xzr, p15.b
// CHECK-ENCODING: [0xff,0x89,0x2d,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 89 2d 25 <unknown>

decp xzr, p15.h
// CHECK-INST: decp xzr, p15.h
// CHECK-ENCODING: [0xff,0x89,0x6d,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 89 6d 25 <unknown>

decp xzr, p15.s
// CHECK-INST: decp xzr, p15.s
// CHECK-ENCODING: [0xff,0x89,0xad,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 89 ad 25 <unknown>

decp xzr, p15.d
// CHECK-INST: decp xzr, p15.d
// CHECK-ENCODING: [0xff,0x89,0xed,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 89 ed 25 <unknown>

decp z31.h, p15
// CHECK-INST: decp z31.h, p15.h
// CHECK-ENCODING: [0xff,0x81,0x6d,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 81 6d 25 <unknown>

decp z31.h, p15.h
// CHECK-INST: decp z31.h, p15.h
// CHECK-ENCODING: [0xff,0x81,0x6d,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 81 6d 25 <unknown>

decp z31.s, p15
// CHECK-INST: decp z31.s, p15.s
// CHECK-ENCODING: [0xff,0x81,0xad,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 81 ad 25 <unknown>

decp z31.s, p15.s
// CHECK-INST: decp z31.s, p15.s
// CHECK-ENCODING: [0xff,0x81,0xad,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 81 ad 25 <unknown>

decp z31.d, p15
// CHECK-INST: decp z31.d, p15.d
// CHECK-ENCODING: [0xff,0x81,0xed,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 81 ed 25 <unknown>

decp z31.d, p15.d
// CHECK-INST: decp z31.d, p15.d
// CHECK-ENCODING: [0xff,0x81,0xed,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 81 ed 25 <unknown>


Expand All @@ -98,11 +100,11 @@ decp z31.d, p15.d
movprfx z31, z6
// CHECK-INST: movprfx z31, z6
// CHECK-ENCODING: [0xdf,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: df bc 20 04 <unknown>

decp z31.d, p15.d
// CHECK-INST: decp z31.d, p15
// CHECK-ENCODING: [0xff,0x81,0xed,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 81 ed 25 <unknown>
42 changes: 22 additions & 20 deletions llvm/test/MC/AArch64/SVE/decw.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,119 +12,119 @@
decw x0
// CHECK-INST: decw x0
// CHECK-ENCODING: [0xe0,0xe7,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 b0 04 <unknown>

decw x0, all
// CHECK-INST: decw x0
// CHECK-ENCODING: [0xe0,0xe7,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 b0 04 <unknown>

decw x0, all, mul #1
// CHECK-INST: decw x0
// CHECK-ENCODING: [0xe0,0xe7,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 b0 04 <unknown>

decw x0, all, mul #16
// CHECK-INST: decw x0, all, mul #16
// CHECK-ENCODING: [0xe0,0xe7,0xbf,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e7 bf 04 <unknown>

decw x0, pow2
// CHECK-INST: decw x0, pow2
// CHECK-ENCODING: [0x00,0xe4,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e4 b0 04 <unknown>

decw x0, vl1
// CHECK-INST: decw x0, vl1
// CHECK-ENCODING: [0x20,0xe4,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 e4 b0 04 <unknown>

decw x0, vl2
// CHECK-INST: decw x0, vl2
// CHECK-ENCODING: [0x40,0xe4,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 40 e4 b0 04 <unknown>

decw x0, vl3
// CHECK-INST: decw x0, vl3
// CHECK-ENCODING: [0x60,0xe4,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 60 e4 b0 04 <unknown>

decw x0, vl4
// CHECK-INST: decw x0, vl4
// CHECK-ENCODING: [0x80,0xe4,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e4 b0 04 <unknown>

decw x0, vl5
// CHECK-INST: decw x0, vl5
// CHECK-ENCODING: [0xa0,0xe4,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 e4 b0 04 <unknown>

decw x0, vl6
// CHECK-INST: decw x0, vl6
// CHECK-ENCODING: [0xc0,0xe4,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 e4 b0 04 <unknown>

decw x0, vl7
// CHECK-INST: decw x0, vl7
// CHECK-ENCODING: [0xe0,0xe4,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 e4 b0 04 <unknown>

decw x0, vl8
// CHECK-INST: decw x0, vl8
// CHECK-ENCODING: [0x00,0xe5,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 e5 b0 04 <unknown>

decw x0, vl16
// CHECK-INST: decw x0, vl16
// CHECK-ENCODING: [0x20,0xe5,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 e5 b0 04 <unknown>

decw x0, vl32
// CHECK-INST: decw x0, vl32
// CHECK-ENCODING: [0x40,0xe5,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 40 e5 b0 04 <unknown>

decw x0, vl64
// CHECK-INST: decw x0, vl64
// CHECK-ENCODING: [0x60,0xe5,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 60 e5 b0 04 <unknown>

decw x0, vl128
// CHECK-INST: decw x0, vl128
// CHECK-ENCODING: [0x80,0xe5,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e5 b0 04 <unknown>

decw x0, vl256
// CHECK-INST: decw x0, vl256
// CHECK-ENCODING: [0xa0,0xe5,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 e5 b0 04 <unknown>

decw x0, #14
// CHECK-INST: decw x0, #14
// CHECK-ENCODING: [0xc0,0xe5,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c0 e5 b0 04 <unknown>

decw x0, #28
// CHECK-INST: decw x0, #28
// CHECK-ENCODING: [0x80,0xe7,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 80 e7 b0 04 <unknown>
86 changes: 44 additions & 42 deletions llvm/test/MC/AArch64/SVE/dup.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,235 +12,235 @@
dup z0.b, w0
// CHECK-INST: mov z0.b, w0
// CHECK-ENCODING: [0x00,0x38,0x20,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 38 20 05 <unknown>

dup z0.h, w0
// CHECK-INST: mov z0.h, w0
// CHECK-ENCODING: [0x00,0x38,0x60,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 38 60 05 <unknown>

dup z0.s, w0
// CHECK-INST: mov z0.s, w0
// CHECK-ENCODING: [0x00,0x38,0xa0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 38 a0 05 <unknown>

dup z0.d, x0
// CHECK-INST: mov z0.d, x0
// CHECK-ENCODING: [0x00,0x38,0xe0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 38 e0 05 <unknown>

dup z31.h, wsp
// CHECK-INST: mov z31.h, wsp
// CHECK-ENCODING: [0xff,0x3b,0x60,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 3b 60 05 <unknown>

dup z31.s, wsp
// CHECK-INST: mov z31.s, wsp
// CHECK-ENCODING: [0xff,0x3b,0xa0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 3b a0 05 <unknown>

dup z31.d, sp
// CHECK-INST: mov z31.d, sp
// CHECK-ENCODING: [0xff,0x3b,0xe0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 3b e0 05 <unknown>

dup z31.b, wsp
// CHECK-INST: mov z31.b, wsp
// CHECK-ENCODING: [0xff,0x3b,0x20,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 3b 20 05 <unknown>

dup z5.b, #-128
// CHECK-INST: mov z5.b, #-128
// CHECK-ENCODING: [0x05,0xd0,0x38,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 05 d0 38 25 <unknown>

dup z5.b, #127
// CHECK-INST: mov z5.b, #127
// CHECK-ENCODING: [0xe5,0xcf,0x38,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e5 cf 38 25 <unknown>

dup z5.b, #255
// CHECK-INST: mov z5.b, #-1
// CHECK-ENCODING: [0xe5,0xdf,0x38,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e5 df 38 25 <unknown>

dup z21.h, #-128
// CHECK-INST: mov z21.h, #-128
// CHECK-ENCODING: [0x15,0xd0,0x78,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 d0 78 25 <unknown>

dup z21.h, #-128, lsl #8
// CHECK-INST: mov z21.h, #-32768
// CHECK-ENCODING: [0x15,0xf0,0x78,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 f0 78 25 <unknown>

dup z21.h, #-32768
// CHECK-INST: mov z21.h, #-32768
// CHECK-ENCODING: [0x15,0xf0,0x78,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 f0 78 25 <unknown>

dup z21.h, #127
// CHECK-INST: mov z21.h, #127
// CHECK-ENCODING: [0xf5,0xcf,0x78,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 cf 78 25 <unknown>

dup z21.h, #127, lsl #8
// CHECK-INST: mov z21.h, #32512
// CHECK-ENCODING: [0xf5,0xef,0x78,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 ef 78 25 <unknown>

dup z21.h, #32512
// CHECK-INST: mov z21.h, #32512
// CHECK-ENCODING: [0xf5,0xef,0x78,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 ef 78 25 <unknown>

dup z21.s, #-128
// CHECK-INST: mov z21.s, #-128
// CHECK-ENCODING: [0x15,0xd0,0xb8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 d0 b8 25 <unknown>

dup z21.s, #-128, lsl #8
// CHECK-INST: mov z21.s, #-32768
// CHECK-ENCODING: [0x15,0xf0,0xb8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 f0 b8 25 <unknown>

dup z21.s, #-32768
// CHECK-INST: mov z21.s, #-32768
// CHECK-ENCODING: [0x15,0xf0,0xb8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 f0 b8 25 <unknown>

dup z21.s, #127
// CHECK-INST: mov z21.s, #127
// CHECK-ENCODING: [0xf5,0xcf,0xb8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 cf b8 25 <unknown>

dup z21.s, #127, lsl #8
// CHECK-INST: mov z21.s, #32512
// CHECK-ENCODING: [0xf5,0xef,0xb8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 ef b8 25 <unknown>

dup z21.s, #32512
// CHECK-INST: mov z21.s, #32512
// CHECK-ENCODING: [0xf5,0xef,0xb8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 ef b8 25 <unknown>

dup z21.d, #-128
// CHECK-INST: mov z21.d, #-128
// CHECK-ENCODING: [0x15,0xd0,0xf8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 d0 f8 25 <unknown>

dup z21.d, #-128, lsl #8
// CHECK-INST: mov z21.d, #-32768
// CHECK-ENCODING: [0x15,0xf0,0xf8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 f0 f8 25 <unknown>

dup z21.d, #-32768
// CHECK-INST: mov z21.d, #-32768
// CHECK-ENCODING: [0x15,0xf0,0xf8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 15 f0 f8 25 <unknown>

dup z21.d, #127
// CHECK-INST: mov z21.d, #127
// CHECK-ENCODING: [0xf5,0xcf,0xf8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 cf f8 25 <unknown>

dup z21.d, #127, lsl #8
// CHECK-INST: mov z21.d, #32512
// CHECK-ENCODING: [0xf5,0xef,0xf8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 ef f8 25 <unknown>

dup z21.d, #32512
// CHECK-INST: mov z21.d, #32512
// CHECK-ENCODING: [0xf5,0xef,0xf8,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: f5 ef f8 25 <unknown>

dup z0.b, z0.b[0]
// CHECK-INST: mov z0.b, b0
// CHECK-ENCODING: [0x00,0x20,0x21,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 21 05 <unknown>

dup z0.h, z0.h[0]
// CHECK-INST: mov z0.h, h0
// CHECK-ENCODING: [0x00,0x20,0x22,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 22 05 <unknown>

dup z0.s, z0.s[0]
// CHECK-INST: mov z0.s, s0
// CHECK-ENCODING: [0x00,0x20,0x24,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 24 05 <unknown>

dup z0.d, z0.d[0]
// CHECK-INST: mov z0.d, d0
// CHECK-ENCODING: [0x00,0x20,0x28,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 28 05 <unknown>

dup z0.q, z0.q[0]
// CHECK-INST: mov z0.q, q0
// CHECK-ENCODING: [0x00,0x20,0x30,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 20 30 05 <unknown>

dup z31.b, z31.b[63]
// CHECK-INST: mov z31.b, z31.b[63]
// CHECK-ENCODING: [0xff,0x23,0xff,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 23 ff 05 <unknown>

dup z31.h, z31.h[31]
// CHECK-INST: mov z31.h, z31.h[31]
// CHECK-ENCODING: [0xff,0x23,0xfe,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 23 fe 05 <unknown>

dup z31.s, z31.s[15]
// CHECK-INST: mov z31.s, z31.s[15]
// CHECK-ENCODING: [0xff,0x23,0xfc,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 23 fc 05 <unknown>

dup z31.d, z31.d[7]
// CHECK-INST: mov z31.d, z31.d[7]
// CHECK-ENCODING: [0xff,0x23,0xf8,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 23 f8 05 <unknown>

dup z5.q, z17.q[3]
// CHECK-INST: mov z5.q, z17.q[3]
// CHECK-ENCODING: [0x25,0x22,0xf0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 25 22 f0 05 <unknown>

// --------------------------------------------------------------------------//
Expand All @@ -248,17 +250,17 @@ dup z5.q, z17.q[3]
dup z0.b, #-129
// CHECK-INST: mov z0.b, #127
// CHECK-ENCODING: [0xe0,0xcf,0x38,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 cf 38 25 <unknown>

dup z0.h, #-33024
// CHECK-INST: mov z0.h, #32512
// CHECK-ENCODING: [0xe0,0xef,0x78,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 ef 78 25 <unknown>

dup z0.h, #-129, lsl #8
// CHECK-INST: mov z0.h, #32512
// CHECK-ENCODING: [0xe0,0xef,0x78,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 ef 78 25 <unknown>
22 changes: 12 additions & 10 deletions llvm/test/MC/AArch64/SVE/dupm.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,59 +12,59 @@
dupm z5.b, #0xf9
// CHECK-INST: dupm z5.b, #0xf9
// CHECK-ENCODING: [0xa5,0x2e,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a5 2e c0 05 <unknown>

dupm z5.h, #0xf9f9
// CHECK-INST: dupm z5.b, #0xf9
// CHECK-ENCODING: [0xa5,0x2e,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a5 2e c0 05 <unknown>

dupm z5.s, #0xf9f9f9f9
// CHECK-INST: dupm z5.b, #0xf9
// CHECK-ENCODING: [0xa5,0x2e,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a5 2e c0 05 <unknown>

dupm z5.d, #0xf9f9f9f9f9f9f9f9
// CHECK-INST: dupm z5.b, #0xf9
// CHECK-ENCODING: [0xa5,0x2e,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a5 2e c0 05 <unknown>

dupm z23.h, #0xfff9
// CHECK-INST: dupm z23.h, #0xfff9
// CHECK-ENCODING: [0xb7,0x6d,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 6d c0 05 <unknown>

dupm z23.s, #0xfff9fff9
// CHECK-INST: dupm z23.h, #0xfff9
// CHECK-ENCODING: [0xb7,0x6d,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 6d c0 05 <unknown>

dupm z23.d, #0xfff9fff9fff9fff9
// CHECK-INST: dupm z23.h, #0xfff9
// CHECK-ENCODING: [0xb7,0x6d,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 6d c0 05 <unknown>

dupm z0.s, #0xfffffff9
// CHECK-INST: dupm z0.s, #0xfffffff9
// CHECK-ENCODING: [0xa0,0xeb,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 eb c0 05 <unknown>

dupm z0.d, #0xfffffff9fffffff9
// CHECK-INST: dupm z0.s, #0xfffffff9
// CHECK-ENCODING: [0xa0,0xeb,0xc0,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 eb c0 05 <unknown>

dupm z0.d, #0xfffffffffffffff9
// CHECK-INST: dupm z0.d, #0xfffffffffffffff9
// CHECK-ENCODING: [0xa0,0xef,0xc3,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 ef c3 05 <unknown>
22 changes: 12 additions & 10 deletions llvm/test/MC/AArch64/SVE/eon.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,49 +12,49 @@
eon z5.b, z5.b, #0xf9
// CHECK-INST: eor z5.b, z5.b, #0x6
// CHECK-ENCODING: [0x25,0x3e,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 25 3e 40 05 <unknown>

eon z23.h, z23.h, #0xfff9
// CHECK-INST: eor z23.h, z23.h, #0x6
// CHECK-ENCODING: [0x37,0x7c,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 37 7c 40 05 <unknown>

eon z0.s, z0.s, #0xfffffff9
// CHECK-INST: eor z0.s, z0.s, #0x6
// CHECK-ENCODING: [0x20,0xf8,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 f8 40 05 <unknown>

eon z0.d, z0.d, #0xfffffffffffffff9
// CHECK-INST: eor z0.d, z0.d, #0x6
// CHECK-ENCODING: [0x20,0xf8,0x43,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 f8 43 05 <unknown>

eon z5.b, z5.b, #0x6
// CHECK-INST: eor z5.b, z5.b, #0xf9
// CHECK-ENCODING: [0xa5,0x2e,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a5 2e 40 05 <unknown>

eon z23.h, z23.h, #0x6
// CHECK-INST: eor z23.h, z23.h, #0xfff9
// CHECK-ENCODING: [0xb7,0x6d,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 6d 40 05 <unknown>

eon z0.s, z0.s, #0x6
// CHECK-INST: eor z0.s, z0.s, #0xfffffff9
// CHECK-ENCODING: [0xa0,0xeb,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 eb 40 05 <unknown>

eon z0.d, z0.d, #0x6
// CHECK-INST: eor z0.d, z0.d, #0xfffffffffffffff9
// CHECK-ENCODING: [0xa0,0xef,0x43,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 ef 43 05 <unknown>


Expand All @@ -62,11 +64,11 @@ eon z0.d, z0.d, #0x6
movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bc 20 04 <unknown>

eon z0.d, z0.d, #0x6
// CHECK-INST: eor z0.d, z0.d, #0xfffffffffffffff9
// CHECK-ENCODING: [0xa0,0xef,0x43,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 ef 43 05 <unknown>
54 changes: 28 additions & 26 deletions llvm/test/MC/AArch64/SVE/eor.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,103 +12,103 @@
eor z5.b, z5.b, #0xf9
// CHECK-INST: eor z5.b, z5.b, #0xf9
// CHECK-ENCODING: [0xa5,0x2e,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a5 2e 40 05 <unknown>

eor z23.h, z23.h, #0xfff9
// CHECK-INST: eor z23.h, z23.h, #0xfff9
// CHECK-ENCODING: [0xb7,0x6d,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 6d 40 05 <unknown>

eor z0.s, z0.s, #0xfffffff9
// CHECK-INST: eor z0.s, z0.s, #0xfffffff9
// CHECK-ENCODING: [0xa0,0xeb,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 eb 40 05 <unknown>

eor z0.d, z0.d, #0xfffffffffffffff9
// CHECK-INST: eor z0.d, z0.d, #0xfffffffffffffff9
// CHECK-ENCODING: [0xa0,0xef,0x43,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: a0 ef 43 05 <unknown>

eor z5.b, z5.b, #0x6
// CHECK-INST: eor z5.b, z5.b, #0x6
// CHECK-ENCODING: [0x25,0x3e,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 25 3e 40 05 <unknown>

eor z23.h, z23.h, #0x6
// CHECK-INST: eor z23.h, z23.h, #0x6
// CHECK-ENCODING: [0x37,0x7c,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 37 7c 40 05 <unknown>

eor z0.s, z0.s, #0x6
// CHECK-INST: eor z0.s, z0.s, #0x6
// CHECK-ENCODING: [0x20,0xf8,0x40,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 f8 40 05 <unknown>

eor z0.d, z0.d, #0x6
// CHECK-INST: eor z0.d, z0.d, #0x6
// CHECK-ENCODING: [0x20,0xf8,0x43,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 f8 43 05 <unknown>

eor z23.d, z13.d, z8.d
// CHECK-INST: eor z23.d, z13.d, z8.d
// CHECK-ENCODING: [0xb7,0x31,0xa8,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: b7 31 a8 04 <unknown>

eor z0.d, z0.d, z0.d
// CHECK-INST: eor z0.d, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x30,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 30 a0 04 <unknown>

eor z31.s, p7/m, z31.s, z31.s
// CHECK-INST: eor z31.s, p7/m, z31.s, z31.s
// CHECK-ENCODING: [0xff,0x1f,0x99,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f 99 04 <unknown>

eor z31.h, p7/m, z31.h, z31.h
// CHECK-INST: eor z31.h, p7/m, z31.h, z31.h
// CHECK-ENCODING: [0xff,0x1f,0x59,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f 59 04 <unknown>

eor z31.d, p7/m, z31.d, z31.d
// CHECK-INST: eor z31.d, p7/m, z31.d, z31.d
// CHECK-ENCODING: [0xff,0x1f,0xd9,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f d9 04 <unknown>

eor z31.b, p7/m, z31.b, z31.b
// CHECK-INST: eor z31.b, p7/m, z31.b, z31.b
// CHECK-ENCODING: [0xff,0x1f,0x19,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ff 1f 19 04 <unknown>

eor p0.b, p0/z, p0.b, p1.b
// CHECK-INST: eor p0.b, p0/z, p0.b, p1.b
// CHECK-ENCODING: [0x00,0x42,0x01,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 42 01 25 <unknown>

eor p0.b, p0/z, p0.b, p0.b
// CHECK-INST: not p0.b, p0/z, p0.b
// CHECK-ENCODING: [0x00,0x42,0x00,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 42 00 25 <unknown>

eor p15.b, p15/z, p15.b, p15.b
// CHECK-INST: not p15.b, p15/z, p15.b
// CHECK-ENCODING: [0xef,0x7f,0x0f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ef 7f 0f 25 <unknown>


Expand All @@ -116,19 +118,19 @@ eor p15.b, p15/z, p15.b, p15.b
eor z0.s, z0.s, z0.s
// CHECK-INST: eor z0.d, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x30,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 30 a0 04 <unknown>

eor z0.h, z0.h, z0.h
// CHECK-INST: eor z0.d, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x30,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 30 a0 04 <unknown>

eor z0.b, z0.b, z0.b
// CHECK-INST: eor z0.d, z0.d, z0.d
// CHECK-ENCODING: [0x00,0x30,0xa0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 30 a0 04 <unknown>


Expand All @@ -138,35 +140,35 @@ eor z0.b, z0.b, z0.b
movprfx z4.b, p7/z, z6.b
// CHECK-INST: movprfx z4.b, p7/z, z6.b
// CHECK-ENCODING: [0xc4,0x3c,0x10,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 3c 10 04 <unknown>

eor z4.b, p7/m, z4.b, z31.b
// CHECK-INST: eor z4.b, p7/m, z4.b, z31.b
// CHECK-ENCODING: [0xe4,0x1f,0x19,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 1f 19 04 <unknown>

movprfx z4, z6
// CHECK-INST: movprfx z4, z6
// CHECK-ENCODING: [0xc4,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: c4 bc 20 04 <unknown>

eor z4.b, p7/m, z4.b, z31.b
// CHECK-INST: eor z4.b, p7/m, z4.b, z31.b
// CHECK-ENCODING: [0xe4,0x1f,0x19,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e4 1f 19 04 <unknown>

movprfx z0, z7
// CHECK-INST: movprfx z0, z7
// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 bc 20 04 <unknown>

eor z0.d, z0.d, #0x6
// CHECK-INST: eor z0.d, z0.d, #0x6
// CHECK-ENCODING: [0x20,0xf8,0x43,0x05]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 20 f8 43 05 <unknown>
8 changes: 5 additions & 3 deletions llvm/test/MC/AArch64/SVE/eors.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,17 +12,17 @@
eors p0.b, p0/z, p0.b, p1.b
// CHECK-INST: eors p0.b, p0/z, p0.b, p1.b
// CHECK-ENCODING: [0x00,0x42,0x41,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 42 41 25 <unknown>

eors p0.b, p0/z, p0.b, p0.b
// CHECK-INST: nots p0.b, p0/z, p0.b
// CHECK-ENCODING: [0x00,0x42,0x40,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: 00 42 40 25 <unknown>

eors p15.b, p15/z, p15.b, p15.b
// CHECK-INST: nots p15.b, p15/z, p15.b
// CHECK-ENCODING: [0xef,0x7f,0x4f,0x25]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: ef 7f 4f 25 <unknown>
10 changes: 6 additions & 4 deletions llvm/test/MC/AArch64/SVE/eorv.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+streaming-sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
Expand All @@ -10,23 +12,23 @@
eorv b0, p7, z31.b
// CHECK-INST: eorv b0, p7, z31.b
// CHECK-ENCODING: [0xe0,0x3f,0x19,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3f 19 04 <unknown>

eorv h0, p7, z31.h
// CHECK-INST: eorv h0, p7, z31.h
// CHECK-ENCODING: [0xe0,0x3f,0x59,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3f 59 04 <unknown>

eorv s0, p7, z31.s
// CHECK-INST: eorv s0, p7, z31.s
// CHECK-ENCODING: [0xe0,0x3f,0x99,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3f 99 04 <unknown>

eorv d0, p7, z31.d
// CHECK-INST: eorv d0, p7, z31.d
// CHECK-ENCODING: [0xe0,0x3f,0xd9,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-ERROR: instruction requires: streaming-sve or sve
// CHECK-UNKNOWN: e0 3f d9 04 <unknown>
Loading