patch applied (ghc): PowerPC NCG: support conditional branches outside +-32KB
Wolfgang Thaller <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.all |
|---|---|
| Message-ID | <20061213135156.GA26858__43051.8071553253$1166017924$gmane$org@cvs.haskell.org> |
Wed Dec 13 05:38:08 PST 2006 [email protected] * PowerPC NCG: support conditional branches outside +-32KB Work around the PowerPC architecture's +-32KB limitation for conditional branches by conditionally skipping an unconditional branch instead (unconditional branches have a +-32MB range). This requires an extra pass over the basic blocks for each CmmTop after block sequencing, to determine which branches are "far". Fixes ticket #709, "Fixup too large" error with -fasm on PowerPC M ./compiler/nativeGen/AsmCodeGen.lhs -1 +41 M ./compiler/nativeGen/MachInstrs.hs -1 +18 M ./compiler/nativeGen/PprMach.hs +13 M ./compiler/nativeGen/RegAllocInfo.hs +4