Evan Cheng b9ca92661c Encode pc-relative conditional branch offset as pc+(num of bytes / 4). The
asm printer will print it as offset*4. e.g. bne cr0, $+8.

The PPC code emitter was expecting the offset to be number of instructions, not
number of bytes. This fixes a whole bunch of JIT failures.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29885 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-25 21:54:44 +00:00
..
2006-08-21 17:20:01 +00:00
2006-08-25 19:54:53 +00:00
2006-08-18 17:34:45 +00:00
2006-08-25 19:54:53 +00:00
2006-08-25 17:43:11 +00:00
2006-07-28 22:52:11 +00:00
2006-08-25 21:37:17 +00:00
2006-08-21 17:20:01 +00:00
2006-05-17 22:55:35 +00:00