R600: support f16 -> f64 conversion intrinsic.
authorTim Northover <tnorthover@apple.com>
Fri, 18 Jul 2014 08:43:24 +0000 (08:43 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 18 Jul 2014 08:43:24 +0000 (08:43 +0000)
commitcc032274465776c3466d8ee8497d8ba3eef41526
tree1db5a786e96cbb62711759034ec2e526ecd94e81
parent7bbf5786d76b3d862e30938ce56d3ea7a814e8a3
R600: support f16 -> f64 conversion intrinsic.

Unfortunately, we don't seem to have a direct truncation, but the
extension can be legally split into two operations so we should
support that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213357 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelLowering.cpp
test/CodeGen/R600/fp16_to_fp.ll [new file with mode: 0644]
test/CodeGen/R600/fp32_to_fp16.ll [deleted file]