Re: [OT] Disabling hardware speculation support in GCC flags

2008-12-06 Thread Sujit Karataparambil
> You're right, I guess we can't disable the "hardware" directly but if > we let gcc know about this then it is possible that it will do further > optimizations correct? What sort of run time issues can addressed on an runtime usage. > For example, I can compile a C program using regular gcc witho

Re: [OT] Disabling hardware speculation support in GCC flags

2008-12-06 Thread Amit Uttamchandani
On Sat, 6 Dec 2008 22:13:46 +1100 Paul Mackerras <[EMAIL PROTECTED]> wrote: > 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

Re: [OT] Disabling hardware speculation support in GCC flags

2008-12-06 Thread Paul Mackerras
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 f