Skip to content

Commit

Permalink
Add flags for saturation ops
Browse files Browse the repository at this point in the history
This affects qadd and similar, which conditonally set the q flag.
  • Loading branch information
thestr4ng3r authored and ivg committed Mar 9, 2022
1 parent fc8b07f commit 08863bc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions target/arm/translate.c
Original file line number Diff line number Diff line change
Expand Up @@ -6259,6 +6259,10 @@ static bool op_qaddsub(DisasContext *s, arg_rrr *a, bool add, bool doub)
} else {
gen_helper_sub_saturate(t0, cpu_env, t0, t1);
}
#ifdef HAS_TRACEWRAP
trace_read_cpsr();
trace_store_cpsr();
#endif
tcg_temp_free_i32(t1);
store_reg(s, a->rd, t0);
return true;
Expand Down

0 comments on commit 08863bc

Please sign in to comment.