arm64: Mark the armv8 crc32c as supporting BTIThis is built into a test so needs the BTI elf note for the rest of thetest to be built with BTI support enabled.As the assembly uses the ENTRY macr
arm64: Mark the armv8 crc32c as supporting BTIThis is built into a test so needs the BTI elf note for the rest of thetest to be built with BTI support enabled.As the assembly uses the ENTRY macro it already supports BTI, so markit as such.Sponsored by: Arm LtdDifferential Revision: https://reviews.freebsd.org/D42595(cherry picked from commit 25d0310ed881e86cec9ab5cf37dd8471e88ad554)
show more ...
sys: Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
Use '.arch_extension crc' in the arm64 crc32 codeWe don't care about the base architecture here, just that the crcextension is enabled.Sponsored by: Innovate UK
arm64: add ".arch armv8-a+crc" to allow use of crc instructionsWith Clang 5.0 the .arch directive is required, otherwise Clangcomplains "error: instruction requires: crc".This was reported in D1
arm64: add ".arch armv8-a+crc" to allow use of crc instructionsWith Clang 5.0 the .arch directive is required, otherwise Clangcomplains "error: instruction requires: crc".This was reported in D10499 but not added initially, because clang 3.8available on a ref machine reported unknown directive. Clang 4.0 allowsbut does not require the directive.Submitted by: andrewMFC after: 1 weekSponsored by: The FreeBSD Foundation
armv8 has support for optional CRC32C instructions. This patch checks if they areavailable and if that is true make use of them.Thank you very much to Andrew Turner for providing help and review th
armv8 has support for optional CRC32C instructions. This patch checks if they areavailable and if that is true make use of them.Thank you very much to Andrew Turner for providing help and review the patch!Reviewed by: andrewMFC after: 1 weekDifferential Revision: https://reviews.freebsd.org/D10499