aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2021-05-06 07:37:47 +0000
committerAndrew Turner <andrew@FreeBSD.org>2021-06-12 01:21:54 +0000
commit3699da67bf4de9a1efe69d498ff4ec896b650dc7 (patch)
treed370b76d305c8a34a4ad6dc9a4d04a44fa456e7e
parent48e4430ea5a1e82121a8fe486eb09986b9b62f0f (diff)
downloadsrc-3699da67bf4de9a1efe69d498ff4ec896b650dc7.tar.gz
src-3699da67bf4de9a1efe69d498ff4ec896b650dc7.zip
Use '.arch_extension crc' in the arm64 crc32 code
We don't care about the base architecture here, just that the crc extension is enabled. Sponsored by: Innovate UK (cherry picked from commit 0ec3e991112d85a790ca3bbb4175652f37f4bd15)
-rw-r--r--sys/libkern/arm64/crc32c_armv8.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/libkern/arm64/crc32c_armv8.S b/sys/libkern/arm64/crc32c_armv8.S
index e5d0ff80d97b..6a1991262a33 100644
--- a/sys/libkern/arm64/crc32c_armv8.S
+++ b/sys/libkern/arm64/crc32c_armv8.S
@@ -27,7 +27,8 @@
#include <machine/asm.h>
__FBSDID("$FreeBSD$");
-.arch armv8-a+crc
+
+.arch_extension crc
/*
* uint32_t