mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00:00
Fix order of CVT.PS.S operands
The FS input to CVT.PS.S is the high half and FT is the low half. tcg_gen_concat_i32_i64 takes the low half first, so the operands were in the wrong order. Signed-off-by: Richard Sandiford <rdsandiford@googlemail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
d22d728987
commit
13d24f4972
@ -6900,7 +6900,7 @@ static void gen_farith (DisasContext *ctx, enum fopcode op1,
|
||||
|
||||
gen_load_fpr32(fp32_0, fs);
|
||||
gen_load_fpr32(fp32_1, ft);
|
||||
tcg_gen_concat_i32_i64(fp64, fp32_0, fp32_1);
|
||||
tcg_gen_concat_i32_i64(fp64, fp32_1, fp32_0);
|
||||
tcg_temp_free_i32(fp32_1);
|
||||
tcg_temp_free_i32(fp32_0);
|
||||
gen_store_fpr64(ctx, fp64, fd);
|
||||
|
Loading…
Reference in New Issue
Block a user