diff options
author | Stepan Dyatkovskiy <stpworld@narod.ru> | 2014-03-30 17:09:54 +0000 |
---|---|---|
committer | Stepan Dyatkovskiy <stpworld@narod.ru> | 2014-03-30 17:09:54 +0000 |
commit | b173d9ee355f0d54c7a273a64feab8e822325d59 (patch) | |
tree | 004c2021d881ed1a39d333ee8b87b2e49162d490 /test | |
parent | 111bcf9b5960a0e4687b93d2b79df01e5d760b12 (diff) | |
download | llvm-b173d9ee355f0d54c7a273a64feab8e822325d59.tar.gz llvm-b173d9ee355f0d54c7a273a64feab8e822325d59.tar.bz2 llvm-b173d9ee355f0d54c7a273a64feab8e822325d59.tar.xz |
PR18929:
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
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/AArch64/optional-hash.s | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/MC/AArch64/optional-hash.s b/test/MC/AArch64/optional-hash.s new file mode 100644 index 0000000000..54b6fb3a9a --- /dev/null +++ b/test/MC/AArch64/optional-hash.s @@ -0,0 +1,17 @@ +// 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: |