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

2008-12-07 Thread Wouter Verhelst
On Fri, Dec 05, 2008 at 12:24:50PM -0800, Amit Uttamchandani wrote: > Hey guys, > > 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

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

2008-12-07 Thread Amit Uttamchandani
On Sun, 7 Dec 2008 12:25:03 +0530 "Sujit Karataparambil" <[EMAIL PROTECTED]> wrote: > > 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 add

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

[OT] Disabling hardware speculation support in GCC flags

2008-12-05 Thread Amit Uttamchandani
Hey guys, 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 d