From 0b52c24da66fd614e04ac1555470ccd68bfbe49d Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 25 Nov 2019 03:00:59 -0800 Subject: arch,sim: Stop decoding the pseudo inst subfunc value. This isn't used by anything any more. The func field is left in place to ensure compatability, but there's no reason to decode a value nobody is going to use. Jira Issue: https://gem5.atlassian.net/browse/GEM5-187 Change-Id: I85fcd0e4a362551c29af6bff350d99af86050415 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23179 Tested-by: kokoro Reviewed-by: Giacomo Travaglini Maintainer: Gabe Black --- src/sim/pseudo_inst.hh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/sim/pseudo_inst.hh') diff --git a/src/sim/pseudo_inst.hh b/src/sim/pseudo_inst.hh index 8685b8257..caada36c4 100644 --- a/src/sim/pseudo_inst.hh +++ b/src/sim/pseudo_inst.hh @@ -123,14 +123,13 @@ void togglesync(ThreadContext *tc); * manner using the ISA-specific getArguments functions. * * @param func M5 pseudo op major function number (see utility/m5/m5ops.h) - * @param subfunc M5 minor function number. Mainly used for annotations. */ template uint64_t -pseudoInst(ThreadContext *tc, uint8_t func, uint8_t subfunc) +pseudoInst(ThreadContext *tc, uint8_t func) { - DPRINTF(PseudoInst, "PseudoInst::pseudoInst(%i, %i)\n", func, subfunc); + DPRINTF(PseudoInst, "PseudoInst::pseudoInst(%i)\n", func); switch (func) { case M5OP_ARM: -- cgit v1.2.3