Re: What exactly is our CRC algorithm?

Поиск
Список
Период
Сортировка
От Abhijit Menon-Sen
Тема Re: What exactly is our CRC algorithm?
Дата
Msg-id 20150403022840.GA23750@toroid.org
обсуждение исходный текст
Ответ на Re: What exactly is our CRC algorithm?  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: What exactly is our CRC algorithm?  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
At 2015-04-03 00:33:10 +0300, hlinnaka@iki.fi wrote:
>
> I came up with the attached.

I like it very much.

src/port/Makefile has (note src/srv):
   +# pg_crc32c_sse42.o and its _src.o version need CFLAGS_SSE42   +pg_crc32c_sse42.o: CFLAGS+=$(CFLAGS_SSE42)
+pg_crc32c_sse42_srv.o:CFLAGS+=$(CFLAGS_SSE42)
 

Other than that, this looks great. Thank you.

> BTW, we might want to move the "traditional" and "legacy" crc32
> implementations out of src/common. They are only used in backend
> code now.

I agree.

-- Abhijit



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Table-level log_autovacuum_min_duration
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: Abbreviated keys for Numeric