summaryrefslogtreecommitdiff
path: root/compiler/prelude/primops.txt.pp
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2018-10-09 12:39:14 -0400
committerBen Gamari <ben@smart-cactus.org>2018-10-09 12:40:23 -0400
commitd728c3c578cc9e9205def2c1e96934487b364b7b (patch)
treec542d0ea89dad09c0b8a887266375e4303f9a3a6 /compiler/prelude/primops.txt.pp
parent4eeeb51d5f51083d0ae393009a7fd246223e9791 (diff)
downloadhaskell-d728c3c578cc9e9205def2c1e96934487b364b7b.tar.gz
Revert "Add Int8# and Word8#"
This unfortunately broke i386 support since it introduced references to byte-sized registers that don't exist on that architecture. Reverts binary submodule This reverts commit 5d5307f943d7581d7013ffe20af22233273fba06.
Diffstat (limited to 'compiler/prelude/primops.txt.pp')
-rw-r--r--compiler/prelude/primops.txt.pp82
1 files changed, 0 insertions, 82 deletions
diff --git a/compiler/prelude/primops.txt.pp b/compiler/prelude/primops.txt.pp
index 162a650b1e..7360ccb758 100644
--- a/compiler/prelude/primops.txt.pp
+++ b/compiler/prelude/primops.txt.pp
@@ -344,88 +344,6 @@ primop ISrlOp "uncheckedIShiftRL#" GenPrimOp Int# -> Int# -> Int#
in the range 0 to word size - 1 inclusive.}
------------------------------------------------------------------------
-section "Int8#"
- {Operations on 8-bit integers.}
-------------------------------------------------------------------------
-
-primtype Int8#
-
-primop Int8Extend "extendInt8#" GenPrimOp Int8# -> Int#
-primop Int8Narrow "narrowInt8#" GenPrimOp Int# -> Int8#
-
-primop Int8NegOp "negateInt8#" Monadic Int8# -> Int8#
-
-primop Int8AddOp "plusInt8#" Dyadic Int8# -> Int8# -> Int8#
- with
- commutable = True
-
-primop Int8SubOp "subInt8#" Dyadic Int8# -> Int8# -> Int8#
-
-primop Int8MulOp "timesInt8#" Dyadic Int8# -> Int8# -> Int8#
- with
- commutable = True
-
-primop Int8QuotOp "quotInt8#" Dyadic Int8# -> Int8# -> Int8#
- with
- can_fail = True
-
-primop Int8RemOp "remInt8#" Dyadic Int8# -> Int8# -> Int8#
- with
- can_fail = True
-
-primop Int8QuotRemOp "quotRemInt8#" GenPrimOp Int8# -> Int8# -> (# Int8#, Int8# #)
- with
- can_fail = True
-
-primop Int8EqOp "eqInt8#" Compare Int8# -> Int8# -> Int#
-primop Int8GeOp "geInt8#" Compare Int8# -> Int8# -> Int#
-primop Int8GtOp "gtInt8#" Compare Int8# -> Int8# -> Int#
-primop Int8LeOp "leInt8#" Compare Int8# -> Int8# -> Int#
-primop Int8LtOp "ltInt8#" Compare Int8# -> Int8# -> Int#
-primop Int8NeOp "neInt8#" Compare Int8# -> Int8# -> Int#
-
-------------------------------------------------------------------------
-section "Word8#"
- {Operations on 8-bit unsigned integers.}
-------------------------------------------------------------------------
-
-primtype Word8#
-
-primop Word8Extend "extendWord8#" GenPrimOp Word8# -> Word#
-primop Word8Narrow "narrowWord8#" GenPrimOp Word# -> Word8#
-
-primop Word8NotOp "notWord8#" Monadic Word8# -> Word8#
-
-primop Word8AddOp "plusWord8#" Dyadic Word8# -> Word8# -> Word8#
- with
- commutable = True
-
-primop Word8SubOp "subWord8#" Dyadic Word8# -> Word8# -> Word8#
-
-primop Word8MulOp "timesWord8#" Dyadic Word8# -> Word8# -> Word8#
- with
- commutable = True
-
-primop Word8QuotOp "quotWord8#" Dyadic Word8# -> Word8# -> Word8#
- with
- can_fail = True
-
-primop Word8RemOp "remWord8#" Dyadic Word8# -> Word8# -> Word8#
- with
- can_fail = True
-
-primop Word8QuotRemOp "quotRemWord8#" GenPrimOp Word8# -> Word8# -> (# Word8#, Word8# #)
- with
- can_fail = True
-
-primop Word8EqOp "eqWord8#" Compare Word8# -> Word8# -> Int#
-primop Word8GeOp "geWord8#" Compare Word8# -> Word8# -> Int#
-primop Word8GtOp "gtWord8#" Compare Word8# -> Word8# -> Int#
-primop Word8LeOp "leWord8#" Compare Word8# -> Word8# -> Int#
-primop Word8LtOp "ltWord8#" Compare Word8# -> Word8# -> Int#
-primop Word8NeOp "neWord8#" Compare Word8# -> Word8# -> Int#
-
-------------------------------------------------------------------------
section "Word#"
{Operations on native-sized unsigned words (32+ bits).}
------------------------------------------------------------------------