On Fri, Sep 21, 2012 at 8:10 PM, malc av1...@comtv.ru wrote:
diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c
index 26c4b33..0fb6fc7 100644
--- a/tcg/ppc/tcg-target.c
+++ b/tcg/ppc/tcg-target.c
@@ -390,6 +390,7 @@ static int tcg_target_const_match(tcg_target_long val,
#define ORC
diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c
index 26c4b33..0fb6fc7 100644
--- a/tcg/ppc/tcg-target.c
+++ b/tcg/ppc/tcg-target.c
@@ -390,6 +390,7 @@ static int tcg_target_const_match(tcg_target_long val,
#define ORCXO31(412)
#define EQVXO31(284)
#define NAND XO31(476)
On 09/21/2012 01:10 PM, malc wrote:
+if (dest == v2) {
+label_ptr = s-code_ptr;
+tcg_out32 (s, tcg_to_bc[tcg_invert_cond (cond)]);
+tcg_out_mov (s, TCG_TYPE_I32, dest, v1);
+reloc_pc14 (label_ptr, (tcg_target_long) s-code_ptr);
+
On Fri, 21 Sep 2012, Richard Henderson wrote:
On 09/21/2012 01:10 PM, malc wrote:
+if (dest == v2) {
+label_ptr = s-code_ptr;
+tcg_out32 (s, tcg_to_bc[tcg_invert_cond (cond)]);
+tcg_out_mov (s, TCG_TYPE_I32, dest, v1);
+reloc_pc14