Re: [OT] Disabling hardware speculation support in GCC flags
Amit Uttamchandani writes:
> I'm learning the PPC architecture and I have a PowerBook G4 (7410)
> 500MHz. Looking at the datasheet for the processor, it has support for
> hardware speculation which allows out-of-order execution.
>
> I wanted to test program run times by compiling using gcc with flags
> that enable and then disable support for this hardware speculation
> feature. This is just to see the difference between program run times.
>
> Any ideas which flags/options I should be using in gcc?
It's not something that gcc has any control over. In fact there isn't
any way to turn off the out-of-order execution that I know of.
Paul.
Reply to: