arch-gcn3: Fix s_getpc operand information
authorTony Gutierrez <anthony.gutierrez@amd.com>
Wed, 7 Nov 2018 18:46:12 +0000 (13:46 -0500)
committerAnthony Gutierrez <anthony.gutierrez@amd.com>
Thu, 16 Jul 2020 20:37:22 +0000 (20:37 +0000)
commit5dc5d23b7901377df26a6d99537002ae93d685ff
tree366df898e55372828a10ba5d5cb855740a42a6ad
parenta0cfd8da6b07f25dbdf4bc1a4afbcffd29178388
arch-gcn3: Fix s_getpc operand information

s_getpc was currently reporting only a single operand,
and was only considering the SSRC operand. However,
this instruction' source is implicitly the PC.
Because its destination register was never tracked for
dependence checking purposes, dependence violations
are possible.

Change-Id: Ia80b8b3e24d5885f646a9ee41212a2cb35b9ffe6
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29954
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
src/arch/gcn3/insts/instructions.hh
src/arch/gcn3/insts/op_encodings.cc