aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2011-03-29 21:11:52 +0000
committerKevin Enderby <enderby@apple.com>2011-03-29 21:11:52 +0000
commit360d8d7a02188c694b79e5e4c8fafcfa84257938 (patch)
tree2349a486e5fa8ba4f4c5b998a2c1e75dd09f5565 /test/MC/AsmParser
parent5726005e4f1df81f47af99eebd380fca78577fa4 (diff)
downloadexternal_llvm-360d8d7a02188c694b79e5e4c8fafcfa84257938.zip
external_llvm-360d8d7a02188c694b79e5e4c8fafcfa84257938.tar.gz
external_llvm-360d8d7a02188c694b79e5e4c8fafcfa84257938.tar.bz2
Added support symbolic floating point constants in the MC assembler for Infinity
and Nans with the same strings as GAS supports. rdar://8673024 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128488 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser')
-rw-r--r--test/MC/AsmParser/floating-literals.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/AsmParser/floating-literals.s b/test/MC/AsmParser/floating-literals.s
index bd122a8..0e96571 100644
--- a/test/MC/AsmParser/floating-literals.s
+++ b/test/MC/AsmParser/floating-literals.s
@@ -6,6 +6,12 @@
# CHECK: .long 1082549862
.single 1.2455, +2.3, 3, + 4.2
+# CHECK: .long 2139095040
+.single InFinIty
+
+# CHECK: .long 2147483647
+.single nAN
+
# CHECK: .long 1067928519
.float 1.307