Hello everyone,I am trying to flip the bit of an instruction when it resides in 
the fetch stage of the pipeline (03 cpu). I am unable to directly manipulate 
the bits.In fetch_impl.hh, I have tried writing statements like:  
instruction->staticInst->machInst ^= 1 << 3;But since the machInst type is not 
(int), I get compilation errors.I am new to gem5 and would be glad if someone 
can point me to the instructions or files that would help me accomplish 
this.Thank youRegardsSegnon Ahangbe                                           
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to