arch-gcn3: Fix operand size reporting for Flat insts
authorKyle Roarty <kyleroarty1716@gmail.com>
Sat, 17 Oct 2020 05:14:35 +0000 (00:14 -0500)
committerKyle Roarty <kyleroarty1716@gmail.com>
Fri, 6 Nov 2020 00:31:52 +0000 (00:31 +0000)
commita82ea84244b47dd429560eb6013250ed90dcaa5c
tree83b81f8cfa5971ed167314ca0069529141c08795
parent46e9ab85bc6d1365a216429efd12efc557563ec8
arch-gcn3: Fix operand size reporting for Flat insts

Some Flat instructions were reporting their operand sizes in bits
instead of bytes. This lead to panics occuring in
StaticRegisterManagerPolicy::mapVgpr.

This patch updates those insts to report their operand sizes in bytes.

Change-Id: I48f485e638864a1f2a1a3be66ed20893e73e9705
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36275
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
Reviewed-by: Alexandru Duțu <alexandru.dutu@amd.com>
Maintainer: Matt Sinclair <mattdsinclair@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/gcn3/insts/instructions.hh