arch-gcn3: Add memcpy condition when writing EXEC_LO
authorMatthew Poremba <matthew.poremba@amd.com>
Mon, 25 Feb 2019 23:32:03 +0000 (15:32 -0800)
committerAnthony Gutierrez <anthony.gutierrez@amd.com>
Fri, 17 Jul 2020 16:31:10 +0000 (16:31 +0000)
commit39f305b329626f3649474fd42ab1f61c9cacaa8f
treeef554407d5fe0d9b56ca2f4e4806dd2aa53ffa47
parent550f0203aa06414754dfb694eb18b6ec386aafac
arch-gcn3: Add memcpy condition when writing EXEC_LO

Some compilers emit an error on the operand template class when writing
exec mask. Add a condition to explicitly set memcpy size argument to
32b or 64b based on the number of dwords.

Change-Id: I49b0e4a1680283e772d0a5a8efd687b31d4f1624
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29961
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/gcn3/operand.hh