R600/SI: Enable a lot of existing tests for VI (squashed commits)
authorMarek Olsak <marek.olsak@amd.com>
Wed, 11 Feb 2015 14:26:46 +0000 (14:26 +0000)
committerMarek Olsak <marek.olsak@amd.com>
Wed, 11 Feb 2015 14:26:46 +0000 (14:26 +0000)
commitc0021e43ea75c54417c83a01da6d9dd20b5e4881
treeffd95fa4646169ae24625b208c6d4dba8440a81c
parentf033db57e966c1b0bbc73e0cb8482f5076f5ed31
R600/SI: Enable a lot of existing tests for VI (squashed commits)

This is a union of these commits:

* R600/SI: Enable more tests for VI which need no changes

* R600/SI: Enable V_BCNT tests for VI
    Differences:
    - v_bcnt_..._e32 -> _e64
    - s_load_dword* inline offset is in bytes instead of dwords

* R600/SI: Enable all tests for VI which use S_LOAD_DWORD
    The inline offset is changed from dwords to bytes.

* R600/SI: Enable LDS tests for VI
    Differences:
    - the s_load_dword inline offset changed from dwords to bytes
    - the tests checked very little on CI, so they have been fixed to check all
      instructions that "SI" checked

* R600/SI: Enable lshr tests for VI

* R600/SI: Fix divrem64 tests
    - "v_lshl_64" was missing "b" before "64"
    - added VI-NOT checks

* R600/SI: Enable the SI.tid test for VI

* R600/SI: Enable the frem test for VI
    Also, the frem_f64 checking is added for CI-VI.

* R600/SI: Add VI tests for rsq.clamped

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228830 91177308-0d34-0410-b5e6-96231b3b80d8
38 files changed:
test/CodeGen/R600/64bit-kernel-args.ll
test/CodeGen/R600/atomic_cmp_swap_local.ll
test/CodeGen/R600/ctpop.ll
test/CodeGen/R600/ctpop64.ll
test/CodeGen/R600/fabs.ll
test/CodeGen/R600/fceil64.ll
test/CodeGen/R600/fcopysign.f32.ll
test/CodeGen/R600/fcopysign.f64.ll
test/CodeGen/R600/ffloor.f64.ll
test/CodeGen/R600/fneg.f64.ll
test/CodeGen/R600/fneg.ll
test/CodeGen/R600/frem.ll
test/CodeGen/R600/ftrunc.f64.ll
test/CodeGen/R600/gep-address-space.ll
test/CodeGen/R600/gv-const-addrspace.ll
test/CodeGen/R600/imm.ll
test/CodeGen/R600/kernel-args.ll
test/CodeGen/R600/llvm.AMDGPU.div_fixup.ll
test/CodeGen/R600/llvm.AMDGPU.div_fmas.ll
test/CodeGen/R600/llvm.AMDGPU.rsq.clamped.f64.ll
test/CodeGen/R600/llvm.AMDGPU.rsq.clamped.ll
test/CodeGen/R600/llvm.SI.tid.ll
test/CodeGen/R600/llvm.rint.f64.ll
test/CodeGen/R600/llvm.round.ll
test/CodeGen/R600/local-64.ll
test/CodeGen/R600/local-atomics.ll
test/CodeGen/R600/local-atomics64.ll
test/CodeGen/R600/operand-spacing.ll
test/CodeGen/R600/private-memory.ll
test/CodeGen/R600/schedule-kernel-arg-loads.ll
test/CodeGen/R600/scratch-buffer.ll
test/CodeGen/R600/sdivrem64.ll
test/CodeGen/R600/setcc-opt.ll
test/CodeGen/R600/smrd.ll
test/CodeGen/R600/srl.ll
test/CodeGen/R600/udivrem64.ll
test/CodeGen/R600/use-sgpr-multiple-times.ll
test/CodeGen/R600/work-item-intrinsics.ll