Re: SerializeParamList vs machines with strict alignment

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: SerializeParamList vs machines with strict alignment
Дата
Msg-id CAEepm=1QkD_udoP3sxc_fci7x3PXQu3-Q-E-oempRuciSNp05Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: SerializeParamList vs machines with strict alignment  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: SerializeParamList vs machines with strict alignment
Список pgsql-hackers
On Tue, Oct 2, 2018 at 9:49 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Apparently the only somewhat-modern architecture that is resolutely
> unaligned-unfriendly is MIPS.

It's been a few years now since I worked on that architecture, but
Sparc is somewhat-modern and resolutely unaligned-unfriendly.  It's
just that you can optionally install a trap handler that will do super
slow non-atomic misaligned access in software instead of blowing up
with SIGBUS.  With the Sun toolchain you did that explicitly by
building with -misalign (though it's possible that more recent
compilers might be doing that without being asked?).

-- 
Thomas Munro
http://www.enterprisedb.com


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

Предыдущее
От: Lou Picciano
Дата:
Сообщение: Re: SerializeParamList vs machines with strict alignment
Следующее
От: Thomas Munro
Дата:
Сообщение: snprintf.c hammering memset()