[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 3/4] include/exec: Introduce fpst alias in helper-head.h.inc
From: |
Richard Henderson |
Subject: |
[PULL 3/4] include/exec: Introduce fpst alias in helper-head.h.inc |
Date: |
Fri, 13 Dec 2024 13:06:35 -0600 |
This allows targets to declare that the helper requires a
float_status pointer and instead of a generic void pointer.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
include/exec/helper-head.h.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/exec/helper-head.h.inc b/include/exec/helper-head.h.inc
index 5ef467a79d..bce5db06ef 100644
--- a/include/exec/helper-head.h.inc
+++ b/include/exec/helper-head.h.inc
@@ -23,6 +23,7 @@
#define dh_alias_ptr ptr
#define dh_alias_cptr ptr
#define dh_alias_env ptr
+#define dh_alias_fpst ptr
#define dh_alias_void void
#define dh_alias_noreturn noreturn
#define dh_alias(t) glue(dh_alias_, t)
@@ -39,6 +40,7 @@
#define dh_ctype_ptr void *
#define dh_ctype_cptr const void *
#define dh_ctype_env CPUArchState *
+#define dh_ctype_fpst float_status *
#define dh_ctype_void void
#define dh_ctype_noreturn G_NORETURN void
#define dh_ctype(t) dh_ctype_##t
@@ -96,6 +98,7 @@
#define dh_typecode_f64 dh_typecode_i64
#define dh_typecode_cptr dh_typecode_ptr
#define dh_typecode_env dh_typecode_ptr
+#define dh_typecode_fpst dh_typecode_ptr
#define dh_typecode(t) dh_typecode_##t
#define dh_callflag_i32 0
--
2.43.0
- [PATCH 00/71] whole-tree: Constify Property structures, Richard Henderson, 2024/12/13
- [PULL 1/4] tcg: Reset free_temps before tcg_optimize, Richard Henderson, 2024/12/13
- [PATCH 02/71] target/avr: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 04/71] target/i386: Constify all Property, Richard Henderson, 2024/12/13
- [PULL 3/4] include/exec: Introduce fpst alias in helper-head.h.inc,
Richard Henderson <=
- [PATCH 05/71] target/microblaze: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 06/71] target/mips: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 07/71] target/ppc: Remove empty property list, Richard Henderson, 2024/12/13
- [PATCH 08/71] target/riscv: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 09/71] target/s390x: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 11/71] cpu-target: Constify all Property, Richard Henderson, 2024/12/13
- [PATCH 10/71] target/sparc: Constify all Property and PropertyInfo, Richard Henderson, 2024/12/13
- [PATCH 13/71] hw/acpi: Constify all Property, Richard Henderson, 2024/12/13