projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AMDGPU: Implement {{s|u}}int_to_fp i64 -> f32
[oota-llvm.git]
/
test
/
CodeGen
/
AMDGPU
/
uint_to_fp.ll
diff --git
a/test/CodeGen/AMDGPU/uint_to_fp.ll
b/test/CodeGen/AMDGPU/uint_to_fp.ll
index c12db507ca16b173417006ca5589dce5aa37d063..a3343d1e2d9cbae8acecf7b1dc5364b0b6cc3294 100644
(file)
--- a/
test/CodeGen/AMDGPU/uint_to_fp.ll
+++ b/
test/CodeGen/AMDGPU/uint_to_fp.ll
@@
-115,15
+115,17
@@
define void @v_uint_to_fp_i1_f32_load(float addrspace(1)* %out, i1 addrspace(1)*
ret void
}
ret void
}
+; FIXME: Repeated here to test r600
; FUNC-LABEL: {{^}}s_uint_to_fp_i64_to_f32:
; FUNC-LABEL: {{^}}s_uint_to_fp_i64_to_f32:
-; SI: v_cvt_f32_u32_e32
-; SI: v_cvt_f32_u32_e32
-; SI: v_madmk_f32_e32 {{v[0-9]+}}, {{v[0-9]+}}, {{v[0-9]+}}, 0x4f800000
-; SI: s_endpgm
+; R600: FFBH_UINT
+; R600: FFBH_UINT
+; R600: CNDE_INT
+; R600: CNDE_INT
+
+; R600-DAG: SETGT_UINT
+; R600-DAG: SETGT_UINT
+; R600-DAG: SETE_INT
-; R600: UINT_TO_FLT
-; R600: UINT_TO_FLT
-; R600: MULADD_IEEE
define void @s_uint_to_fp_i64_to_f32(float addrspace(1)* %out, i64 %in) #0 {
entry:
%cvt = uitofp i64 %in to float
define void @s_uint_to_fp_i64_to_f32(float addrspace(1)* %out, i64 %in) #0 {
entry:
%cvt = uitofp i64 %in to float