diff options
| author | Tim Northover <Tim.Northover@arm.com> | 2013-01-08 16:56:23 +0000 |
|---|---|---|
| committer | Tim Northover <Tim.Northover@arm.com> | 2013-01-08 16:56:23 +0000 |
| commit | 7bb9992cceda7c0c0deca013661b131ee9686d8e (patch) | |
| tree | 7423ec99353591f420520203d6cb5f266fc06081 /llvm/test | |
| parent | 6e67bed48ccc70b73b8a041d2c651b15ec86cd35 (diff) | |
| download | bcm5719-llvm-7bb9992cceda7c0c0deca013661b131ee9686d8e.tar.gz bcm5719-llvm-7bb9992cceda7c0c0deca013661b131ee9686d8e.zip | |
Allow the asm printer to print fp128 values properly.
llvm-svn: 171866
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/ARM/fp128.ll | 10 | ||||
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/fp128.ll | 8 |
2 files changed, 18 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/fp128.ll b/llvm/test/CodeGen/ARM/fp128.ll new file mode 100644 index 00000000000..ab476d43ac9 --- /dev/null +++ b/llvm/test/CodeGen/ARM/fp128.ll @@ -0,0 +1,10 @@ +; RUN: llc -march=arm < %s | FileCheck --check-prefix=LITTLEENDIAN %s + +@var = global fp128 0xL00000000000000008000000000000000 + +; CHECK-LITTLEENDIAN: var: +; CHECK-LITTLEENDIAN-NEXT: .long 0 @ fp128 -0 +; CHECK-LITTLEENDIAN-NEXT: .long 0 +; CHECK-LITTLEENDIAN-NEXT: .long 0 +; CHECK-LITTLEENDIAN-NEXT: .long 2147483648 + diff --git a/llvm/test/CodeGen/PowerPC/fp128.ll b/llvm/test/CodeGen/PowerPC/fp128.ll new file mode 100644 index 00000000000..9755f9ba6eb --- /dev/null +++ b/llvm/test/CodeGen/PowerPC/fp128.ll @@ -0,0 +1,8 @@ +; RUN: llc -march=ppc64 < %s | FileCheck --check-prefix=BIGENDIAN %s + +@var = global fp128 0xL00000000000000008000000000000000 + +; CHECK-BIGENDIAN: var: +; CHECK-BIGENDIAN-NEXT: .quad -9223372036854775808 # fp128 -0 +; CHECK-BIGENDIAN-NEXT: .quad 0 + |

