Matt Arsenault
81a9bfe915
Enable FeatureFlatForGlobal on Volcanic Islands
...
This switches to the workaround that HSA defaults to
for the mesa path.
This should be applied to the 4.0 branch.
Patch by Vedran Miletić <vedran@miletic.net>
llvm-svn: 292982
2017-01-24 22:02:15 +00:00
Tom Stellard
42afa7429f
AMDGPU : Add S_SETREG instructions to fix fdiv precision issues.
...
Patch By: Wei Ding
Summary: This patch fixes the fdiv precision issues.
Reviewers: b-sumner, cfang, wdng, arsenm
Subscribers: kzhuravl, nhaehnle, yaxunl, tony-tye
Differential Revision: https://reviews.llvm.org/D26424
llvm-svn: 288879
2016-12-07 02:42:15 +00:00
Matt Arsenault
75622c9e16
AMDGPU: Change fdiv lowering based on !fpmath metadata
...
If 2.5 ulp is acceptable, denormals are not required, and
isn't a reciprocal which will already be handled, replace
with a faster fdiv.
Simplify the lowering tests by using per function
subtarget features.
llvm-svn: 276051
2016-07-19 23:16:53 +00:00
Matt Arsenault
22db17c876
AMDGPU: Fix fdiv lowering when f32 denormals supported
...
Also fix test not actually using function labels.
llvm-svn: 274969
2016-07-09 07:48:11 +00:00
Wei Ding
2bbde20e67
AMDGPU/SI: Fix 32-bit fdiv lowering
...
We were using the fast fdiv lowering for all division, implementation of
IEEE754 fdiv is added.
http://reviews.llvm.org/D20557
llvm-svn: 272292
2016-06-09 19:17:15 +00:00
Eric Christopher
d5bd140a4f
Revert "Differential Revision: http://reviews.llvm.org/D20557 "
...
Author: Wei Ding <wei.ding2@amd.com>
Date: Tue Jun 7 19:04:44 2016 +0000
Differential Revision: http://reviews.llvm.org/D20557
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272044
91177308-0d34-0410-b5e6-96231b3b80d8
as it was breaking the bots.
This reverts commit r272044.
llvm-svn: 272056
2016-06-07 20:27:12 +00:00
Wei Ding
f737e3726e
Differential Revision: http://reviews.llvm.org/D20557
...
llvm-svn: 272044
2016-06-07 19:04:44 +00:00
Matt Arsenault
11d5c00a30
AMDGPU: Run r600 tests last
...
llvm-svn: 268672
2016-05-05 20:07:37 +00:00
Tom Stellard
3f1708598e
R600 -> AMDGPU rename
...
llvm-svn: 239657
2015-06-13 03:28:10 +00:00