Re: Intermediate report for AIX 5L port

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: Intermediate report for AIX 5L port
Дата
Msg-id 3C18C952.D2460588@fourpalms.org
обсуждение исходный текст
Ответ на Re: Intermediate report for AIX 5L port  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
...
> It can see the lock values don't have any effect on 'a'.  What actually
> does keep this stuff from moving around?

Lack of ambition?

I'm pretty sure that the only reasons *to* reorder instructions are:

1) there could be a performance gain, as in  a) loop unrolling b) pipeline fill considerations c) unnecessary
assignment(e.g. result is ignored, or only used on one
 
path)

2) the optimization level allows it (-O0 does not reorder at all)

I vaguely recall that the gcc docs discuss the kinds of optimizations
allowed at each level. Presumably IBM's AIX compiler was a bit more
aggressive in evaluating costs or pipeline fills than is gcc on other
processors.
                     - Thomas


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: [CYGWIN] Platform Testing - Cygwin
Следующее
От: Patrick Welche
Дата:
Сообщение: Re: Bulkloading using COPY - ignore duplicates?