[project @ 1999-02-17 15:57:20 by simonm]
Fast Integers. The rep. of Integers is now data Integer = S# Int# | J# Int# ByteArray# - several new primops added for overflow-detecting arithmetic - negateInteger# removed; it can be done directly - integer_0, integer_1 etc. removed. - the compiler now uses S# where it previously used int2Integer. - the compiler generates small integers for -2^32 .. 2^32-1, instead of -2^29 .. -2^29-1. - PrelST.State datatype moved to LazyST (its only use). - some library code (in Time.lhs) still needs cleaning up, it depends on the Integer rep.
Showing
- ghc/compiler/basicTypes/Unique.lhs 9 additions, 7 deletionsghc/compiler/basicTypes/Unique.lhs
- ghc/compiler/main/Constants.lhs 12 additions, 2 deletionsghc/compiler/main/Constants.lhs
- ghc/compiler/prelude/PrelInfo.lhs 3 additions, 20 deletionsghc/compiler/prelude/PrelInfo.lhs
- ghc/compiler/prelude/PrimOp.lhs 232 additions, 205 deletionsghc/compiler/prelude/PrimOp.lhs
- ghc/compiler/prelude/TysWiredIn.lhs 8 additions, 4 deletionsghc/compiler/prelude/TysWiredIn.lhs
- ghc/compiler/simplCore/SimplCore.lhs 5 additions, 14 deletionsghc/compiler/simplCore/SimplCore.lhs
- ghc/compiler/types/PprType.lhs 2 additions, 1 deletionghc/compiler/types/PprType.lhs
- ghc/docs/users_guide/4-03-notes.vsgml 6 additions, 0 deletionsghc/docs/users_guide/4-03-notes.vsgml
- ghc/includes/PrimOps.h 171 additions, 113 deletionsghc/includes/PrimOps.h
- ghc/lib/exts/Int.lhs 9 additions, 9 deletionsghc/lib/exts/Int.lhs
- ghc/lib/exts/LazyST.lhs 7 additions, 5 deletionsghc/lib/exts/LazyST.lhs
- ghc/lib/exts/Word.lhs 7 additions, 10 deletionsghc/lib/exts/Word.lhs
- ghc/lib/std/Directory.lhs 3 additions, 25 deletionsghc/lib/std/Directory.lhs
- ghc/lib/std/PrelAddr.lhs 6 additions, 1 deletionghc/lib/std/PrelAddr.lhs
- ghc/lib/std/PrelBase.lhs 19 additions, 19 deletionsghc/lib/std/PrelBase.lhs
- ghc/lib/std/PrelGHC.hi-boot 4 additions, 1 deletionghc/lib/std/PrelGHC.hi-boot
- ghc/lib/std/PrelHandle.lhs 2 additions, 2 deletionsghc/lib/std/PrelHandle.lhs
- ghc/lib/std/PrelNum.lhs 96 additions, 50 deletionsghc/lib/std/PrelNum.lhs
- ghc/lib/std/PrelNumExtra.lhs 8 additions, 6 deletionsghc/lib/std/PrelNumExtra.lhs
- ghc/lib/std/PrelST.lhs 0 additions, 14 deletionsghc/lib/std/PrelST.lhs
Loading
Please register or sign in to comment