util/bufferiszero: Split out host include filesSplit out host/bufferiszero.h.inc for x86, aarch64 and genericin order to avoid an overlong ifdef ladder.Reviewed-by: Philippe Mathieu-Daudé <philm
util/bufferiszero: Split out host include filesSplit out host/bufferiszero.h.inc for x86, aarch64 and genericin order to avoid an overlong ifdef ladder.Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
show more ...
accel/tcg: Rename load-extract/store-insert headers using .h.inc suffixSince commit 139c1837db ("meson: rename included C source filesto .c.inc"), QEMU standard procedure for included C files is t
accel/tcg: Rename load-extract/store-insert headers using .h.inc suffixSince commit 139c1837db ("meson: rename included C source filesto .c.inc"), QEMU standard procedure for included C files is touse *.c.inc.Besides, since commit 6a0057aa22 ("docs/devel: make a statementabout includes") this is documented in the Coding Style: If you do use template header files they should be named with the ``.c.inc`` or ``.h.inc`` suffix to make it clear they are being included for expansion.Therefore rename 'store-insert-al16.h' as 'store-insert-al16.h.inc'and 'load-extract-al16-al8.h' as 'load-extract-al16-al8.h.inc'.Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>Acked-by: Richard Henderson <richard.henderson@linaro.org>Message-Id: <20240424173333.96148-3-philmd@linaro.org>
host/include/i386: Implement clmul.hDetect PCLMUL in cpuinfo; implement the accel hook.Reviewed-by: Ard Biesheuvel <ardb@kernel.org>Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
host/include/i386: Implement aes-round.hDetect AES in cpuinfo; implement the accel hooks.Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
host/include/x86_64: Use __m128i for "x" constraintsThe macOS catalina compiler produces an error for __int128_tas the type for allocation with SSE inline asm constraint.Create a new X86Int128Uni
host/include/x86_64: Use __m128i for "x" constraintsThe macOS catalina compiler produces an error for __int128_tas the type for allocation with SSE inline asm constraint.Create a new X86Int128Union type and use the vector type forall SSE register inputs and outputs.Tested-by: Peter Maydell <peter.maydell@linaro.org>Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg: Add x86_64 load_atom_extract_al16_or_al8Reviewed-by: Peter Maydell <peter.maydell@linaro.org>Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
qemu/atomic128: Add x86_64 atomic128-ldst.hWith CPUINFO_ATOMIC_VMOVDQA, we can perform proper atomicload/store without cmpxchg16b.Reviewed-by: Alex Bennée <alex.bennee@linaro.org>Signed-off-by:
qemu/atomic128: Add x86_64 atomic128-ldst.hWith CPUINFO_ATOMIC_VMOVDQA, we can perform proper atomicload/store without cmpxchg16b.Reviewed-by: Alex Bennée <alex.bennee@linaro.org>Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
util: Add cpuinfo-i386.cAdd cpuinfo.h for i386 and x86_64, and the initializationfor that in util/. Populate that with a slightly alteredcopy of the tcg host probing code. Other uses of cpuid.h
util: Add cpuinfo-i386.cAdd cpuinfo.h for i386 and x86_64, and the initializationfor that in util/. Populate that with a slightly alteredcopy of the tcg host probing code. Other uses of cpuid.hwill be adjusted one patch at a time.Reviewed-by: Alex Bennée <alex.bennee@linaro.org>Reviewed-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Richard Henderson <richard.henderson@linaro.org>