It is probably that the binary include some recent instruction while gem5 does 
not simulate it yet. Especially if it run well in real hardware (which 
workload? Run well in which real hardware?).
The best case is that you can set different compiler options to avoid 
generation of those gem5-non-support instructions. -march=athlon64 is really 
not a good idea. It is too old.
------------------------------------------------------------------
发件人:Madan YN via gem5-dev <gem5-dev@gem5.org>
发送时间:2024年4月17日(星期三) 03:32
收件人:"gem5-dev"<gem5-dev@gem5.org>
抄 送:Madan YN<madan...@gmail.com>
主 题:[gem5-dev] Unrecognized/invalid instruction executed error when using x86 
ISA
I am running SPEC2017 benchmarks and I was flagged with this error
src/arch/x86/faults.cc:132: panic: Unrecognized/invalid instruction executed:
{
 leg = 0x10,
 rex = 0x2,
 vex/xop = 0x5,
 op = {
 type = three byte 0f38,
 op = 0x19,
 },
 modRM = 0,
 sib = 0,
 immediate = 0,
 displacement = 0
 dispSize = 0}
Memory Usage: 8789364 KBytes 
Program aborted at tick 648666304
Adding the flag -march=athlon64 while compiling the benchmark as suggested here 
https://www.mail-archive.com/gem5-dev@gem5.org/msg28965.html 
<https://www.mail-archive.com/gem5-dev@gem5.org/msg28965.html > also didn't 
help. Does anyone have a solution to this?
Thanks
Madan
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org

Reply via email to