diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-11 11:03:43 -0600 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-12 14:28:38 -0600 |
commit | a9af119f3df7f3566c4faf81667ee7a3d49db36f (patch) | |
tree | 827127cacc31a6418fb05a38bb62ae6fa7b78446 /include | |
parent | b438362a142527b97b638b7f0f35ebe11911a8d5 (diff) | |
download | qemu-a9af119f3df7f3566c4faf81667ee7a3d49db36f.zip qemu-a9af119f3df7f3566c4faf81667ee7a3d49db36f.tar.gz qemu-a9af119f3df7f3566c4faf81667ee7a3d49db36f.tar.bz2 |
include/exec: Introduce fpst alias in helper-head.h.inc
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/exec/helper-head.h.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/exec/helper-head.h.inc b/include/exec/helper-head.h.inc index 5ef467a..bce5db0 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 |