*Ref: gem5/src/sim/instracer.hh*
*Line 80 onwards*

*    /** @defgroup data*
*     * If this instruction wrote any data values they're recorded here*
*     * WARNING: Instructions are quite loose with with what they write*
*     * since many instructions write multiple values (e.g. destintation*
*     * register, flags, status, ...) This only captures the last write.*
*     * @TODO fix this and record all destintations that an instruction
writes*
*     * @see data_status*
*     */*
*    union {*
*        uint64_t as_int;*
*        double as_double;*
*    } data;*

I need the value of all destination registers. Please direct me which file
I need to modify for this. I am unable to find where the function (which
records the result)
     void setData(Twin64_t d) { data.as_int = d.a; data_status = DataInt64;
}
is used.
     Also, since this data is printed as data("D=0x....") in the trace
file, it give the impression that it is the value of destination
architectural register. Requesting you to make necessary changes at your end

Thanks in advance.

Regards,

*Renju Boben*

*M Tech*

*Electronic Systems*

*IIT Bombay*
*Ph - 7506112155*
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to