• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂29b1539538f5f285e017adbc64b8d72b45c104a8 (tree)
時間2015-12-16 01:38:58
作者Matthew Wahab <matthew.wahab@arm....>
CommiterMatthew Wahab

Log Message

[ARM] Enable CRC by default for ARMv8.1 and later.

ARMv8.1 includes CRC as a required extension but the +crc feature isn't
enabled by -march=armv8.1-a as it should be. This patch fixes that.

opcode/include
2015-12-15 Matthew Wahab <matthew.wahab@arm.com>

* arm.h (ARM_ARCH_V8_1A): Add the CRC_EXT_ARMV8 co-processor
feature macro.
(ARM_ARCH_V8_2A): Likewise.

Change-Id: Id1fe0e6fa51dede19d61e1fd08e68628ea1b1e9e

Change Summary

差異

--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,9 @@
1+2015-12-15 Matthew Wahab <matthew.wahab@arm.com>
2+
3+ * arm.h (ARM_ARCH_V8_1A): Add the CRC_EXT_ARMV8 co-processor
4+ feature macro.
5+ (ARM_ARCH_V8_2A): Likewise.
6+
17 2015-12-14 Matthew Wahab <matthew.wahab@arm.com>
28
39 * aarch64.h (enum aarch64_opnd_qualifier): Add
--- a/include/opcode/arm.h
+++ b/include/opcode/arm.h
@@ -251,9 +251,11 @@
251251 #define ARM_ARCH_V7M ARM_FEATURE_CORE_LOW (ARM_AEXT_V7M)
252252 #define ARM_ARCH_V7EM ARM_FEATURE_CORE_LOW (ARM_AEXT_V7EM)
253253 #define ARM_ARCH_V8A ARM_FEATURE_CORE_LOW (ARM_AEXT_V8A)
254-#define ARM_ARCH_V8_1A ARM_FEATURE_CORE (ARM_AEXT_V8A, ARM_EXT2_PAN)
255-#define ARM_ARCH_V8_2A ARM_FEATURE_CORE (ARM_AEXT_V8A, \
256- ARM_EXT2_PAN | ARM_EXT2_V8_2A)
254+#define ARM_ARCH_V8_1A ARM_FEATURE (ARM_AEXT_V8A, ARM_EXT2_PAN, \
255+ CRC_EXT_ARMV8)
256+#define ARM_ARCH_V8_2A ARM_FEATURE (ARM_AEXT_V8A, \
257+ ARM_EXT2_PAN | ARM_EXT2_V8_2A, \
258+ CRC_EXT_ARMV8)
257259
258260 /* Some useful combinations: */
259261 #define ARM_ARCH_NONE ARM_FEATURE_LOW (0, 0)