Page MenuHomeFreeBSD

D22314.diff
No OneTemporary

D22314.diff

Index: sys/arm64/arm64/identcpu.c
===================================================================
--- sys/arm64/arm64/identcpu.c
+++ sys/arm64/arm64/identcpu.c
@@ -928,6 +928,9 @@
if (ID_AA64ISAR0_SM3_VAL(cpu_desc[cpu].id_aa64isar0) == ID_AA64ISAR0_SM3_IMPL)
hwcap |= HWCAP_SM3;
+ if (ID_AA64ISAR0_SHA3_VAL(cpu_desc[cpu].id_aa64isar0) == ID_AA64ISAR0_SHA3_IMPL)
+ hwcap |= HWCAP_SHA3;
+
if (ID_AA64ISAR0_RDM_VAL(cpu_desc[cpu].id_aa64isar0) == ID_AA64ISAR0_RDM_IMPL)
hwcap |= HWCAP_ASIMDRDM;
@@ -948,7 +951,7 @@
break;
}
- if (ID_AA64ISAR0_SHA1_VAL(cpu_desc[cpu].id_aa64isar0))
+ if (ID_AA64ISAR0_SHA1_VAL(cpu_desc[cpu].id_aa64isar0) == ID_AA64ISAR0_SHA1_BASE)
hwcap |= HWCAP_SHA1;
switch (ID_AA64ISAR0_AES_VAL(cpu_desc[cpu].id_aa64isar0)) {

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 18, 1:58 PM (12 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15863759
Default Alt Text
D22314.diff (774 B)

Event Timeline