mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
b173d9ee35
According to ARM assembler language hash symbol is optional before immediates. For example, see here for more details: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0473j/dom1359731154529.html git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205157 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
471 B
ArmAsm
18 lines
471 B
ArmAsm
// PR18929
|
|
// RUN: llvm-mc < %s -triple=aarch64-linux-gnueabi -mattr=+fp-armv8,+neon -filetype=obj -o - \
|
|
// RUN: | llvm-objdump --disassemble -arch=aarch64 -mattr=+fp-armv8,+neon - | FileCheck %s
|
|
|
|
.text
|
|
// CHECK: cmp w0, #123
|
|
cmp w0, 123
|
|
// CHECK: fmov s0, #1.06250000
|
|
fmov s0, 1.0625
|
|
// CHECK: fcmp s0, #0.0
|
|
fcmp s0, 0.0
|
|
// CHECK: cmgt v0.8b, v15.8b, #0
|
|
cmgt v0.8b, v15.8b, 0
|
|
// CHECK: fcmeq v0.2s, v31.2s, #0.0
|
|
fcmeq v0.2s, v31.2s, 0.0
|
|
l1:
|
|
l2:
|