arch-gcn3: implement instruction s_setreg_b32
authorXianwei Zhang <xianwei.zhang@amd.com>
Thu, 24 May 2018 17:01:49 +0000 (13:01 -0400)
committerAnthony Gutierrez <anthony.gutierrez@amd.com>
Thu, 16 Jul 2020 20:37:22 +0000 (20:37 +0000)
commitfff185993a4d9115a90fc6179bcab82aef45450b
tree9b4d1650edc12c921acfa23309701b78a572c42d
parent1836d58b3640c1830065af81328652d5fc03d81f
arch-gcn3: implement instruction s_setreg_b32

Instruction s_setreg_b32 was unimplemented, but is used by hipified
rodinia 'srad'. The instruction sets values of hardware internal
registers. If the instruction is writing into MODE to control
single-precision FP round and denorm modes, a simple warn will be
printed; for all other cases (non-MODE hw register or other
precisions), panic will happen.

Change-Id: Idb1cd5f60548a146bc980f1a27faff30259e74ce
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29949
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Xianwei Zhang <xianwei.zhang@amd.com>
src/arch/gcn3/insts/instructions.cc