git: 3699da67bf4d - stable/13 - Use '.arch_extension crc' in the arm64 crc32 code

Andrew Turner andrew at FreeBSD.org
Sat Jun 12 14:01:08 UTC 2021


The branch stable/13 has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=3699da67bf4de9a1efe69d498ff4ec896b650dc7

commit 3699da67bf4de9a1efe69d498ff4ec896b650dc7
Author:     Andrew Turner <andrew at FreeBSD.org>
AuthorDate: 2021-05-06 07:37:47 +0000
Commit:     Andrew Turner <andrew at FreeBSD.org>
CommitDate: 2021-06-12 01:21:54 +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
    
    (cherry picked from commit 0ec3e991112d85a790ca3bbb4175652f37f4bd15)
---
 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