llvm-for-llvmta/test/MC/AArch64/optional-hash.s

18 lines
436 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
// PR18929
// RUN: llvm-mc < %s -triple=aarch64-linux-gnueabi -mattr=+fp-armv8,+neon -filetype=obj -o - \
// RUN: | llvm-objdump -d --arch=arm64 - | 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: