mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 01:34:32 +00:00
7b837d8c75
This adds a second implementation of the AArch64 architecture to LLVM, accessible in parallel via the "arm64" triple. The plan over the coming weeks & months is to merge the two into a single backend, during which time thorough code review should naturally occur. Everything will be easier with the target in-tree though, hence this commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205090 91177308-0d34-0410-b5e6-96231b3b80d8
48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
# RUN: llvm-mc -triple arm64-apple-darwin --disassemble < %s | FileCheck %s
|
|
# RUN: llvm-mc -triple arm64-apple-darwin -output-asm-variant=1 --disassemble < %s | FileCheck %s --check-prefix=CHECK-APPLE
|
|
|
|
0x20 0x48 0x28 0x4e
|
|
0x20 0x58 0x28 0x4e
|
|
0x20 0x68 0x28 0x4e
|
|
0x20 0x78 0x28 0x4e
|
|
0x20 0x00 0x02 0x5e
|
|
0x20 0x10 0x02 0x5e
|
|
0x20 0x20 0x02 0x5e
|
|
0x20 0x30 0x02 0x5e
|
|
0x20 0x40 0x02 0x5e
|
|
0x20 0x50 0x02 0x5e
|
|
0x20 0x60 0x02 0x5e
|
|
0x20 0x08 0x28 0x5e
|
|
0x20 0x18 0x28 0x5e
|
|
0x20 0x28 0x28 0x5e
|
|
|
|
# CHECK: aese v0.16b, v1.16b
|
|
# CHECK: aesd v0.16b, v1.16b
|
|
# CHECK: aesmc v0.16b, v1.16b
|
|
# CHECK: aesimc v0.16b, v1.16b
|
|
# CHECK: sha1c q0, s1, v2.4s
|
|
# CHECK: sha1p q0, s1, v2.4s
|
|
# CHECK: sha1m q0, s1, v2.4s
|
|
# CHECK: sha1su0 v0.4s, v1.4s, v2
|
|
# CHECK: sha256h q0, q1, v2.4s
|
|
# CHECK: sha256h2 q0, q1, v2.4s
|
|
# CHECK: sha256su1 v0.4s, v1.4s, v2.4s
|
|
# CHECK: sha1h s0, s1
|
|
# CHECK: sha1su1 v0.4s, v1.4s
|
|
# CHECK: sha256su0 v0.4s, v1.4s
|
|
|
|
# CHECK-APPLE: aese.16b v0, v1
|
|
# CHECK-APPLE: aesd.16b v0, v1
|
|
# CHECK-APPLE: aesmc.16b v0, v1
|
|
# CHECK-APPLE: aesimc.16b v0, v1
|
|
# CHECK-APPLE: sha1c.4s q0, s1, v2
|
|
# CHECK-APPLE: sha1p.4s q0, s1, v2
|
|
# CHECK-APPLE: sha1m.4s q0, s1, v2
|
|
# CHECK-APPLE: sha1su0.4s v0, v1, v2
|
|
# CHECK-APPLE: sha256h.4s q0, q1, v2
|
|
# CHECK-APPLE: sha256h2.4s q0, q1, v2
|
|
# CHECK-APPLE: sha256su1.4s v0, v1, v2
|
|
# CHECK-APPLE: sha1h s0, s1
|
|
# CHECK-APPLE: sha1su1.4s v0, v1
|
|
# CHECK-APPLE: sha256su0.4s v0, v1
|