brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.6 KiB · b915001 Raw
71 lines · plain
1// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \2// RUN:        | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST3// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme < %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: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \8// RUN:        | llvm-objdump -d --mattr=+sve - | FileCheck %s --check-prefix=CHECK-INST9// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \10// RUN:   | llvm-objdump -d --mattr=-sve - | FileCheck %s --check-prefix=CHECK-UNKNOWN11 12dupm     z5.b, #0xf913// CHECK-INST: dupm     z5.b, #0xf914// CHECK-ENCODING: [0xa5,0x2e,0xc0,0x05]15// CHECK-ERROR: instruction requires: sve or sme16// CHECK-UNKNOWN: 05c02ea5 <unknown>17 18dupm     z5.h, #0xf9f919// CHECK-INST: dupm     z5.b, #0xf920// CHECK-ENCODING: [0xa5,0x2e,0xc0,0x05]21// CHECK-ERROR: instruction requires: sve or sme22// CHECK-UNKNOWN: 05c02ea5 <unknown>23 24dupm     z5.s, #0xf9f9f9f925// CHECK-INST: dupm     z5.b, #0xf926// CHECK-ENCODING: [0xa5,0x2e,0xc0,0x05]27// CHECK-ERROR: instruction requires: sve or sme28// CHECK-UNKNOWN: 05c02ea5 <unknown>29 30dupm     z5.d, #0xf9f9f9f9f9f9f9f931// CHECK-INST: dupm     z5.b, #0xf932// CHECK-ENCODING: [0xa5,0x2e,0xc0,0x05]33// CHECK-ERROR: instruction requires: sve or sme34// CHECK-UNKNOWN: 05c02ea5 <unknown>35 36dupm     z23.h, #0xfff937// CHECK-INST: dupm     z23.h, #0xfff938// CHECK-ENCODING: [0xb7,0x6d,0xc0,0x05]39// CHECK-ERROR: instruction requires: sve or sme40// CHECK-UNKNOWN: 05c06db7 <unknown>41 42dupm     z23.s, #0xfff9fff943// CHECK-INST: dupm     z23.h, #0xfff944// CHECK-ENCODING: [0xb7,0x6d,0xc0,0x05]45// CHECK-ERROR: instruction requires: sve or sme46// CHECK-UNKNOWN: 05c06db7 <unknown>47 48dupm     z23.d, #0xfff9fff9fff9fff949// CHECK-INST: dupm     z23.h, #0xfff950// CHECK-ENCODING: [0xb7,0x6d,0xc0,0x05]51// CHECK-ERROR: instruction requires: sve or sme52// CHECK-UNKNOWN: 05c06db7 <unknown>53 54dupm     z0.s, #0xfffffff955// CHECK-INST: dupm     z0.s, #0xfffffff956// CHECK-ENCODING: [0xa0,0xeb,0xc0,0x05]57// CHECK-ERROR: instruction requires: sve or sme58// CHECK-UNKNOWN: 05c0eba0 <unknown>59 60dupm     z0.d, #0xfffffff9fffffff961// CHECK-INST: dupm     z0.s, #0xfffffff962// CHECK-ENCODING: [0xa0,0xeb,0xc0,0x05]63// CHECK-ERROR: instruction requires: sve or sme64// CHECK-UNKNOWN: 05c0eba0 <unknown>65 66dupm     z0.d, #0xfffffffffffffff967// CHECK-INST: dupm     z0.d, #0xfffffffffffffff968// CHECK-ENCODING: [0xa0,0xef,0xc3,0x05]69// CHECK-ERROR: instruction requires: sve or sme70// CHECK-UNKNOWN: 05c3efa0 <unknown>71