[PATCH v2] Use CC atomic builtins as a fallback

Поиск
Список
Период
Сортировка
От Martin Pitt
Тема [PATCH v2] Use CC atomic builtins as a fallback
Дата
Msg-id 20111219171145.GN2972@piware.de
обсуждение исходный текст
Ответ на Re: [PATCH] Use CC atomic builtins if available [was: Re: TAS patch for building on armel/armhf thumb]  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [PATCH v2] Use CC atomic builtins as a fallback  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Robert Haas [2011-12-19  9:31 -0500]:
> -1.  Absent some evidence that gcc's implementations are superior to
> ours, I think we should not change stuff that works now.  That's
> likely to lead to subtle bugs that are hard to find and perhaps
> dependent on the exact compiler version used.
>
> But I'm completely cool with doing this for platforms where we haven't
> otherwise got an implementation.  Any port in a storm.

The updated patch only uses the gcc builtins if there is no explicit
implementation, but drops the arm one as this doesn't work on ARMv7
and newer, as stated in the original mail.

Thanks,

Martin
--
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Вложения

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [PATCH] Use CC atomic builtins if available [was: Re: TAS patch for building on armel/armhf thumb]
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #6346: unsubscribe doesn't work