aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/R600/fcmp.ll
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-02-07 14:02:35 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-02-07 14:02:35 +0000
commit1234c9be42b4ebd4b398df461123205dccf3706c (patch)
treed328469268473b89e100f52577a0dbfe6f244eb5 /test/CodeGen/R600/fcmp.ll
parent2a77cf7f47900c8df55cfea794936006b494e943 (diff)
R600: Add support for SET*_DX10 instructions
These instructions compare two floating point values and return an integer true (-1) or false (0) value. When compiling code generated by the Mesa GLSL frontend, the SET*_DX10 instructions save us four instructions for most branch decisions that use floating-point comparisons. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/R600/fcmp.ll')
-rw-r--r--test/CodeGen/R600/fcmp.ll4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/CodeGen/R600/fcmp.ll b/test/CodeGen/R600/fcmp.ll
index 1dcd07c0b3..89f5e9e412 100644
--- a/test/CodeGen/R600/fcmp.ll
+++ b/test/CodeGen/R600/fcmp.ll
@@ -1,8 +1,6 @@
;RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
-;CHECK: SETE T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
-;CHECK: MOV T{{[0-9]+\.[XYZW], -T[0-9]+\.[XYZW]}}
-;CHECK: FLT_TO_INT T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
+;CHECK: SETE_DX10 T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
define void @test(i32 addrspace(1)* %out, float addrspace(1)* %in) {
entry: