Re: GCC builtins for atomic-test-and-set, memory barries, and such

Поиск
Список
Период
Сортировка
От Derek E. Lewis
Тема Re: GCC builtins for atomic-test-and-set, memory barries, and such
Дата
Msg-id Pine.A41.4.64.0709240023240.290974@hatsya.orion.const
обсуждение исходный текст
Ответ на Re: GCC builtins for atomic-test-and-set, memory barries, and such  ("Jonah H. Harris" <jonah.harris@gmail.com>)
Список pgsql-hackers
On Mon, 24 Sep 2007, Jonah H. Harris wrote:

> I agree.  I'd prefer to know exactly what's going on in the atomic
> code (rather than having the compiler take care of it for me).
> Similarly, it's pretty rare to use GCC on anything but Linux and the
> *BSDs as each proprietary UNIX vendor has their own compiler optimized
> for their own architectures and operating systems.

Absolutely. GCC seems to be the 'one size fits all' of compilers, meaning 
that it generally isn't the best at optimization for a given architecture 
or lacks features other, more focused compilers tend to have, like 
inter-procedural analysis.

Derek E. Lewis
dlewis at solnetworks.net
http://delewis.blogspot.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: autovacuum launcher eating too much CPU
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: curious regression failures