Dear Joel,

In slide 78 of isca_pres_2011.pdf, you described instrumenting a benchmark.

I have written a C program:

#include<stdlib.h>
#include</home/hamidreza/gem5/util/m5/m5op.h>

int main()
{
    m5_dump_stats(1,0);
    printf("hello world\n");
    return 0;
    m5_dump_stats(1,0);
}

I have compiled this application as following:
alphaev67-unknown-linux-gnu-gcc -o t test.c m5op_x86.S

when this program is executed in Gem5, following error occurs:

Illegal instruction

Could you help me?
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to