X86 Built-in Functions

Falk Hueffner falk.hueffner@student.uni-tuebingen.de
Tue Feb 3 10:06:00 GMT 2004


grovenjl@rose-hulman.edu writes:

> So, obviously one could just use optimization, but I would thing
> that gcc would use all registers even without specifying an
> optimization level.

That's a conscious choice to make debugging easier; no optimization
means *really* nop optimization.

> I'm also curious why the gcc team decided to make the builtin
> functions return a value, rather than just working the way that the
> processor works.

I suppose because they're a lot easier to handle this way, and also
otherwise they would have semantics which doesn't fit with the C
programming language.

-- 
	Falk



More information about the Gcc-help mailing list