Skip to content

Commit cb7833f

Browse files
author
Lucas Mateus Castro (alqotel)
committed
target/ppc: Change to work on risu
1 parent ca54898 commit cb7833f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

target/ppc/translate.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6517,6 +6517,7 @@ static inline void get_fpr(TCGv_i64 dst, int regno)
65176517
static inline void set_fpr(int regno, TCGv_i64 src)
65186518
{
65196519
tcg_gen_st_i64(src, cpu_env, fpr_offset(regno));
6520+
tcg_gen_st_i64(tcg_constant_i64(0), cpu_env, vsr64_offset(regno, false));
65206521
}
65216522

65226523
static inline void get_avr64(TCGv_i64 dst, int regno, bool high)

0 commit comments

Comments
 (0)