[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AArch64 / arm64-separator.s
blobe67deba825d95345e3f0c26c7dbfe23f7e4f0218
1 ; RUN: llvm-mc -triple arm64-apple-darwin -show-encoding < %s | FileCheck %s
3 ; ARM64 uses a multi-character statement separator, "%%". Check that we lex
4 ; it properly and recognize the multiple assembly statements on the line.
6 ; To make sure the output assembly correctly handled the instructions,
7 ; tell it to show encodings. That will result in the two 'mov' instructions
8 ; being on separate lines in the output. We look for the "; encoding" string
9 ; to verify that. For this test, we don't care what the encoding is, just that
10 ; there is one for each 'mov' instruction.
13 _foo:
14 ; CHECK: foo
15 ; CHECK: mov x0, x1 ; encoding
16 ; CHECK: mov x1, x0 ; encoding
17 mov x0, x1 %% mov x1, x0
18 ret lr