[AMDGPU] Add TransVALU to gfx10
authorSebastian Neubauer <sebastian.neubauer@amd.com>
Thu, 8 Apr 2021 15:22:32 +0000 (17:22 +0200)
committerSebastian Neubauer <sebastian.neubauer@amd.com>
Tue, 20 Apr 2021 13:34:43 +0000 (15:34 +0200)
commit4897effb14158051bc07a88cb7e84f3b25d5980c
tree30c187619bc170952638763c2daa6b0862a91621
parent60622b82a7a3517942ecdcd6dd0735abd3f567b1
[AMDGPU] Add TransVALU to gfx10

Instructions on the transcendental unit are executed in parallel to the
normal VALU, so add this as an extra resource.

This doesn't seem to have any effect, but it should be more correct.

Differential Revision: https://reviews.llvm.org/D100123
llvm/lib/Target/AMDGPU/SISchedule.td
llvm/test/tools/llvm-mca/AMDGPU/gfx10-add-sequence.s
llvm/test/tools/llvm-mca/AMDGPU/gfx10-double.s
llvm/test/tools/llvm-mca/AMDGPU/gfx10-trans.s [new file with mode: 0644]