On 2/3/26 07:33, Philippe Mathieu-Daudé wrote:
In preparation of removing the translator_ld[uw,l,q]() methods, inline them for the x86 targets, expanding MO_TE -> MO_LE since the architecture uses little endian order.Mechanical change using the following Coccinelle 'spatch' script: @@ expression env, db, pc, do_swap; @@ ( - translator_lduw(env, db, pc) + translator_lduw_end(env, db, pc, MO_LE) | - translator_ldl(env, db, pc) + translator_ldl_end(env, db, pc, MO_LE) | - translator_ldq(env, db, pc) + translator_ldq_end(env, db, pc, MO_LE) ) Signed-off-by: Philippe Mathieu-Daudé<[email protected]> --- target/i386/tcg/decode-new.c.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Richard Henderson <[email protected]> r~
