1. 12 Oct, 2012 1 commit
  2. 11 Oct, 2012 8 commits
  3. 10 Oct, 2012 3 commits
  4. 09 Oct, 2012 2 commits
    • ian@well-typed.com's avatar
      Use -shared for the prof ways · cecf7b54
      ian@well-typed.com authored
      I'm not sure whether it makes more sense to make this change, or to
      change the build system to build -prof -dynamic libraries. But at least
      this change suffices to make the two match, so the tests don't all fail
      due to missing libraries.
      cecf7b54
    • tibbe's avatar
      Make it possible to test the generated assembly · 5ec6ea3e
      tibbe authored
      This test framework feature is inspired by a similar feature in LLVM.
      The programmer writes a bit of Cmm
      
          #include "Cmm.h"
      
          // Large memcpy's should lower to calls.
          callMemcpy
          {
            W_ dst, src;
            prim %memcpy(dst "ptr", src "ptr", 1024, 4) [];
          }
      
      and asserts what the generated assembly should look like, modulo
      register naming.
      
          callMemcpy:
          movq  ; Move arguments into place
          movq
          movl
          movl
          call memcpy
      
      Patch edited and updated by Simon Marlow, and I also added a test for
      unrolling memcpy and a simple constant-propagation test.
      5ec6ea3e
  5. 08 Oct, 2012 9 commits
  6. 05 Oct, 2012 4 commits
  7. 04 Oct, 2012 8 commits
  8. 03 Oct, 2012 5 commits