mirror of
https://github.com/xemu-project/xemu.git
synced 2026-07-11 01:24:41 +02:00
d7754940d7
*: Delete checks for old host definitions tcg/loongarch64: Generate LSX instructions fpu: Add conversions between bfloat16 and [u]int8 fpu: Handle m68k extended precision denormals properly accel/tcg: Improve cputlb i/o organization accel/tcg: Simplify tlb_plugin_lookup accel/tcg: Remove false-negative halted assertion tcg: Add gvec compare with immediate and scalar operand tcg/aarch64: Emit BTI insns at jump landing pads [Resolved conflict between CPUINFO_PMULL and CPUINFO_BTI. --Stefan] * tag 'pull-tcg-20230915-2' of https://gitlab.com/rth7680/qemu: (39 commits) tcg: Map code_gen_buffer with PROT_BTI tcg/aarch64: Emit BTI insns at jump landing pads util/cpuinfo-aarch64: Add CPUINFO_BTI tcg: Add tcg_out_tb_start backend hook fpu: Handle m68k extended precision denormals properly fpu: Add conversions between bfloat16 and [u]int8 accel/tcg: Introduce do_st16_mmio_leN accel/tcg: Introduce do_ld16_mmio_beN accel/tcg: Merge io_writex into do_st_mmio_leN accel/tcg: Merge io_readx into do_ld_mmio_beN accel/tcg: Replace direct use of io_readx/io_writex in do_{ld,st}_1 accel/tcg: Merge cpu_transaction_failed into io_failed plugin: Simplify struct qemu_plugin_hwaddr accel/tcg: Use CPUTLBEntryFull.phys_addr in io_failed accel/tcg: Split out io_prepare and io_failed accel/tcg: Simplify tlb_plugin_lookup target/arm: Use tcg_gen_gvec_cmpi for compare vs 0 tcg: Add gvec compare with immediate and scalar operand tcg/loongarch64: Implement 128-bit load & store tcg/loongarch64: Lower rotli_vec to vrotri ... Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
26 lines
692 B
C
26 lines
692 B
C
/*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* Host specific cpu identification for AArch64.
|
|
*/
|
|
|
|
#ifndef HOST_CPUINFO_H
|
|
#define HOST_CPUINFO_H
|
|
|
|
#define CPUINFO_ALWAYS (1u << 0) /* so cpuinfo is nonzero */
|
|
#define CPUINFO_LSE (1u << 1)
|
|
#define CPUINFO_LSE2 (1u << 2)
|
|
#define CPUINFO_AES (1u << 3)
|
|
#define CPUINFO_PMULL (1u << 4)
|
|
#define CPUINFO_BTI (1u << 5)
|
|
|
|
/* Initialized with a constructor. */
|
|
extern unsigned cpuinfo;
|
|
|
|
/*
|
|
* We cannot rely on constructor ordering, so other constructors must
|
|
* use the function interface rather than the variable above.
|
|
*/
|
|
unsigned cpuinfo_init(void);
|
|
|
|
#endif /* HOST_CPUINFO_H */
|