Summary: It looks like this support was added to match GNU AS, but only tests
.float and not .double. I asked RedHat folks to confirm that 0x7fffffffffffffff
was indeed the right value for NaN.
Same for infinity, but it only has positive / negative encodings.
Reviewers: scanon, rjmccall
Subscribers: jkorous, dexonsmith, llvm-commits
Differential Revision: https://reviews.llvm.org/D55531
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349376
91177308-0d34-0410-b5e6-
96231b3b80d8
# CHECK: .long 2139095040
.single InFinIty
+# CHECK: .quad 9218868437227405312
+.double infinity
+
# CHECK: .long 4286578688
.single -iNf
+# CHECK: .quad -4503599627370496
+.double -inf
+
# CHECK: .long 2147483647
.single nAN
+# CHECK: .quad 9223372036854775807
+.double NaN
+
# CHECK: .long 1067928519
.float 1.307