index 0ab7513f523617130db8ae9741d77a1ab62c1da5..9376d223feffe3d6ec63e8e1c02c8b8e2875a829 100644 (file)
extern pg_crc32c pg_comp_crc32c_sse42(pg_crc32c crc, const void *data, size_t len);
+/*
+ * We can only get here if the host compiler targets SSE 4.2, but on some
+ * systems gcc and clang don't have the same built-in targets, so we still
+ * must use a function attribute here to accommodate "--with-llvm" builds.
+ */
pg_attribute_no_sanitize_alignment()
+pg_attribute_target("sse4.2")
static inline
pg_crc32c
pg_comp_crc32c_dispatch(pg_crc32c crc, const void *data, size_t len)