Imported Upstream version 5.18.0.246

Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-01-23 08:21:40 +00:00
parent a7724cd563
commit 279aa8f685
28482 changed files with 3866972 additions and 44 deletions

View File

@@ -0,0 +1,57 @@
// RUN: not llvm-mc -triple aarch64-unknown-none-eabi -filetype asm -o - %s 2>&1 | FileCheck %s
.arch axp64
# CHECK: error: unknown arch name
# CHECK: .arch axp64
# CHECK: ^
.arch armv8
aese v0.8h, v1.8h
# CHECK: error: invalid operand for instruction
# CHECK: aese v0.8h, v1.8h
# CHECK: ^
// We silently ignore invalid features.
.arch armv8+foo
aese v0.8h, v1.8h
# CHECK: error: invalid operand for instruction
# CHECK: aese v0.8h, v1.8h
# CHECK: ^
.arch armv8+crypto
.arch armv8
aese v0.8h, v1.8h
# CHECK: error: invalid operand for instruction
# CHECK: aese v0.8h, v1.8h
# CHECK: ^
.arch armv8.1-a+noras
esb
# CHECK: error: instruction requires: ras
# CHECK: esb
// PR32873: without extra features, '.arch' is currently ignored.
// Add an unrelated feature to accept the directive.
.arch armv8+crc
casa w5, w7, [x19]
# CHECK: error: instruction requires: lse
# CHECK: casa w5, w7, [x19]
.arch armv8+crypto
crc32b w0, w1, w2
# CHECK: error: instruction requires: crc
# CHECK: crc32b w0, w1, w2
.arch armv8.1-a+nolse
casa w5, w7, [x20]
# CHECK: error: instruction requires: lse
# CHECK: casa w5, w7, [x20]