mem-cache: Fix panic in Indirect Memory prefetcher
authorJavier Bueno <javier.bueno@metempsy.com>
Tue, 2 Apr 2019 21:39:06 +0000 (23:39 +0200)
committerJavier Bueno Hedo <javier.bueno@metempsy.com>
Wed, 3 Apr 2019 09:14:04 +0000 (09:14 +0000)
commit06b305bb342ac02b22b77050324864b3217e7482
treef6b6a397dd52856d906686124e253824c1615015
parente7a1636889dec63a65723dc4df71d1970b013116
mem-cache: Fix panic in Indirect Memory prefetcher

Memory requests with a size non-power-of-two and less than 8 values were causing
a panic, but there these should be allowed and ignored by the prefetcher.

Change-Id: I86baa60058cc8a7f232d6ba5748d4c24a463c840
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17733
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/prefetch/indirect_memory.cc