Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-performance
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-performance@g.o
From: Andrea Pretto <prettz_it@...>
Subject: Re: gcc optimizations
Date: Thu, 1 Jul 2004 11:17:49 +0200 (CEST)
Gcc cannot to preview the contents of  "if{ ... }".
In this case there is a single instruction, but in
others cases the if  statement can contain a lot of
The I think gcc deals the "if" mechanically, and it
don't look for particular "if" with one istruction as
in your example.

After that, there is not a flag or a special
opitmization that favourite use of cmov in asm code,
cmov it's only a instruction.Than you can use it
"manually" in inline assembler.

--- Paul Ingelbrant <pi@...> ha scritto: >
Quoting Andrea Pretto <prettz_it@...>:
> > The flag -mmmx ( like -msse -m3dnow etc...)
> activate
> > some extensions for C language.
> > 
> > See this:
> >
> > 
> > So, those flag activate these built-in functions.
> I see. 
> But what's the matter with the cmov instruction?
> Should be reasonably "simple"
> for  gcc to use it automatically...  
> --
> gentoo-performance@g.o mailing list


Yahoo! Companion - Scarica gratis la toolbar di Ricerca di Yahoo!

gentoo-performance@g.o mailing list

Re: gcc optimizations
-- Paul Ingelbrant
Lists: gentoo-performance: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: gcc optimizations
Next by thread:
Re: How is it possible ???
Previous by date:
Re: gcc optimizations
Next by date:
Re: portage performance

Updated Jun 17, 2009

Summary: Archive of the gentoo-performance mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.