]> git.proxmox.com Git - mirror_qemu.git/commitdiff
TCG: Fix tcg_gen_extr_i64_tl for 32bit
authorAlexander Graf <agraf@suse.de>
Wed, 4 Jun 2014 21:09:11 +0000 (23:09 +0200)
committerRichard Henderson <rth@twiddle.net>
Wed, 4 Jun 2014 21:11:45 +0000 (14:11 -0700)
We expose a generic helper "tcg_gen_extr_i64_tl" for 64bit targets, but the
same function for 32bit targets is a misnomer and refers to an invalid function
name.

Fix up the definition to point to the correct internal helper names instead.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/tcg-op.h

index 719533ac39a1c00d317da2982b5743052ac73f00..019dd9b6fb0b4a545531ef3377febf705a6e40f8 100644 (file)
@@ -2718,7 +2718,7 @@ static inline void tcg_gen_qemu_st64(TCGv_i64 arg, TCGv addr, int mem_index)
 #define tcg_gen_bswap16_tl tcg_gen_bswap16_i32
 #define tcg_gen_bswap32_tl tcg_gen_bswap32_i32
 #define tcg_gen_concat_tl_i64 tcg_gen_concat_i32_i64
-#define tcg_gen_extr_tl_i64 tcg_gen_extr_i32_i64
+#define tcg_gen_extr_i64_tl tcg_gen_extr_i64_i32
 #define tcg_gen_andc_tl tcg_gen_andc_i32
 #define tcg_gen_eqv_tl tcg_gen_eqv_i32
 #define tcg_gen_nand_tl tcg_gen_nand_i32