[PATCH v2 45/81] tcg/tci: Provide TCG_TARGET_{s}extract_valid

Richard Henderson posted 81 patches 2 months, 4 weeks ago
[PATCH v2 45/81] tcg/tci: Provide TCG_TARGET_{s}extract_valid
Posted by Richard Henderson 2 months, 4 weeks ago
Trivially mirrors TCG_TARGET_HAS_{s}extract_*.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 tcg/tci/tcg-target-has.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tcg/tci/tcg-target-has.h b/tcg/tci/tcg-target-has.h
index 3397403910..2f45ad614f 100644
--- a/tcg/tci/tcg-target-has.h
+++ b/tcg/tci/tcg-target-has.h
@@ -80,4 +80,7 @@
 
 #define TCG_TARGET_HAS_tst              1
 
+#define TCG_TARGET_extract_valid(type, ofs, len)   1
+#define TCG_TARGET_sextract_valid(type, ofs, len)  1
+
 #endif
-- 
2.43.0
Re: [PATCH v2 45/81] tcg/tci: Provide TCG_TARGET_{s}extract_valid
Posted by Philippe Mathieu-Daudé 2 months, 3 weeks ago
On 7/1/25 09:00, Richard Henderson wrote:
> Trivially mirrors TCG_TARGET_HAS_{s}extract_*.
> 
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>   tcg/tci/tcg-target-has.h | 3 +++
>   1 file changed, 3 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>