patch applied (ghc-6.6/ghc): PowerPC NCG: support conditional branches outside +-32KB

Ian Lynagh <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.all
Message-ID <20061219203134.GA14550__38941.7112259709$1166560338$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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.