qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/9] target/arm: Introduce fpst alias for helper.h


From: Richard Henderson
Subject: Re: [PATCH 1/9] target/arm: Introduce fpst alias for helper.h
Date: Sat, 7 Dec 2024 15:56:55 -0600
User-agent: Mozilla Thunderbird

On 12/5/24 21:12, Richard Henderson wrote:
This allows us to declare that the helper requires
a float_status pointer and not a generic void pointer.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  target/arm/helper.h | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/target/arm/helper.h b/target/arm/helper.h
index 9919b1367b..cb722c491b 100644
--- a/target/arm/helper.h
+++ b/target/arm/helper.h
@@ -1,3 +1,7 @@
+#define dh_alias_fpst ptr
+#define dh_ctype_fpst float_status *
+#define dh_typecode_fpst dh_typecode_ptr
+
  DEF_HELPER_FLAGS_1(sxtb16, TCG_CALL_NO_RWG_SE, i32, i32)
  DEF_HELPER_FLAGS_1(uxtb16, TCG_CALL_NO_RWG_SE, i32, i32)

This should go into include/exec/helper-head.h for use by all targets.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]