gpu-compute: Dropping fetchs when no entry is reserved in the buffer
authorOnur Kayiran <onur.kayiran@amd.com>
Mon, 14 May 2018 17:51:35 +0000 (13:51 -0400)
committerAnthony Gutierrez <anthony.gutierrez@amd.com>
Mon, 13 Jul 2020 19:47:26 +0000 (19:47 +0000)
commitbff8df22880d9d4ee3a548c79a30fbd59f790ca4
treef77bb0cdfb3d623722e6b69e65d2fd938f352028
parent3846e907374307e869312b022c26ba3ddf551b42
gpu-compute: Dropping fetchs when no entry is reserved in the buffer

This changeset drops fetches if there is no entry reserved in the
fetch buffer for that instruction. This can happen due to a fetch
attempted to be issued in the same cycle where a branch instruction
flushed the fetch buffer, while an ITLB or I-cache request is still
pending.

Change-Id: I3b80dbd71af27ccf790b543bd5c034bb9b02624a
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29932
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Onur Kayıran <onur.kayiran@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
src/gpu-compute/fetch_unit.cc
src/gpu-compute/fetch_unit.hh