Re: [PATCH-for-10.1 2/4] target/sparc: Restrict SPARC64 specific features

2025-03-25 Thread Philippe Mathieu-Daudé
On 25/3/25 15:07, Richard Henderson wrote: On 3/25/25 05:39, Philippe Mathieu-Daudé wrote: @@ -2750,12 +2752,16 @@ static bool trans_SETHI(DisasContext *dc, arg_SETHI *a)   static bool do_tcc(DisasContext *dc, int cond, int cc, int rs1, bool imm, int rs2_or_imm)   { -    in

Re: [PATCH-for-10.1 2/4] target/sparc: Restrict SPARC64 specific features

2025-03-25 Thread Richard Henderson
On 3/25/25 05:39, Philippe Mathieu-Daudé wrote: @@ -2750,12 +2752,16 @@ static bool trans_SETHI(DisasContext *dc, arg_SETHI *a) static bool do_tcc(DisasContext *dc, int cond, int cc, int rs1, bool imm, int rs2_or_imm) { -int mask = ((dc->def->features & CPU_FEATURE_HY