git: 0ec3e991112d - main - Use '.arch_extension crc' in the arm64 crc32 code

Andrew Turner andrew at FreeBSD.org
Thu May 6 10:06:48 UTC 2021


The branch main has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=0ec3e991112d85a790ca3bbb4175652f37f4bd15

commit 0ec3e991112d85a790ca3bbb4175652f37f4bd15
Author:     Andrew Turner <andrew at FreeBSD.org>
AuthorDate: 2021-05-06 07:37:47 +0000
Commit:     Andrew Turner <andrew at FreeBSD.org>
CommitDate: 2021-05-06 07:42:35 +0000

    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
---
 sys/libkern/arm64/crc32c_armv8.S | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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


More information about the dev-commits-src-all mailing list