Revision b991c385 target-sparc/translate.c
b/target-sparc/translate.c | ||
---|---|---|
769 | 769 |
r_temp = tcg_temp_new(TCG_TYPE_I64); |
770 | 770 |
r_temp2 = tcg_temp_new(TCG_TYPE_I64); |
771 | 771 |
|
772 |
tcg_gen_extu_tl_i64(r_temp, src2);
|
|
773 |
tcg_gen_extu_tl_i64(r_temp2, src1);
|
|
772 |
tcg_gen_extu_i32_i64(r_temp, src2);
|
|
773 |
tcg_gen_extu_i32_i64(r_temp2, src1);
|
|
774 | 774 |
tcg_gen_mul_i64(r_temp2, r_temp, r_temp2); |
775 | 775 |
|
776 | 776 |
tcg_gen_shri_i64(r_temp, r_temp2, 32); |
... | ... | |
793 | 793 |
r_temp = tcg_temp_new(TCG_TYPE_I64); |
794 | 794 |
r_temp2 = tcg_temp_new(TCG_TYPE_I64); |
795 | 795 |
|
796 |
tcg_gen_ext_tl_i64(r_temp, src2);
|
|
797 |
tcg_gen_ext_tl_i64(r_temp2, src1);
|
|
796 |
tcg_gen_ext_i32_i64(r_temp, src2);
|
|
797 |
tcg_gen_ext_i32_i64(r_temp2, src1);
|
|
798 | 798 |
tcg_gen_mul_i64(r_temp2, r_temp, r_temp2); |
799 | 799 |
|
800 | 800 |
tcg_gen_shri_i64(r_temp, r_temp2, 32); |
Also available in: Unified diff