Re: lock support for aarch64

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: lock support for aarch64
Дата
Msg-id 51910897.6070500@vmware.com
обсуждение исходный текст
Ответ на Re: lock support for aarch64  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: lock support for aarch64
Список pgsql-hackers
On 13.05.2013 18:14, Tom Lane wrote:
> Mark Salter<msalter@redhat.com>  writes:
>> I used the following patch to add lock support aarch64. It is just a
>> copy of the arm support based on gcc builtins. Postgresql built with
>> this patch passes the various tests.
>
> Couldn't we just do
>
> -#if defined(__arm__) || defined(__arm)
> +#if defined(__arm__) || defined(__arm) || defined(__aarch64__)
>
> in the existing ARM code block?

That would imply falling back to swpb instruction also on aarch64, which 
won't work.

- Heikki



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

Предыдущее
От: Robins Tharakan
Дата:
Сообщение: Re: Add more regression tests for dbcommands
Следующее
От: Tom Lane
Дата:
Сообщение: Re: erroneous restore into pg_catalog schema