Hello gem5 community,

I'm afraid my simulation is getting stuck when restoring KVM checkpoints with 
DerivO3CPU while running a multithreaded application.
I'm running a full system with x86. Simulation is ok when restoring with 
AtomicSimpleCPU (i.e., output prints all expected info).

I tried to run gem5 with DerivO3CPU with --debug-flags=Exec to get more info. 
Early in the simulation I got the following error while the Exec flag was being 
printed:

        1879968079707500: system.cpu0: T0 : 0xffffffff8151a1b0 
@__cpuidle_text_start+24.32775 :   Microcode_ROM : br   0x800a : IntAlu :
        1879968079707500: system.cpu2: T0 : 0xffffffff8151a1b0 
@__cpuidle_text_start+24.32775 :   Microcode_ROM : br   0x800a : IntAlu :
        1879968079707500: system.cpu3: T0 : 0xffffffff81601ea0 
@smp_apic_timer_interrupt+36. 1 :   JLE_I : limm   t2, 0x40  : IntAlu :  
D=0x0000000000000040
        1879968079707500: system.cpu4: T0 : 0x7fb5988c4b6a    : comisd  XMM2
        gem5.opt: build/X86/arch/x86/insts/static_inst.cc:141: static void 
X86ISA::X86StaticInst::printReg(std::ostream&, RegId, int): Assertion `size == 
1 || size == 2 || size == 4 || size == 8' failed.
        Program aborted at tick 1879968079707500

A similar thing happen when I try to recover from another checkpoint:
        4997159090526000: system.switch_cpus2: T0 : 0x7fb597f93c5b. 0 :   
MOVUPS_XMM_M : ldfp   %xmm0_low, DS:[rsi] : FloatMemRead :  
D=0xc00b567540bda98c A=0x7fb55867c536
        4997159090585000: system.switch_cpus4: T0 : 0x7fb597f70167    : mov     
ecx
        4997159090585000: system.switch_cpus4: T0 : 0x7fb597f70167. 0 :   
MOV_R_R : mov   eax, eax, ecx : IntAlu :  D=0x0000000000000063
        4997159090585000: system.switch_cpus4: T0 : 0x7fb597f70169    : movd    
XMM0
        gem5.opt: build/X86/arch/x86/insts/static_inst.cc:141: static void 
X86ISA::X86StaticInst::printReg(std::ostream&, RegId, int): Assertion `size == 
1 || size == 2 || size == 4     || size == 8' failed.
        Program aborted at tick 4997159090592000

Both problems seem to appear when running MMX code. 
Are ISA extensions (MMX, SSE, AVX) not supported by the flag? Or by gem5 in 
general?

Thank you very much,
Pedro.
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to