pgsql: Improve configure test for the sse4.2 crc instruction.
В списке pgsql-committers по дате отправления:
| От | Andres Freund |
|---|---|
| Тема | pgsql: Improve configure test for the sse4.2 crc instruction. |
| Дата | |
| Msg-id | E1ZRGpt-0006VV-Ek@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
Improve configure test for the sse4.2 crc instruction. With optimizations enabled at least one compiler, clang 3.7, optimized away the crc intrinsics knowing that the result went on unused and has no side effects. That can trigger errors in code generation when the intrinsic is used, as we chose to use the intrinsics without any additional compiler flag. Return the computed value to prevent that. With some more pedantic warning flags (-Wold-style-definition) the configure test failed to recognize the existence of _mm_crc32_u* intrinsics due to an independent warning in the test because the test turned on -Werror, but that's not actually needed here. Discussion: 20150814092039.GH4955@awork2.anarazel.de Backpatch: 9.5, where the use of crc intrinsics was integrated. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/6cf72879e944f32b5b8232541cccd575de797fa4 Modified Files -------------- config/c-compiler.m4 | 7 +++---- configure | 10 ++++------ 2 files changed, 7 insertions(+), 10 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера