From: Kyle Roarty Date: Wed, 5 Aug 2020 19:08:31 +0000 (-0500) Subject: arch-gcn3: make read2st64_b32 write proper registers X-Git-Tag: v20.1.0.0~321 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d542dc838e2489fc586fc1a698839df2bedeb5bd;p=gem5.git arch-gcn3: make read2st64_b32 write proper registers Per the GCN3 ISA, read2st64_b32 writes to consecutive registers Change-Id: Ibc1672584a72cf7de12e06068a03fe304b34dce2 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32236 Reviewed-by: Matt Sinclair Reviewed-by: Alexandru Duțu Reviewed-by: Bradford Beckmann Reviewed-by: Anthony Gutierrez Maintainer: Anthony Gutierrez Tested-by: kokoro --- diff --git a/src/arch/gcn3/insts/instructions.cc b/src/arch/gcn3/insts/instructions.cc index 6e81e2cd9..955d8013d 100644 --- a/src/arch/gcn3/insts/instructions.cc +++ b/src/arch/gcn3/insts/instructions.cc @@ -32206,7 +32206,7 @@ namespace Gcn3ISA Inst_DS__DS_READ2ST64_B32::completeAcc(GPUDynInstPtr gpuDynInst) { VecOperandU32 vdst0(gpuDynInst, extData.VDST); - VecOperandU32 vdst1(gpuDynInst, extData.VDST + 2); + VecOperandU32 vdst1(gpuDynInst, extData.VDST + 1); for (int lane = 0; lane < NumVecElemPerVecReg; ++lane) { if (gpuDynInst->exec_mask[lane]) {