diff options
author | Justin Holewinski <justin.holewinski@gmail.com> | 2011-09-28 14:32:04 +0000 |
---|---|---|
committer | Justin Holewinski <justin.holewinski@gmail.com> | 2011-09-28 14:32:04 +0000 |
commit | d8e4ed2686cfcc1857d1ea15d2797d6c92c09f6c (patch) | |
tree | 9d0139c7edc4114e9ac3ccc74d397065503a61b8 /test/CodeGen/PTX | |
parent | acad68da50581de905a994ed3c6b9c197bcea687 (diff) |
PTX: MC-ize the PTX back-end (patch 1 of N)
Lay some groundwork for converting to MC-based asm printer. This is the first
of probably many patches to bring the back-end back up-to-date with all of the
recent MC changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140697 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PTX')
-rw-r--r-- | test/CodeGen/PTX/add.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/PTX/mov.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/PTX/mul.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/PTX/sub.ll | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/PTX/add.ll b/test/CodeGen/PTX/add.ll index e20bcff9dd..8b10d11cba 100644 --- a/test/CodeGen/PTX/add.ll +++ b/test/CodeGen/PTX/add.ll @@ -57,7 +57,7 @@ define ptx_device i64 @t2_u64(i64 %x) { } define ptx_device float @t2_f32(float %x) { -; CHECK: add.rn.f32 %ret{{[0-9]+}}, %f{{[0-9]+}}, 0F3F800000; +; CHECK: add.rn.f32 %ret{{[0-9]+}}, %f{{[0-9]+}}, 0D3FF0000000000000; ; CHECK: ret; %z = fadd float %x, 1.0 ret float %z diff --git a/test/CodeGen/PTX/mov.ll b/test/CodeGen/PTX/mov.ll index 176f8b12f1..75555a7c5e 100644 --- a/test/CodeGen/PTX/mov.ll +++ b/test/CodeGen/PTX/mov.ll @@ -19,7 +19,7 @@ define ptx_device i64 @t1_u64() { } define ptx_device float @t1_f32() { -; CHECK: mov.f32 %ret{{[0-9]+}}, 0F00000000; +; CHECK: mov.f32 %ret{{[0-9]+}}, 0D0000000000000000; ; CHECK: ret; ret float 0.0 } diff --git a/test/CodeGen/PTX/mul.ll b/test/CodeGen/PTX/mul.ll index c05b61a62d..91949db73c 100644 --- a/test/CodeGen/PTX/mul.ll +++ b/test/CodeGen/PTX/mul.ll @@ -25,7 +25,7 @@ define ptx_device double @t1_f64(double %x, double %y) { } define ptx_device float @t2_f32(float %x) { -; CHECK: mul.rn.f32 %ret{{[0-9]+}}, %f{{[0-9]+}}, 0F40A00000; +; CHECK: mul.rn.f32 %ret{{[0-9]+}}, %f{{[0-9]+}}, 0D4014000000000000; ; CHECK: ret; %z = fmul float %x, 5.0 ret float %z diff --git a/test/CodeGen/PTX/sub.ll b/test/CodeGen/PTX/sub.ll index f3e2770306..7ac886ad64 100644 --- a/test/CodeGen/PTX/sub.ll +++ b/test/CodeGen/PTX/sub.ll @@ -57,7 +57,7 @@ define ptx_device i64 @t2_u64(i64 %x) { } define ptx_device float @t2_f32(float %x) { -; CHECK: add.rn.f32 %ret{{[0-9]+}}, %f{{[0-9]+}}, 0FBF800000; +; CHECK: add.rn.f32 %ret{{[0-9]+}}, %f{{[0-9]+}}, 0DBFF0000000000000; ; CHECK: ret; %z = fsub float %x, 1.0 ret float %z |