Re: [Qemu-devel] Re: [PATCH 4/6] tcg-i386: Implement small forward branches.

2009-12-18 Thread Richard Henderson
On 12/18/2009 03:39 AM, Laurent Desnogues wrote: To be consistent with the rest I'd use: if (small) tcg_abort(); Ok. +tcg_out8(s, 0x0f); I don't think this prefix should be output. Oops. Paste-o. r~

[Qemu-devel] Re: [PATCH 4/6] tcg-i386: Implement small forward branches.

2009-12-18 Thread Laurent Desnogues
On Thu, Dec 17, 2009 at 6:55 PM, Richard Henderson wrote: > There are places, like brcond2, where we know that the destination > of a forward branch will be within 127 bytes.  Add the R_386_PC8 > relocation type to support this, and add a flag to tcg_out_jxx to > generate it.  Set the flag in the