Skip to content
  • wolfgang's avatar
    PowerPC NCG: support conditional branches outside +-32KB · e4c8d2b1
    wolfgang authored
    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
    e4c8d2b1