mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
target/arm: Move 'env' argument of recps_f32 and rsqrts_f32 helpers to usual place
The usual location for the env argument in the argument list of a TCG helper is immediately after the return-value argument. recps_f32 and rsqrts_f32 differ in that they put it at the end. Move the env argument to its usual place; this will allow us to more easily use these helper functions with the gvec APIs. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20200512163904.10918-16-peter.maydell@linaro.org
This commit is contained in:
parent
727ff1d632
commit
26c6f695cf
3 changed files with 6 additions and 6 deletions
|
@ -5494,9 +5494,9 @@ static int disas_neon_data_insn(DisasContext *s, uint32_t insn)
|
|||
tcg_temp_free_ptr(fpstatus);
|
||||
} else {
|
||||
if (size == 0) {
|
||||
gen_helper_recps_f32(tmp, tmp, tmp2, cpu_env);
|
||||
gen_helper_recps_f32(tmp, cpu_env, tmp, tmp2);
|
||||
} else {
|
||||
gen_helper_rsqrts_f32(tmp, tmp, tmp2, cpu_env);
|
||||
gen_helper_rsqrts_f32(tmp, cpu_env, tmp, tmp2);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue