| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера