[project @ 2003-05-27 21:14:21 by wolfgang]
authorwolfgang <unknown>
Tue, 27 May 2003 21:14:22 +0000 (21:14 +0000)
committerwolfgang <unknown>
Tue, 27 May 2003 21:14:22 +0000 (21:14 +0000)
commitb08b5149482e9d88b3a0f5098e7b118e6f00e115
tree35e1d406032896dc9aa1da1d6d405fcf5c628dfd
parenta7360d6faa67121de70fa4110d42095a278fd940
[project @ 2003-05-27 21:14:21 by wolfgang]
Fix two bugs in the PowerPC NCG:
1. it generated a 'subfi' (subtract from with immediate) instruction,
which doesn't exist in the PowerPC architecture.
2. didn't correctly handle switch tables (test case cg048.hs).

MERGE TO STABLE
ghc/compiler/nativeGen/MachCode.lhs
ghc/compiler/nativeGen/MachMisc.lhs
ghc/compiler/nativeGen/PprMach.lhs
ghc/compiler/nativeGen/RegAllocInfo.lhs