mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-27 04:41:02 +08:00
3ab2d57a4d
The SSE4.2 implementation is used in the DSO only. The patch also adds some infrastructure to be used in similar code later one.
16 lines
487 B
Plaintext
16 lines
487 B
Plaintext
#include "init-arch.h"
|
|
#include <stddef.h>
|
|
|
|
--
|
|
|
|
CPU_FEATURES_SIZE sizeof (struct cpu_features)
|
|
KIND_OFFSET offsetof (struct cpu_features, kind)
|
|
CPUID_OFFSET offsetof (struct cpu_features, cpuid)
|
|
CPUID_SIZE sizeof (struct cpuid_registers)
|
|
CPUID_EAX_OFFSET offsetof (struct cpuid_registers, eax)
|
|
CPUID_EBX_OFFSET offsetof (struct cpuid_registers, ebx)
|
|
CPUID_ECX_OFFSET offsetof (struct cpuid_registers, ecx)
|
|
CPUID_EDX_OFFSET offsetof (struct cpuid_registers, edx)
|
|
|
|
COMMON_CPUID_INDEX_1
|