All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] exec/helper-head: Include missing "fpu/softfloat-types.h" header
@ 2022-12-16 22:52 Philippe Mathieu-Daudé
  2023-02-23 21:09 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Philippe Mathieu-Daudé @ 2022-12-16 22:52 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini, Richard Henderson, Philippe Mathieu-Daudé

'dh_ctype_f32' is defined as 'float32', itself declared
in "fpu/softfloat-types.h". Include this header to avoid
when refactoring other headers:

  In file included from include/exec/helper-proto.h:7,
                   from include/tcg/tcg-op.h:29,
                   from ../../tcg/tcg-op-vec.c:22:
  include/exec/helper-head.h:44:22: error: unknown type name ‘float32’; did you mean ‘_Float32’?
     44 | #define dh_ctype_f32 float32
        |                      ^~~~~~~

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 include/exec/helper-head.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/exec/helper-head.h b/include/exec/helper-head.h
index 584b120312..325a42b14e 100644
--- a/include/exec/helper-head.h
+++ b/include/exec/helper-head.h
@@ -18,6 +18,8 @@
 #ifndef EXEC_HELPER_HEAD_H
 #define EXEC_HELPER_HEAD_H
 
+#include "fpu/softfloat-types.h"
+
 #define HELPER(name) glue(helper_, name)
 
 /* Some types that make sense in C, but not for TCG.  */
-- 
2.38.1



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

* Re: [PATCH] exec/helper-head: Include missing "fpu/softfloat-types.h" header
  2022-12-16 22:52 [PATCH] exec/helper-head: Include missing "fpu/softfloat-types.h" header Philippe Mathieu-Daudé
@ 2023-02-23 21:09 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2023-02-23 21:09 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé, qemu-devel; +Cc: Paolo Bonzini

On 12/16/22 12:52, Philippe Mathieu-Daudé wrote:
> 'dh_ctype_f32' is defined as 'float32', itself declared
> in "fpu/softfloat-types.h". Include this header to avoid
> when refactoring other headers:
> 
>    In file included from include/exec/helper-proto.h:7,
>                     from include/tcg/tcg-op.h:29,
>                     from ../../tcg/tcg-op-vec.c:22:
>    include/exec/helper-head.h:44:22: error: unknown type name ‘float32’; did you mean ‘_Float32’?
>       44 | #define dh_ctype_f32 float32
>          |                      ^~~~~~~
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Queued to tcg-next.


r~

> ---
>   include/exec/helper-head.h | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/include/exec/helper-head.h b/include/exec/helper-head.h
> index 584b120312..325a42b14e 100644
> --- a/include/exec/helper-head.h
> +++ b/include/exec/helper-head.h
> @@ -18,6 +18,8 @@
>   #ifndef EXEC_HELPER_HEAD_H
>   #define EXEC_HELPER_HEAD_H
>   
> +#include "fpu/softfloat-types.h"
> +
>   #define HELPER(name) glue(helper_, name)
>   
>   /* Some types that make sense in C, but not for TCG.  */



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

end of thread, other threads:[~2023-02-23 21:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-16 22:52 [PATCH] exec/helper-head: Include missing "fpu/softfloat-types.h" header Philippe Mathieu-Daudé
2023-02-23 21:09 ` Richard Henderson

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.