"README.md" did not exist on "bc91a1217c5abbaebc3996d05ffb25b32d9ca79b"
- Oct 27, 1999
-
-
Simon Marlow authored
Add way 's', for SMP/PThreads
-
Simon Marlow authored
Junk removal
-
Simon Marlow authored
Fix crashes in re_search. Several other functions in this file need fixing too.
-
- Oct 26, 1999
-
-
Julian Seward authored
Add foreign import/export implementations for x86 stdcall convention. Make parser notice calling conventions on f-i and f-x declarations, check they are supported on the platform Hugs is compiled on. Pass them all the way through the code generator to the interpreter. Allow f-i/f-x decls to omit the calling convention, in which case ccall is used. Remove calling convention from all such decls in the Prelude so it will work on any platform.
-
Julian Seward authored
markStablePtrTable: correctly handle case when one stable ptr refers to an indirection to an item referred to directly by a second stable ptr (I think!).
-
sof authored
wibble
-
sof authored
Foreign imports that use ByteArrays now need to be marked as being 'unsafe.'
-
Simon Marlow authored
Fix documentation installing in a binary dist.
-
- Oct 25, 1999
-
-
sof authored
FFI wibble: * disallow the use of {Mutable}ByteArrays in 'safe' foreign imports. * ensure that ForeignObjs live across a _ccall_GC_.
-
AndyGill authored
Adding a axiomatic testing framework library to help test Hugs and GHC libraries. Here is the example for the test of concat. test_concat = testRules "concat" [ do (xss :: [[ALPHA]]) <- var "xss" concat xss <==> foldr (++) [] xss ] xss here ranges over various rendering of list of list, including bottom and lists containing bottom. <==> uses a small piece of compiler/interpreter specifics to allow testing for error "" ... <==> ... error "" ===> Pass
-
- Oct 22, 1999
-
-
Julian Seward authored
* Completion of foreign import and foreign export for x86 ccall convention. f-i's and f-x's can pass and return Char Int Word Addr StablePtr Float and Double. * Significant cleanups and infrastructure improvements. Characterise functions by (instruction set, calling convention) pair where necessary, since that's what counts. Moved foreign export code into rts/ForeignCall.c. Should now be in a good position to implement x86 stdcall convention.
-
Julian Seward authored
wibble
-
Julian Seward authored
Cleanup of the foreign import code. Also allow StablePtrs to be passed back and forth.
-
sof authored
made writeErrString__ f.i. unsafe
-
sof authored
Dotted the i's
-
- Oct 21, 1999
-
-
Simon Marlow authored
Add some missing ticky macros.
-
Simon Marlow authored
Eliminate those annoying "unexpected lazy BHing required" messages during ticky-ticky profiling.
-
- Oct 20, 1999
-
-
Simon Marlow authored
Micro-optimisation: don't need to test for an empty queue in a BLACKHOLE_BQ, now that we're distinguishing BLACKHOLE and BLACKHOLE_BQ. Shortens the update code by a couple of instructions.
-
sof authored
Back out prev. commit which POSIXified getClockTime() - non-POSIX calls really are superior (better resolution.)
-
AndyGill authored
Adding final diffs between Hugs98 (Jan99) and Hugs98 (Sep99) manually to STG Hugs.
-
- Oct 19, 1999
-
-
AndyGill authored
Adding a generic version of universal call that only works for specific argument patterns. It allows ports to work on the Hugs Prelude immeduately, even if univeral_call_c_<os/specific> is not ported. Also, commented out (longstanding?) bug with incorrect call to setCurrModule.
-
Simon Marlow authored
use PUSH_ON_RUN_QUEUE macro instead of (slightly less efficient) inline version.
-
Simon Marlow authored
ASSERT that the tso link field is empty before pushing it on the end of a queue.
-
Julian Seward authored
Increase default cutoff limit from 16 to 60. nofib/real/anna won't compile even with this value set to 50. Presumably the same problem afflicts Hugs98-Sept98 ?
-
Julian Seward authored
Remove debugging export of ST(..), which causes failures in nofib.
-
Julian Seward authored
Wibble.
-
Julian Seward authored
Make typeVarsIn non-static since interface.c needs to see it.
-
Julian Seward authored
Change CFunDescriptor to match new foreign import implementation.
-
Julian Seward authored
Reimplement back-end for foreign import (calling out). Return to a cleaned-up version of Alastair's callfun.S, wherein an architecture and calling-convention specific piece of assembly code is used to construct arguments and then call the specified function, under the direction of a type descriptor string. Defined an interface to this function (universal_call_c) which I hope will work regardless of 32-or-64 bitness, endianness and calling convention. Current implementation is for x86-linux only.
-
- Oct 18, 1999
-
-
sof authored
* Time.CalendarTime.ctMonth's type should be Month (was Int.) * fixed Time.addToClockTime - the original implementation was completely wrong (thanks to George Russell for indirectly reporting the bug.) * Added the non-std Time.noTimeDiff, handy when you want to do calendar calculations, e.g., ct <- getClockTime print (toUTCTime (addToClockTime noTimeDiff{tdMonth=1} ct)) * many 'foreign import' decls were not marked as unsafe, even though they were passing out MutableByteArray and ByteArray vals. Fixed.
-
Kevin Glynn authored
The fix to ignore error() cases when doing CPR analysis exposed a problem with the Void type. A function that always constructs a void result was converted to w/w, but the worker was producing an unboxed tuple with 0 components. Not good. Fixed so that constructing a void gives CPR value Top. This is OK because we won't really be constructing a void each time, we will be returning a pointer to a shared void cell.
-
- Oct 16, 1999
-
-
AndyGill authored
Adding diffs between Hugs98 (Jan99) and Hugs98 (Sep99) manually to STG Hugs. Brings in large change to typechecking sub-system.
-
- Oct 15, 1999
-
-
AndyGill authored
Adding diffs between Hugs98 (Jan99) and Hugs98 (Sep99) manually to STG Hugs. These are the changes to input.c, with minor tweeks to connect.h and parser.y to make this work.
-
AndyGill authored
Adding diffs between Hugs98 (Jan99) and Hugs98 (Sep99) manually to STG Hugs.
-
AndyGill authored
Updating all copyright messages to the same as Hugs98.
-
AndyGill authored
Changing order of check for use of DLL for dynamic linking. (Under cygwin, we still want to use DLL's).
-
Julian Seward authored
Added basic support for foreign export dynamic. Many aspects of it are still broken: * Only supports x86-linux. * The range of allowable types is small: Char Int Float Double Addr and Word. * Adjustor thunks are never freed. * Returning Doubles or Floats doesn't work at all. I expect to fix some of these shortly. foreign import also needs redoing, so it can accept any number of arguments of any type. Also: * Fixed setRtsFlags in Evaluator.c to make it endian-independent. * Fixed raisePrim in Evaluator.c so things like division by zero, array index errors, etc, throw an exception instead of terminating StgHugs. raisePrim is renamed makeErrorCall.
-
Simon Marlow authored
Add macros for two-register call/return convention, for experimentation.
-
Simon Marlow authored
set $(HC) to the inplace ghc driver script.
-
- Oct 14, 1999
-
-
Simon Peyton Jones authored
Swap ticky column order
-