I believe the instsize is this case is just how many byte the CPU
reads at a time when trying to assemble a variable length instruction,
but someone familiar with x86/gem5 would have a better response. 

Ali


On 01.07.2013 09:22, Xiangyang Guo wrote: 

> Hi, Ali,
> 
> Thanks for
explain. This makes sense.
> 
> Could I ask another question? I notice
the default mode of X86 is X86-64, so the inst size is 64 bits. Does
Gem5 support other mode like compatibility mode ? I tried to modify the
configuration in process.cc and decoder file. But it seems cannot change
the inst size to variable length. Thanks for attention.
> 
> Regards
>

> Xiangyang 
> 
> On Mon, Jul 1, 2013 at 12:37 AM, Ali Saidi
<[email protected]> wrote:
> 
>> There are things other than the explicit
source registers that need to be accounted for (for example flag
registers).
>> 
>> Ali
>> 
>> On Jun 30, 2013, at 3:08 PM, Xiangyang Guo
<[email protected]> wrote:
>> 
>> > Hi, Deal all,
>> >
>> > I use SE
mode, ARM ISA and O3 cpu. I print out the num_src_regs, "unsigned
num_src_regs = inst->numSrcRegs(); " (src/cpu/o3/rename_impl.hh) in the
function DefaultRename<Impl>::renameSrcRegs(DynInstPtr &inst, ThreadID
tid), and I find an intertesting thing: the number of source regs are
something like 3 or 4 or 5 or 6. Then I use X86 ISA and do the same
thing, and the source regs are even something like 8.
>> >
>> > So I
think maybe I misunderstand something, because I think the num of source
regs in one inst should be smaller. so could anyone explain this? Thanks
in advance. In addition, just want to confirm, form my understanding,
the renamed inst is micro inst?
>> >
>> > Regards
>> >
>> > Xiangyang >
_______________________________________________
>> > gem5-users mailing
list
>> > [email protected]
>> >
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [1]
>> 
>>
_______________________________________________
>> gem5-users mailing
list
>> [email protected]
>>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [1]
> 
>
_______________________________________________
> gem5-users mailing
list
> [email protected]
>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [1]




Links:
------
[1]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to