cpu: Use cprintf and C++ type magic to get rid of a THE_ISA.
authorGabe Black <gabeblack@google.com>
Sat, 19 Sep 2020 06:28:40 +0000 (23:28 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 23 Sep 2020 12:40:42 +0000 (12:40 +0000)
commit2e5ffdb7f3470cda8dc52adc1ac8014470349399
treef4337f44180e0e253dc113c210c93f43dc451128
parentdcffee005eb2c45567fd50c4da328c3675c410b4
cpu: Use cprintf and C++ type magic to get rid of a THE_ISA.

It should be fine to let operator overloading take care of figuring out
how to print the ExtMachInst type for a given ISA.

Change-Id: I173fd9f49013d92191118775d20344219a69337e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34822
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/minor/dyn_inst.cc