Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 2021 10:06:47 GMT
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 0ec3e991112d - main - Use '.arch_extension crc' in the arm64 crc32 code
Message-ID:  <202105061006.146A6lFX081304@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by andrew:

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

commit 0ec3e991112d85a790ca3bbb4175652f37f4bd15
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2021-05-06 07:37:47 +0000
Commit:     Andrew Turner <andrew@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105061006.146A6lFX081304>