summaryrefslogtreecommitdiff
path: root/utils/genprimopcode
Commit message (Collapse)AuthorAgeFilesLines
...
* fix warningsSimon Marlow2011-05-241-1/+3
|
* Assign more accurate code sizes to primops, so that the inliningSimon Marlow2011-05-245-6/+13
| | | | | heuristics work better. Also removed the old unused "needs_wrapper" predicate for primops. This helps with #4978.
* Fix the type sanity test in genprimopcode's Syntax.hs2010-11-18Ian Lynagh2010-11-171-2/+2
| | | | | | We assume this is what it's supposed to be checking. Certainly the old test (t2 == t2) can't be right. Spotted by Andres Loeh.
* add some {-# LANGUAGE BangPatterns #-} to mollify GHCSimon Marlow2010-11-172-0/+2
|
* Fix building genprimopcode with GHC 7.0, and remove haskell98 importsIan Lynagh2010-11-022-4/+5
|
* Follow GHC.Bool/GHC.Types mergeIan Lynagh2010-10-231-2/+2
|
* Remove a redundant parameter for mkTupleTy (the arity)simonpj@microsoft.com2009-10-281-2/+1
|
* Include a pointer to GHC.Exts in the generated GHC.Prim docsIan Lynagh2009-08-111-0/+2
|
* Fix warnings when building with the HEADIan Lynagh2009-07-301-1/+0
|
* Put "%expect 0" directives in the .y filesIan Lynagh2009-06-081-0/+1
| | | | | With the exception of GHC's main Parser.y(.pp), which has 2 reduce/reduce conflicts
* Fix warnings in genprimopcodeIan Lynagh2009-05-231-9/+10
|
* Fix building with the HEADIan Lynagh2009-05-202-2/+2
|
* Add a header to all build system files:Simon Marlow2009-04-282-0/+24
| | | | | | | | | | | | | | # ----------------------------------------------------------------------------- # # (c) 2009 The University of Glasgow # # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see # http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture # http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying # # -----------------------------------------------------------------------------
* GHC new build system megapatchIan Lynagh2009-04-262-10/+7
|
* Move the "This is a generated file" to the top of GHC.PrimIan Lynagh2008-09-051-7/+7
|
* Make genprimopcode generate code that haddock 2 understandsIan Lynagh2008-09-051-10/+26
| | | | | | | Mainly this means adding a binding for all the exports, e.g. as well as gtAddr# :: Addr# -> Addr# -> Bool we also generate gtAddr# = let x = x in x
* bindists are now some way towards workingIan Lynagh2008-08-101-0/+3
|
* () is now in ghc-prim:GHC.UnitIan Lynagh2008-06-241-0/+1
|
* Generate a warning-free GHC.PrimopWrappers. ghc-prim is now -Wall clean.Ian Lynagh2008-06-241-18/+35
|
* Fix some inconsistencies in the code and docs of primitivesIan Lynagh2008-06-231-8/+4
| | | | | | We were inconsistent about whether to use the name "MutArr#" or "MutableArray#". Likewise ByteArr#/ByteArray# and MutByteArr#/MutableByteArray#.
* More commandline flag improvementsIan Lynagh2008-06-161-2/+2
| | | | | | | * Allow -ffoo flags to be deprecated * Mark some -ffoo flags as deprecated * Avoid using deprecated flags in error messages, in the build system, etc * Add a flag to en/disable the deprecated flag warning
* Cabalize ext-core toolsTim Chevalier2008-05-141-2/+3
| | | | | | | | I cabalized the ext-core tools, so now they can be built as a library. The driver program has to be built separately. Also updated genprimopcode to reflect the new module hierarchy for the Core tools.
* Generate fsLit not FSLIT in genprimopcodeIan Lynagh2008-04-121-1/+1
|
* Extra info in genprimopcode --make-ext-core-sourceTim Chevalier2008-04-141-10/+43
| | | | | | | The ext-core typechecker needs to know what types are valid for various kinds of literals, so I changed genprimopcode to dump out that information as well with --make-ext-core-source.
* Extend genprimopcode to print primop types for ext-coreTim Chevalier2008-04-101-2/+94
| | | | | | | I added a new flag, --make-ext-core-source, to genprimopcode. It prints out the type information for primops that the External Core typechecker needs. This replaces the old mechanism where the ext-core tools had a hard-wired Prims module that could get out of sync with the old primops.txt. Now, that won't happen.
* prelude/PrimOp is now mostly warning-freeIan Lynagh2008-03-291-5/+7
| | | | commutableOp seems to be unused, so we're no 100% there yet.
* Use _ rather than "other" in generated codeIan Lynagh2008-03-291-1/+1
|
* Add an OPTIONS -w pragma to utils/genprimopcode/Lexer.xxIan Lynagh2007-09-051-0/+7
| | | | SPJ reports that it has warnings (=> errors with -Werror) on Windows.
* Fix CodingStyle#Warnings URLsIan Lynagh2007-09-041-1/+1
|
* Use OPTIONS rather than OPTIONS_GHC for pragmasIan Lynagh2007-09-031-2/+2
| | | | | | | Older GHCs can't parse OPTIONS_GHC. This also changes the URL referenced for the -w options from WorkingConventions#Warnings to CodingStyle#Warnings for the compiler modules.
* Fix and supress some warnings, and turn on -Werror when validatingIan Lynagh2007-09-021-0/+7
|
* Warning Police: Unused importsMichael D. Adams2007-07-132-3/+1
|
* remove now-unused usage information (#1003)Simon Marlow2007-05-101-13/+0
|
* Remove redundant importIan Lynagh2007-04-111-1/+0
|
* Replace genprimopcode's parsec parser with an alex+happy parserIan Lynagh2007-04-106-378/+503
| | | | | This use was the only thing keeping parsec in core-packages, and we already have a dependency on alex+happy anyway.
* Warning police: Avoid name shadowingsven.panne@aedion.de2007-03-141-61/+61
|
* Handle primitive types and pseudo ops when generating LaTeXsven.panne@aedion.de2007-03-141-0/+15
|
* Warning police: Replace patter matching failures by something more informativesven.panne@aedion.de2007-03-141-1/+13
|
* Warning police: Don't rely on defaultingsven.panne@aedion.de2007-03-141-1/+1
|
* Warning police: Removed "Defined but not used" warningssven.panne@aedion.de2007-03-141-25/+25
|
* Warning police: Added type signaturessven.panne@aedion.de2007-03-141-13/+64
|
* Use -Wall for compilation of genprimopcodesven.panne@aedion.de2007-03-141-0/+2
|
* Fix #839 (Generate documentation for built-in types and primitve operations)Simon Marlow2007-02-281-25/+67
| | | | | | | | | This patch was originally by dinko.tenev@gmail.com, but I re-recorded it in order to add a better log message. The effect of this patch is to add entries for primitive types in the documentation: Int#, Char#, etc. and to document the built-in identifiers (seq, lazy, inline, unsafeCoerce#).
* Reorganisation of the source treeSimon Marlow2006-04-072-0/+806
Most of the other users of the fptools build system have migrated to Cabal, and with the move to darcs we can now flatten the source tree without losing history, so here goes. The main change is that the ghc/ subdir is gone, and most of what it contained is now at the top level. The build system now makes no pretense at being multi-project, it is just the GHC build system. No doubt this will break many things, and there will be a period of instability while we fix the dependencies. A straightforward build should work, but I haven't yet fixed binary/source distributions. Changes to the Building Guide will follow, too.