mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
AArch64 has feature predicates for NEON, FP and CRYPTO instructions. This allows the compiler to generate code without using FP, NEON or CRYPTO instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206949 91177308-0d34-0410-b5e6-96231b3b80d8
22 lines
319 B
Plaintext
22 lines
319 B
Plaintext
# RUN: llvm-mc -triple arm64-apple-darwin -mattr=neon --disassemble < %s | FileCheck %s
|
|
|
|
0x00 0x08 0x00 0xc8
|
|
|
|
# CHECK: stxr w0, x0, [x0]
|
|
|
|
0x00 0x00 0x40 0x9b
|
|
|
|
# CHECK: smulh x0, x0, x0
|
|
|
|
0x08 0x20 0x21 0x1e
|
|
|
|
# CHECK: fcmp s0, #0.0
|
|
|
|
0x1f 0x00 0x00 0x11
|
|
|
|
# CHECK: mov wsp, w0
|
|
|
|
0x00 0x7c 0x00 0x13
|
|
|
|
# CHECK: asr w0, w0, #0
|