Re: [PATCH] sh: Add support Renesas SuperH

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] sh: Add support Renesas SuperH
Дата
Msg-id 14537.1207411101@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [PATCH] sh: Add support Renesas SuperH  (Nobuhiro Iwamatsu <iwamatsu@nigauri.org>)
Список pgsql-patches
Nobuhiro Iwamatsu <iwamatsu@nigauri.org> writes:
> +    __asm__ __volatile__(
> +        "tas.b  @%1\n\t"
> +        "movt   %0\n\t"
> +        "xor    #1,%0"
> +:        "=z"(_res)
> +:        "r"(lock)
> +:        "t","memory");

Another question: this asm declaration ignores the advice given at lines
89-107 of s_lock.h, both cosmetic and substantive.  Why?  Are you
entirely certain it's right, and not subject to optimization problems in
versions of gcc other than whatever you tested?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] sh: Add support Renesas SuperH
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Expose checkpoint start/finish times into SQL.