brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.7 KiB · 30927d6 Raw
37 lines · plain
1// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2,+sve-bitperm < %s \2// RUN:        | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST3// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+ssve-bitperm < %s \4// RUN:        | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST5// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \6// RUN:        | FileCheck %s --check-prefix=CHECK-ERROR7// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sme < %s 2>&1 \8// RUN:        | FileCheck %s --check-prefix=CHECK-ERROR9// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve2,+sve-bitperm < %s \10// RUN:        | llvm-objdump -d --mattr=+sve2,+sve-bitperm - | FileCheck %s --check-prefix=CHECK-INST11// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve2,+sve-bitperm < %s \12// RUN:   | llvm-objdump -d --mattr=-sve2 - | FileCheck %s --check-prefix=CHECK-UNKNOWN13 14bdep z0.b, z1.b, z31.b15// CHECK-INST: bdep z0.b, z1.b, z31.b16// CHECK-ENCODING: [0x20,0xb4,0x1f,0x45]17// CHECK-ERROR: instruction requires: sve or ssve-bitperm sve-bitperm18// CHECK-UNKNOWN: 451fb420 <unknown>19 20bdep z0.h, z1.h, z31.h21// CHECK-INST: bdep z0.h, z1.h, z31.h22// CHECK-ENCODING: [0x20,0xb4,0x5f,0x45]23// CHECK-ERROR: instruction requires: sve or ssve-bitperm sve-bitperm24// CHECK-UNKNOWN: 455fb420 <unknown>25 26bdep z0.s, z1.s, z31.s27// CHECK-INST: bdep z0.s, z1.s, z31.s28// CHECK-ENCODING: [0x20,0xb4,0x9f,0x45]29// CHECK-ERROR: instruction requires: sve or ssve-bitperm sve-bitperm30// CHECK-UNKNOWN: 459fb420 <unknown>31 32bdep z0.d, z1.d, z31.d33// CHECK-INST: bdep z0.d, z1.d, z31.d34// CHECK-ENCODING: [0x20,0xb4,0xdf,0x45]35// CHECK-ERROR: instruction requires: sve or ssve-bitperm sve-bitperm36// CHECK-UNKNOWN: 45dfb420 <unknown>37