Discussion:
[gem5-users] To get data trace from add and sub instructions
Riddhi Thakker
2018-06-16 08:22:19 UTC
Permalink
Hi all,

I am trying to get data trace from addition and subtraction instructions on
x86. For this I located the place where add and sub instructions are
evaluated i.e. src/arch/x86/isa/microops/mediaop.isa. In this file at line
915, a class Maddi is defined which adds integer values. Then in
src/arch/x86/isa/insts/simd64/integer/arithmetic/addition.py file, maddi is
called. So I am confused whether the maadi in latter file calls Maddi class
in prior file or not ?
I want to know this because when I run benchmark I am getting data trace
for subtraction and not for addition. Whereas, addition should take place.
Then why am I not getting data trace for addition? And this is also the
same scenario for integer multiplication.

Am I going on the right track?

Any suggestions will be helpful to me.

Thanks in advance.

Regards,
Riddhi

Loading...