All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Hexagon (target/hexagon) Restore --disable-hexagon-idef-parser build
@ 2023-03-06 17:25 Taylor Simpson
  2023-03-06 18:07 ` Anton Johansson via
  0 siblings, 1 reply; 2+ messages in thread
From: Taylor Simpson @ 2023-03-06 17:25 UTC (permalink / raw)
  To: qemu-devel
  Cc: tsimpson, richard.henderson, philmd, ale, anjo, bcain, quic_mathbern

The --disable-hexagon-idef-parser configuration was broken by this patch
2feacf60c23ba6 (target/hexagon: Drop tcg_temp_free from C code)

That config is not tested by CI

Fix is simple: Mark a few TCGv variables as unused

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
---
 target/hexagon/gen_tcg.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/target/hexagon/gen_tcg.h b/target/hexagon/gen_tcg.h
index b2e7880b5c..b1955a08f0 100644
--- a/target/hexagon/gen_tcg.h
+++ b/target/hexagon/gen_tcg.h
@@ -419,16 +419,16 @@
 
 #define fGEN_TCG_STORE(SHORTCODE) \
     do { \
-        TCGv HALF = tcg_temp_new(); \
-        TCGv BYTE = tcg_temp_new(); \
+        TCGv HALF G_GNUC_UNUSED = tcg_temp_new(); \
+        TCGv BYTE G_GNUC_UNUSED = tcg_temp_new(); \
         SHORTCODE; \
     } while (0)
 
 #define fGEN_TCG_STORE_pcr(SHIFT, STORE) \
     do { \
         TCGv ireg = tcg_temp_new(); \
-        TCGv HALF = tcg_temp_new(); \
-        TCGv BYTE = tcg_temp_new(); \
+        TCGv HALF G_GNUC_UNUSED = tcg_temp_new(); \
+        TCGv BYTE G_GNUC_UNUSED = tcg_temp_new(); \
         tcg_gen_mov_tl(EA, RxV); \
         gen_read_ireg(ireg, MuV, SHIFT); \
         gen_helper_fcircadd(RxV, RxV, ireg, MuV, hex_gpr[HEX_REG_CS0 + MuN]); \
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Hexagon (target/hexagon) Restore --disable-hexagon-idef-parser build
  2023-03-06 17:25 [PATCH] Hexagon (target/hexagon) Restore --disable-hexagon-idef-parser build Taylor Simpson
@ 2023-03-06 18:07 ` Anton Johansson via
  0 siblings, 0 replies; 2+ messages in thread
From: Anton Johansson via @ 2023-03-06 18:07 UTC (permalink / raw)
  To: Taylor Simpson, qemu-devel
  Cc: richard.henderson, philmd, ale, bcain, quic_mathbern


On 3/6/23 18:25, Taylor Simpson wrote:
> The --disable-hexagon-idef-parser configuration was broken by this patch
> 2feacf60c23ba6 (target/hexagon: Drop tcg_temp_free from C code)
>
> That config is not tested by CI
>
> Fix is simple: Mark a few TCGv variables as unused
>
> Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
> ---
>   target/hexagon/gen_tcg.h | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Anton Johansson <anjo@rev.ng>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-06 18:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-06 17:25 [PATCH] Hexagon (target/hexagon) Restore --disable-hexagon-idef-parser build Taylor Simpson
2023-03-06 18:07 ` Anton Johansson via

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.