svn commit: r321593 - stable/11/sys/libkern/arm64

Ed Maste emaste at FreeBSD.org
Wed Jul 26 23:14:23 UTC 2017


Author: emaste
Date: Wed Jul 26 23:14:21 2017
New Revision: 321593
URL: https://svnweb.freebsd.org/changeset/base/321593

Log:
  MFC r319718: arm64: add ".arch armv8-a+crc" to allow use of crc instructions
  
  With Clang 5.0 the .arch directive is required, otherwise Clang
  complains "error: instruction requires: crc".
  
  This was reported in D10499 but not added initially, because clang 3.8
  available on a ref machine reported unknown directive.  Clang 4.0 allows
  but does not require the directive.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/11/sys/libkern/arm64/crc32c_armv8.S
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/libkern/arm64/crc32c_armv8.S
==============================================================================
--- stable/11/sys/libkern/arm64/crc32c_armv8.S	Wed Jul 26 23:05:25 2017	(r321592)
+++ stable/11/sys/libkern/arm64/crc32c_armv8.S	Wed Jul 26 23:14:21 2017	(r321593)
@@ -27,6 +27,7 @@
 
 #include <machine/asm.h>
 __FBSDID("$FreeBSD$");
+.arch armv8-a+crc
 
 /*
  * uint32_t


More information about the svn-src-all mailing list