arch,sim: Return whether or not a pseudo inst was recognized.
authorGabe Black <gabeblack@google.com>
Thu, 27 Feb 2020 00:07:15 +0000 (16:07 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 26 Mar 2020 06:19:17 +0000 (06:19 +0000)
commit268c9d836fb17cb35d4bc06f08659950fad33b0f
tree9e0e7f1ba9a09fe3db4bd4cec0c9e72779db6c3b
parent209c0663d54dd5b734ea9bd397246d9d36149b1b
arch,sim: Return whether or not a pseudo inst was recognized.

Otherwise there's no way to distinguish whether return values are from
the calls themselves, including what they mean in the context (success
or failure?) or the pseudo inst dispatch function itself.

Change-Id: I3e71c277f175c69af0d1adeb3299d88d095dfa84
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25948
Tested-by: Gem5 Cloud Project GCB service account <345032938727@cloudbuild.gserviceaccount.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Alexandru Duțu <alexandru.dutu@amd.com>
src/arch/arm/tlb.cc
src/arch/x86/tlb.cc
src/sim/pseudo_inst.hh