summaryrefslogtreecommitdiff
path: root/rts/PrimOps.cmm
Commit message (Expand)AuthorAgeFilesLines
* minor: remove tabs from fileatomicsRyan Newton2013-08-311-4/+4
* minor bugfix to casIntArray# and fetchAddIntArray#Ryan Newton2013-08-221-4/+6
* Eliminate atomic_inc_by and instead medofiy atomic_inc.Ryan Newton2013-08-211-1/+1
* Add PrimOp fetchAddIntArray# plus supporting C function atomic_inc_by.Ryan Newton2013-08-211-1/+13
* Add PrimOp: casIntArray#. Modify casMutVar# for 'ticketed' style.Ryan Newton2013-08-211-2/+22
* Update stg_casArrayzh to conform to new CMM conventions.Ryan Newton2013-08-211-9/+6
* Tweak stg_casArrayzh as per Simon Marlow's suggestion.Ryan Newton2013-08-211-6/+4
* add casArray# primop, similar to casMutVar# but for array elementsRyan Newton2013-08-211-0/+27
* Fix bug in readMVar implementation: keep clean MVars clean.Edward Z. Yang2013-07-171-2/+2
* Rename atomicReadMVar and friends to readMVar.Edward Z. Yang2013-07-121-7/+7
* Implement tryAtomicReadMVar#.Edward Z. Yang2013-07-101-0/+16
* Don't call dirty_MVAR on atomicReadMVar unless we change the MVar.Edward Z. Yang2013-07-101-4/+4
* Add LOCK_CLOSURE macro for use in C--, which inlines the capability check.Edward Z. Yang2013-07-101-48/+8
* Implement atomicReadMVar, fixing #4001.Edward Z. Yang2013-07-091-3/+76
* Optimise lockClosure when n_capabilities == 1; fixes #693Ian Lynagh2013-06-151-4/+24
* Maintain per-generation lists of weak pointers (#7847)Takano Akio2013-06-151-2/+2
* Check for a weak pointer being dead before we do any allocation for itIan Lynagh2013-06-151-8/+8
* Allow multiple C finalizers to be attached to a Weak#Takano Akio2013-06-151-56/+57
* Optimization for takeMVar/putMVar when MVar left empty; fixes #7923Ian Lynagh2013-06-151-20/+29
* Fix a commentIan Lynagh2013-06-091-3/+1
* Whitespace onlyIan Lynagh2013-06-091-124/+124
* Separate StablePtr and StableName tables (#7674)Simon Marlow2013-02-141-11/+11
* Add a write barrier for TVAR closuresSimon Marlow2012-11-161-1/+1
* some W_s should be P_sSimon Marlow2012-11-121-3/+3
* small optimisation: inline stmNewTVar()Simon Marlow2012-11-051-2/+9
* A couple of W_s should be P_s (not an actual bug, I think)Simon Marlow2012-11-011-2/+2
* fix bug in heap check in putMVar#Simon Marlow2012-10-241-1/+1
* Use canned heap checks to save a few bytes of codeSimon Marlow2012-10-231-2/+2
* profiling fixesSimon Marlow2012-10-191-19/+23
* Add a new traceMarker# primop for use in profiling outputDuncan Coutts2012-10-151-0/+25
* Produce new-style Cmm from the Cmm parserSimon Marlow2012-10-081-637/+526
* Test USE_MINIINTERPRETER rather than GhcUnregisterisedIan Lynagh2012-05-271-1/+1
* Set the context_switch flag in yield#Simon Marlow2012-05-161-0/+5
* Add a new primop mkWeakNoFinalizer (#5879)Simon Marlow2012-04-271-5/+11
* Improve the handling of threadDelay in the non-threaded RTSSimon Marlow2012-04-111-5/+1
* Fixed for unregisterised Windows buildsIan Lynagh2012-03-181-1/+1
* raiseAsync: cope with ATOMICALLY_FRAMES inside UPDATE_FRAMES (#5866)Simon Marlow2012-02-271-0/+10
* Fix a crash in STM when unregisterisedSimon Marlow2012-01-061-1/+1
* Fix silly bug in casMutVar#: I forgot the GC write barrierSimon Marlow2011-12-091-0/+3
* Add new primtypes 'ArrayArray#' and 'MutableArrayArray#'Manuel M T Chakravarty2011-12-071-0/+39
* Make profiling work with multiple capabilities (+RTS -N)Simon Marlow2011-11-291-20/+20
* Time handling overhaulSimon Marlow2011-11-251-8/+5
* Add eventlog event for thread labelsDuncan Coutts2011-11-041-2/+2
* Overhaul of infrastructure for profiling, coverage (HPC) and breakpointsSimon Marlow2011-11-021-0/+4
* fix #5381: the -debug RTS could crash with "internal error: MVAR_CLEANSimon Marlow2011-08-081-4/+4
* Make array copy primops inlineJohan Tibell2011-05-191-105/+0
* Add array copy/clone primopsDaniel Peebles2011-05-191-0/+106
* add casMutVar#Simon Marlow2011-04-111-0/+19
* GHC.Prim.threadStatus# now returns the cap number, and the value of TSO_LOCKEDSimon Marlow2011-03-011-2/+11
* Enable DTrace on Solaris; based on a patch from Karel GardasIan Lynagh2011-02-101-1/+14