Re: What exactly is our CRC algorithm?

Поиск
Список
Период
Сортировка
От Abhijit Menon-Sen
Тема Re: What exactly is our CRC algorithm?
Дата
Msg-id 20141230070611.GA29360@toroid.org
обсуждение исходный текст
Ответ на Re: What exactly is our CRC algorithm?  (Abhijit Menon-Sen <ams@2ndQuadrant.com>)
Список pgsql-hackers
At 2014-12-29 18:44:18 +0530, ams@2ndQuadrant.com wrote:
>
> > > +#ifdef __GNUC__
> > > +    __asm__ ("crc32b %[data], %[crc]\n" : [crc] "+r" (crc) : [data] "rm" (data));
> > 
> > Have you checked which version of gcc introduced named references to
> > input/output parameters?

OK, here we go:
   «As of GCC version 3.1, it is also possible to specify input and   output operands using symbolic names which can be
referencedwithin   the assembler code.»
 

GCC 3.1 was released on May 15, 2002. So it should be quite safe to use
this feature.

-- Abhijit



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Additional role attributes && superuser review
Следующее
От: Abhijit Menon-Sen
Дата:
Сообщение: Re: What exactly is our CRC algorithm?