> On 2010-11-21 00:30:24, Gabe Black wrote:
> > src/arch/sparc/isa/decoder.isa, line 493
> > <http://reviews.m5sim.org/r/320/diff/1/?file=5382#file5382line493>
> >
> >     This line is probably too long now.

fixed


> On 2010-11-21 00:30:24, Gabe Black wrote:
> > src/cpu/o3/commit_impl.hh, line 918
> > <http://reviews.m5sim.org/r/320/diff/1/?file=5384#file5384line918>
> >
> >     Since this is used in only one spot this intermediate variable probably 
> > isn't necessary and obfuscates what's going on a bit.

I was trying to be careful about when the instruction was completed and reading 
it before hand.... It doesn't seem like that was necessary. 


> On 2010-11-21 00:30:24, Gabe Black wrote:
> > src/cpu/o3/commit_impl.hh, line 924
> > <http://reviews.m5sim.org/r/320/diff/1/?file=5384#file5384line924>
> >
> >     I'm guessing here, but does commit already have code that does this? Do 
> > we want to pull that out into a function? Whether or not this sort of thing 
> > is already being done (and I can't imagine it's not) this is a nice mostly 
> > independent blob of code doing something fairly specific, so it'd be a 
> > great candidate to put in a function and simplify this one.

close, but not quite. The code that that does this for a misspredict or a fault 
in a bit different. it updates various fields for the current state and 
squashes the current instruction instead the next one.I'll move the code into a 
function.


- Ali


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.m5sim.org/r/320/#review499
-----------------------------------------------------------


On 2010-11-19 16:12:52, Ali Saidi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviews.m5sim.org/r/320/
> -----------------------------------------------------------
> 
> (Updated 2010-11-19 16:12:52)
> 
> 
> Review request for Default.
> 
> 
> Summary
> -------
> 
> O3: Support squashing all state after special instruction
> 
> For SPARC ASIs are added to the ExtMachInst. If the ASI is changed simply
> marking the instruction as Serializing isn't enough beacuse that only
> stops rename. This provides a mechanism to squash all the instructions
> and refetch them
> 
> 
> Diffs
> -----
> 
>   src/arch/sparc/isa/decoder.isa 6286bb50127e 
>   src/cpu/base_dyn_inst.hh 6286bb50127e 
>   src/cpu/o3/commit_impl.hh 6286bb50127e 
>   src/cpu/static_inst.hh 6286bb50127e 
> 
> Diff: http://reviews.m5sim.org/r/320/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Ali
> 
>

_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to