Files
clang-p2996/llvm/test/MC/SystemZ/machine-directive.s
Jonas Paulsson 1a5ab3e97c [SystemZ] Recognize .machine directive in parser.
The .machine directive can be used in assembly files to specify the ISA for
the instructions following it.

Review: Ulrich Weigand
Differential Revision: https://reviews.llvm.org/D109660
2021-09-17 12:03:54 +02:00

21 lines
382 B
ArmAsm

# RUN: not llvm-mc -triple=s390x-linux-gnu %s --filetype=asm 2>&1 | FileCheck %s
# CHECK: error: instruction requires: vector
# CHECK: vgbm %v0, 1
# CHECK: ^
# CHECK-NOT: error:
# CHECK: .machine z13
# CHECK: vgbm %v0, 0
# CHECK: .machine zEC12
# CHECK: .machine z13
# CHECK: vgbm %v0, 3
.machine z13
vgbm %v0, 0
.machine zEC12
vgbm %v0, 1
.machine z13
vgbm %v0, 3