arch-gcn3: Fix VOP2 dissasembly prints
authorMichael LeBeane <Michael.Lebeane@amd.com>
Thu, 7 Jun 2018 20:49:26 +0000 (16:49 -0400)
committerAnthony Gutierrez <anthony.gutierrez@amd.com>
Mon, 13 Jul 2020 19:48:12 +0000 (19:48 +0000)
commit6747b127afa0c9ff4be3e147fbadd1be4e2bf491
tree321f436958794ccafff4ba5bddd8bf27e349fa55
parented7daa10aae7639ff3435910721d0b0c292d5d53
arch-gcn3: Fix VOP2 dissasembly prints

VOP2 prints VSRC1 register index as hex instead of decimal if the
instruction contains a literal operand.  This patch resets the
format specifiers in the stream to print the register correctly.

Change-Id: Icc7e6588b3c5af545be6590ce412460e72df253f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29936
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
src/arch/gcn3/insts/op_encodings.cc