Hi, Richard.
On 07/23/2021 02:38 PM, Richard Henderson wrote:
> On 7/20/21 11:53 PM, Song Gao wrote:
>> +/* Branch Instructions translation */
>> +static bool trans_beqz(DisasContext *ctx, arg_beqz *a)
>> +{
>> + TCGv t0, t1;
>> + int bcond_flag = 0;
>> +
>> + t0 = tcg_temp_new();
>> +
On 7/20/21 11:53 PM, Song Gao wrote:
+/* Branch Instructions translation */
+static bool trans_beqz(DisasContext *ctx, arg_beqz *a)
+{
+TCGv t0, t1;
+int bcond_flag = 0;
+
+t0 = tcg_temp_new();
+t1 = tcg_const_i64(0);
+
+if (a->rj != 0) {
+gen_load_gpr(t0, a->rj);
+