mirror of
https://github.com/libressl/portable.git
synced 2026-01-17 21:51:17 +01:00
Regen crypto-cpu-caps.c patches
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
Disable feature detection until we find a more portable way.
|
||||
|
||||
--- crypto/arch/aarch64/crypto_cpu_caps.c Fri Nov 8 09:23:31 2024
|
||||
--- crypto/arch/aarch64/crypto_cpu_caps.c Fri Nov 8 09:02:47 2024
|
||||
--- crypto/arch/aarch64/crypto_cpu_caps.c.orig Sat Dec 14 13:45:16 2024
|
||||
+++ crypto/arch/aarch64/crypto_cpu_caps.c Sat Dec 14 13:54:06 2024
|
||||
@@ -16,9 +16,12 @@
|
||||
*/
|
||||
|
||||
@@ -15,7 +15,7 @@ Disable feature detection until we find a more portable way.
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
@@ -66,6 +69,7 @@
|
||||
@@ -67,6 +70,7 @@ parse_isar0(uint64_t isar0)
|
||||
return caps;
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ Disable feature detection until we find a more portable way.
|
||||
static int
|
||||
read_isar0(uint64_t *isar0)
|
||||
{
|
||||
@@ -83,6 +87,13 @@
|
||||
@@ -84,6 +88,13 @@ read_isar0(uint64_t *isar0)
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- crypto/arch/amd64/crypto_cpu_caps.c.orig Fri Oct 18 17:35:20 2024
|
||||
+++ crypto/arch/amd64/crypto_cpu_caps.c Fri Oct 18 17:39:13 2024
|
||||
@@ -33,7 +33,7 @@ cpuid(uint32_t eax, uint32_t *out_eax, uint32_t *out_e
|
||||
--- crypto/arch/amd64/crypto_cpu_caps.c.orig Sat Dec 14 13:45:16 2024
|
||||
+++ crypto/arch/amd64/crypto_cpu_caps.c Sat Dec 14 13:54:06 2024
|
||||
@@ -37,7 +37,7 @@ cpuid(uint32_t eax, uint32_t *out_eax, uint32_t *out_e
|
||||
{
|
||||
uint32_t ebx = 0, ecx = 0, edx = 0;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
__asm__ ("cpuid": "+a"(eax), "+b"(ebx), "+c"(ecx), "+d"(edx));
|
||||
#else
|
||||
eax = 0;
|
||||
@@ -54,7 +54,7 @@ xgetbv(uint32_t ecx, uint32_t *out_eax, uint32_t *out_
|
||||
@@ -58,7 +58,7 @@ xgetbv(uint32_t ecx, uint32_t *out_eax, uint32_t *out_
|
||||
{
|
||||
uint32_t eax = 0, edx = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user