Hi Kevin,

Yes, I believe that's correct. However, I doubt anyone has ever tested if
the stronger MCM works correctly in this case. So you might need to do some
careful testing and/or dig into the code carefully.

Cheers,
Jason

On Sat, May 18, 2019 at 1:36 PM Kevin Smith <[email protected]> wrote:

> I have a question regarding the memory consistency model (MCM) when using
> different ISAs with the classic memory system.
>
> My understanding is that the design of gem5 mostly decouples the ISA
> semantics from the microarchitectural implementation in order to more
> easily support multiple ISAs. There is the needsTSO flag enabled for x86 (
> https://github.com/gem5/gem5/blob/master/src/cpu/o3/O3CPU.py#L179), but
> otherwise all else is the same regardless of ISA selection.
>
> As a result, for example, if I was to use the Alpha ISA but also enable
> the needsTSO flag, I would essentially be using an Alpha simulator but with
> x86 MCM semantics, correct? I.e. I would have total store ordering even
> though I am using Alpha?
>
> Thanks for any info/help!
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> 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