Hi all, We are using gem5 stable version 20131014 to build a new cpu model based on timing. The codes below are cut from the log file with debug-flags=ExecAllNoTicks. The benchmark is coremark and the compiler is from codesourcery.
CPU increases stack size when it executes microops. The version 20140423 is correct, but the version 20131014 is wrong. The old version does not finish the microops and jump to next instruction. Because we have worked on old version for a long time and we want to continue work on it. Could anyone tell me which change can fix this bug? Regards, Hu gem5 Version 20131014: system.cpu T0 : 0x198fc.0 : addi_uop r34, sp, #0 : IntAlu : D=0x00000000beffefe0 info: Increasing stack size by one page. system.cpu T0 : 0x198fc : and r1, r1, #255 : IntAlu : D=0x0000000000000025 system.cpu T0 : 0x19900 : beq : IntAlu : system.cpu T0 : 0x19940 : bne : IntAlu : Predicated False system.cpu T0 : 0x19944 : orr r3, r1, r1, LSL #8 : IntAlu : D=0x0000000000002525 system.cpu T0 : 0x19948 : orr r3, r3, r3, LSL #16 : IntAlu : D=0x0000000025252525 system.cpu T0 : 0x1994c : sub r12, r0, #4 : IntAlu : D=0x0000000000071b58 system.cpu T0 : 0x19950 : b : IntAlu : gem5 Version 20140423 system.cpu T0 : 0x198fc.0 : addi_uop r35, sp, #0 : IntAlu : D=0x00000000beffefe0 info: Increasing stack size by one page. system.cpu T0 : 0x198fc.1 : str_uop r4, [r35, #20] : MemWrite : D=0x00000000fbad2a84 A=0xbeffefcc system.cpu T0 : 0x198fc.2 : str_uop r5, [r35, #16] : MemWrite : D=0x00000000000924f0 A=0xbeffefd0 system.cpu T0 : 0x198fc.3 : str_uop r6, [r35, #12] : MemWrite : D=0x0000000000000000 A=0xbeffefd4 system.cpu T0 : 0x198fc.4 : str_uop r7, [r35, #8] : MemWrite : D=0x00000000000d66e6 A=0xbeffefd8 system.cpu T0 : 0x198fc.5 : str_uop r8, [r35, #4] : MemWrite : D=0x0000000000071b5c A=0xbeffefdc system.cpu T0 : 0x198fc.6 : subi_uop sp, sp, #20 : IntAlu : D=0x00000000beffefcc system.cpu T0 : 0x19900 : and r1, r1, #255 : IntAlu : D=0x0000000000000025 system.cpu T0 : 0x19904 : beq : IntAlu : system.cpu T0 : 0x19944 : orr r3, r1, r1, LSL #8 : IntAlu : D=0x0000000000002525 system.cpu T0 : 0x19948 : orr r3, r3, r3, LSL #16 : IntAlu : D=0x0000000025252525 system.cpu T0 : 0x1994c : sub r12, r0, #4 : IntAlu : D=0x0000000000071b58 system.cpu T0 : 0x19950 : b : IntAlu : _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
