diff options
author | Chai T. Rex <ChaiTRex@users.noreply.github.com> | 2018-08-15 16:37:55 -0400 |
---|---|---|
committer | Krzysztof Gogolewski <krz.gogolewski@gmail.com> | 2018-08-16 11:52:43 +0200 |
commit | 7a63f75353d73743d7c57bbbee701f67210a64de (patch) | |
tree | 17fd607ff1768ba8b69ed43040f8b6e8dd9a3f68 | |
parent | 1e741fe829dcf25acf5bf07ce4593f2b537dd351 (diff) | |
download | haskell-7a63f75353d73743d7c57bbbee701f67210a64de.tar.gz |
primops: Drop documentation for WORD_SIZE_IN_BITS < 32
Removes documentation suggesting that 30 and 31-bit code generation is supported
(in support of https://github.com/ghc/ghc/commit/290889927244c79479c4347dfa6c851a134dd6e0).
-rw-r--r-- | compiler/prelude/primops.txt.pp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/compiler/prelude/primops.txt.pp b/compiler/prelude/primops.txt.pp index a658c515df..df92bfaa2f 100644 --- a/compiler/prelude/primops.txt.pp +++ b/compiler/prelude/primops.txt.pp @@ -91,10 +91,11 @@ section "The word size story." This is normally set based on the {\tt config.h} parameter {\tt SIZEOF\_HSWORD}, i.e., 32 bits on 32-bit machines, 64 bits on 64-bit machines. However, it can also be explicitly - set to a smaller number, e.g., 31 bits, to allow the + set to a smaller number than 64, e.g., 62 bits, to allow the possibility of using tag bits. Currently GHC itself has only - 32-bit and 64-bit variants, but 30 or 31-bit code can be + 32-bit and 64-bit variants, but 61, 62, or 63-bit code can be exported as an external core file for use in other back ends. + 30 and 31-bit code is no longer supported. GHC also implements a primitive unsigned integer type {\tt Word\#} which always has the same number of bits as {\tt @@ -179,7 +180,7 @@ primop OrdOp "ord#" GenPrimOp Char# -> Int# ------------------------------------------------------------------------ section "Int#" - {Operations on native-size integers (30+ bits).} + {Operations on native-size integers (32+ bits).} ------------------------------------------------------------------------ primtype Int# @@ -316,7 +317,7 @@ primop ISrlOp "uncheckedIShiftRL#" GenPrimOp Int# -> Int# -> Int# ------------------------------------------------------------------------ section "Word#" - {Operations on native-sized unsigned words (30+ bits).} + {Operations on native-sized unsigned words (32+ bits).} ------------------------------------------------------------------------ primtype Word# |