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>
This commit is contained in:
committed by
Anthony Gutierrez
parent
ed7daa10aa
commit
6747b127af
@@ -763,7 +763,8 @@ namespace Gcn3ISA
|
||||
<< extData.imm_u32 << ", ";
|
||||
}
|
||||
|
||||
dis_stream << "v" << instData.VSRC1;
|
||||
dis_stream << std::resetiosflags(std::ios_base::basefield) << "v"
|
||||
<< instData.VSRC1;
|
||||
|
||||
if (readsVCC())
|
||||
dis_stream << ", vcc";
|
||||
|
||||
Reference in New Issue
Block a user