From f8e295922b9b59c7157dbd79cd0bba734497ff3a Mon Sep 17 00:00:00 2001 From: Michael LeBeane Date: Thu, 17 May 2018 17:17:24 -0400 Subject: [PATCH] arch-gcn3: Fix writelane src0,src1 usage Src1 should only be used for lane select. The data should come from src0. Change-Id: Ibe960df2e56d351a3819b40194104d2972a5cd4c Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29933 Tested-by: kokoro Maintainer: Anthony Gutierrez Reviewed-by: Anthony Gutierrez Reviewed-by: Matt Sinclair --- src/arch/gcn3/insts/instructions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/gcn3/insts/instructions.cc b/src/arch/gcn3/insts/instructions.cc index 0256d469b..b923eaeff 100644 --- a/src/arch/gcn3/insts/instructions.cc +++ b/src/arch/gcn3/insts/instructions.cc @@ -30181,7 +30181,7 @@ namespace Gcn3ISA assert(!(extData.NEG & 0x2)); assert(!(extData.NEG & 0x4)); - vdst[src1.rawData() & 0x3f] = src1.rawData(); + vdst[src1.rawData() & 0x3f] = src0.rawData(); vdst.write(); } -- 2.30.2