Hi Fangfei, I don't know that the ccnt register is implemented for ARM at the moment. You can probably get what you want by executing the pseudo instruction rpns() (see util/m5/m5oph.h).
Ali On Feb 23, 2013, at 12:09 AM, Fangfei Liu <[email protected]> wrote: > Hi, > > Does anyone know whether it is possible to read the ARM CCNT (cycle count) > register in SE mode? I can do the similar thing for X86 and alpha in SE > mode, but I get an error when I use the following assembly code to read CCNT: > > asm volatile ("MRC p15, 0, %0, c9, c13, 0\t\n": "=r"(value)); > > panic: Attempted to execute unknown instruction. > > > Best regards > Fangfei > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
