1. 30 Jul, 2012 2 commits
  2. 24 Jul, 2012 1 commit
  3. 18 Jul, 2012 1 commit
  4. 16 Jul, 2012 2 commits
  5. 14 Jul, 2012 1 commit
    • Ian Lynagh's avatar
      Implement FastBytes, and use it for MachStr · 7ae1bec5
      Ian Lynagh authored
      This is a first step on the way to refactoring the FastString type.
      
      FastBytes currently has no unique, mainly because there isn't currently
      a nice way to produce them in Binary.
      
      Also, we don't currently do the "Dictionary" thing with FastBytes in
      Binary. I'm not sure whether this is important.
      
      We can change both decisions later, but in the meantime this gets the
      refactoring underway.
      7ae1bec5
  6. 11 Jul, 2012 3 commits
  7. 09 Jul, 2012 1 commit
  8. 06 Jul, 2012 1 commit
  9. 05 Jul, 2012 1 commit
  10. 04 Jul, 2012 1 commit
  11. 22 Jun, 2012 1 commit
  12. 20 Jun, 2012 4 commits
  13. 13 Jun, 2012 4 commits
  14. 12 Jun, 2012 4 commits
  15. 11 Jun, 2012 1 commit
  16. 07 Jun, 2012 1 commit
    • Simon Marlow's avatar
      Fix for earger blackholing of thunks with no free variables (#6146) · 21a53a1c
      Simon Marlow authored
      A thunk with no free variables was not getting blackholed when
      -feager-blackholing was on, but we were nevertheless pushing the
      stg_bh_upd_frame version of the update frame that expects to see a
      black hole.
      
      I fixed this twice for good measure:
      
       - we now call blackHoleOnEntry when pushing the update frame to check
         whether the closure was actually blackholed, and so that we use the
         same predicate in both places
      
       - we now black hole thunks even if they have no free variables.
         These only occur when optimisation is off, but presumably if you say
         -feager-blackholing then that's what you want to happen.
      21a53a1c
  17. 05 Jun, 2012 1 commit
  18. 28 May, 2012 1 commit
  19. 15 May, 2012 2 commits
  20. 21 Apr, 2012 1 commit
    • Ian Lynagh's avatar
      Add a quotRemWord2 primop · 5136d64e
      Ian Lynagh authored
      It allows you to do
          (high, low) `quotRem` d
      provided high < d.
      
      Currently only has an inefficient fallback implementation.
      5136d64e
  21. 07 Mar, 2012 2 commits
  22. 06 Mar, 2012 1 commit
    • Simon Marlow's avatar
      Lower safe foreign calls in the new CmmLayoutStack · 93e42a68
      Simon Marlow authored
      We also generate much better code for safe foreign calls (and maybe
      also unsafe foreign calls) than previously.  See the two new Notes:
      
      Note [lower safe foreign calls]
      Note [safe foreign call convention]
      93e42a68
  23. 27 Feb, 2012 1 commit
  24. 26 Feb, 2012 1 commit
    • Ian Lynagh's avatar
      Implement "value" imports with the CAPI · ae04bd43
      Ian Lynagh authored
      This allows us to import values (i.e. non-functions) with the CAPI.
      This means we can access values even if (on some or all platforms)
      they are simple #defines.
      ae04bd43
  25. 24 Feb, 2012 1 commit