Hi,

You can extract the instruction's information anywhere in the pipeline from
a DynInstPtr object. For example, you could find the instruction type by:

OpClass op_class = inst->opClass();

For floating point instructions, I think you should checkout the the vector
instructions using XMM registers instead of FMUL. I dont knwo if gem5
implement the x87 instructions.

On Thu, Apr 7, 2016 at 11:34 PM, dipesh ingawale <dipeshingaw...@gmail.com>
wrote:

> Hi All,
>
> I am new to the gem5. Please help me with this.
>
> I want to trace Floating point instructions in X86 architecture (and
> possibly in ARM as well) while running any application on it. I want to
> trace when the floating point instructions occur and the arguments given to
> the instruction. Even if you can point me to correct source file to modify,
> that'd be great help.
>
> I also want to trace integer multiplication instructions. And for that I
> modified the dyn_inst_impl.hh file in src/cpu/o3 directory. I wanted to
> know if this is a correct approach? If not what can I do to achieve this.
>
> Thank you for the help!
>
> - Dipesh
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>



-- 
yw
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to