mbox series

[PATCH-for-10.1,0/2] target/hexagon: Remove use of MO_TE definition

Message ID 20250312103238.99981-1-philmd@linaro.org
Headers show
Series target/hexagon: Remove use of MO_TE definition | expand

Message

Philippe Mathieu-Daudé March 12, 2025, 10:32 a.m. UTC
In order to make QEMU core components endian agnostic,
we need to remove the use of the target-specific MO_TE
definition. For Hexagon it is easy as it is equivalent
of MO_LE, since the target is only little-endian.

Philippe Mathieu-Daudé (2):
  target/hexagon: Explode MO_TExx -> MO_TE | MO_xx
  target/hexagon: Replace MO_TE -> MO_LE

 target/hexagon/macros.h                     | 10 +++++-----
 target/hexagon/genptr.c                     |  8 ++++----
 target/hexagon/idef-parser/parser-helpers.c |  2 +-
 target/hexagon/translate.c                  |  6 +++---
 4 files changed, 13 insertions(+), 13 deletions(-)

Comments

Anton Johansson March 12, 2025, 10:48 a.m. UTC | #1
On 12/03/25, Philippe Mathieu-Daudé wrote:
> In order to make QEMU core components endian agnostic,
> we need to remove the use of the target-specific MO_TE
> definition. For Hexagon it is easy as it is equivalent
> of MO_LE, since the target is only little-endian.
> 
> Philippe Mathieu-Daudé (2):
>   target/hexagon: Explode MO_TExx -> MO_TE | MO_xx
>   target/hexagon: Replace MO_TE -> MO_LE
> 
>  target/hexagon/macros.h                     | 10 +++++-----
>  target/hexagon/genptr.c                     |  8 ++++----
>  target/hexagon/idef-parser/parser-helpers.c |  2 +-
>  target/hexagon/translate.c                  |  6 +++---
>  4 files changed, 13 insertions(+), 13 deletions(-)
> 
> -- 
> 2.47.1
> 

Series:

Reviewed-by: Anton Johansson <anjo@rev.ng>