Hi, I am trying to compile and run splatt ( https://github.com/ShadenSmith/splatt ) on gem5 for x86 ISA. I am doing static linking when compiling splatt. I am able to run the generated binary natively; however, I am not able to run it on gem5 (syscall emulation mode). Initially, gem5 was complaining about some vector instructions like "pcmpeqq_Vdq_Wdq" which are not implemented in gem5. I tried to disable vectorization. Then gem5 started to complain "malloc(): smallbin double linked list corrupted" for the places splatt uses "posix_mem_align". So I replaced "posix_mem_align" with "malloc" to avoid this error. But now gem5 complains "panic: Tried to read unmapped address 0x4942cc0. PC: 0x15f20, Instr: MOVSD_XMM_M : ldfp %xmm0_low, DS:[8*rdx + rax]". I have set the mem-size to be 4GB in gem5 and this address definitely lies within that range.
Is compiling code for gem5-x86 that hard or I am doing something wrong. Any suggestions on how to get splatt compiled and run for gem5 would be helpful. Thanks, Nitish
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users