On 6/19/25 19:58, Chinmay Rath wrote:
+static bool do_helper_cmp(DisasContext *ctx, arg_X_bf *a, + void (*helper)(TCGv_env, TCGv_i64, TCGv_i64, + TCGv_i32)) + REQUIRE_INSNS_FLAGS(ctx, FLOAT);
...
+TRANS(FCMPU, do_helper_cmp, gen_helper_FCMPU); +TRANS(FCMPO, do_helper_cmp, gen_helper_FCMPO);
It's probably better to standardize on TRANS_FLAGS even though the flags checked is the same for both of these.
But anyway, Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~