|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH] Porting TCG to alpha platform |
Date: | Fri, 29 Jan 2010 11:19:20 -0800 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc12 Thunderbird/3.0.1 |
+ } else if (cond == TCG_COND_EQ || cond == TCG_COND_NE) { + tcg_out_mem_long(s, INSN_LDA, TMP_REG1, arg1, -arg2); + opc = (cond == TCG_COND_EQ ? INSN_BEQ : INSN_BNE);
Bug here. What was intended was to add "arg1 = TMP_REG1". But since the constraints use "I" for uint8_t input constants, we might as well remove this hunk entirely. Also, let's future-proof this routine against changes to the layout of the TCGCond enumeration. r~
commit-9d78757
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |