| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
this test a bit
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This is more efficient than having to wait for all threads to finish
before each 'alone' test.
|
|
|
|
|
|
|
|
|
|
|
| |
With the exception of
nbody dph-nbody-copy-opt
nbody dph-nbody-vseg-opt
quickhull dph-quickhull-copy-opt
quickhull dph-quickhull-vseg-opt
words dph-words-copy-opt
words dph-words-vseg-opt
which are marked as 'high_memory_usage'
|
|
|
|
| |
They are mutable values, so altering them affects other tests too
|
| |
|
|
|
|
|
| |
This makes it possible to share source files between tests, without
having the .o/.hi files overlap
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(technically, broken if dynamic-by-default is enabled)
|
|\ |
|
| |\ |
|
| | |
| | |
| | |
| | | |
you get *all* type errors as warnings, rather than some being suppressed
|
| | | |
|
| | | |
|
| | | |
|
| |/
|/|
| |
| |
| | |
'normal' and 'optasm' are using dynamic libs anyway, so no point
having another way for it.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Compiling with -dynamic (perhaps due to -fPIC being enabled?) seems
to require significantly more allocation:
=====> T1969(normal) 1 of 14 [0, 0, 0]
cd . && '/home/ian/ghc/git/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -c T1969.hs +RTS -V0 -tT1969.comp.stats --machine-readable -RTS -dcore-lint >T1969.comp.stderr 2>&1
bytes allocated 669128520 is more than 1% greater than the expected value, 641959976 648379575.76
*** unexpected failure for T1969(normal)
=====> T4801(normal) 3 of 14 [0, 1, 0]
cd . && '/home/ian/ghc/git/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -c T4801.hs +RTS -V0 -tT4801.comp.stats --machine-readable -RTS >T4801.comp.stderr 2>&1
max_bytes_used 26928312 is more than 15% greater than the expected value, 18500000 21275000.0
peak_megabytes_allocated 66 is more than 20% greater than the expected value, 50 60.0
bytes allocated 522280144 is more than 10% greater than the expected value, 360243576 396267933.6
*** unexpected failure for T4801(normal)
=====> T783(normal) 9 of 14 [0, 2, 0]
cd . && '/home/ian/ghc/git/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -c T783.hs +RTS -V0 -tT783.comp.stats --machine-readable -RTS >T783.comp.stderr 2>&1
bytes allocated 506284808 is more than 10% greater than the expected value, 436927840 480620624.0
*** unexpected failure for T783(normal)
|
| | |
|
| |
| |
| |
| |
| | |
It was linking base etc, but not the RTS, which was causing
"undefined symbol: stg_newByteArrayzh"
|
| |
| |
| |
| | |
They could remove each others .o/.hi files when run in parallel.
|
|/ |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
tests/polykinds/all.T
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
I decreased it yesterday, and now I'm putting it back up again,
but not as far as it was. I'm not sure what caused these changes
but it doesn't matter because this test checks that the type checker
gets out of an infinite loop.
|
| | |
|