commit | f75b56c1ec80448415791ff1541e7e6cf1ceca1f | [log] [tgz] |
---|---|---|
author | Richard Henderson <rth@twiddle.net> | Sat Feb 06 11:47:58 2010 -0800 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Sat Feb 06 22:23:39 2010 +0100 |
tree | c731a3b4e2d1115b3993fb80c9a32695c62ec45d | |
parent | 79427693174a553d62f3da44aacd3f19ba8df3a7 [diff] |
tcg-i386: Implement small forward branches. 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. Add a flag to tcg_out_jxx and tcg_out_brcond* to enable it. Set the flag in the brcond2 label_next branches; pass along the input flag otherwise. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>