Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2017 23:14:22 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r321593 - stable/11/sys/libkern/arm64
Message-ID:  <201707262314.v6QNEMmV041502@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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