Re: PATCH: Rename cmmz flags for consistency

2012-12-18 Thread Edward Z. Yang
Looks good. Edward Excerpts from Austin Seipp's message of Tue Dec 18 01:34:44 +0800 2012: > Hi, > > The attached patch renames the various '*-cmmz-*' flags to '*-cmm-*' > now that the new backend is live. It also fixes some inconsistencies; > namely, there were flags like -ddump-cmmz-rewrite, v

[commit: nofib] master: Follow changes in dependency generation. (f0082fd)

2012-11-06 Thread Edward Z. Yang
d Z. Yang Date: Tue Nov 6 23:18:37 2012 -0800 Follow changes in dependency generation. Signed-off-by: Edward Z. Yang >--- mk/ghc-target.mk |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/

[commit: testsuite] master: Tweak #367 tests to use -fno-omit-yields and expect passes. (3dcdae9)

2012-09-26 Thread Edward Z. Yang
d Z. Yang Date: Wed Sep 26 15:09:37 2012 -0700 Tweak #367 tests to use -fno-omit-yields and expect passes. Signed-off-by: Edward Z. Yang >--- tests/concurrent/should_run/all.T |4 ++-- 1 files changed, 2 inse

[commit: ghc] master: Partially fix #367 by adding HpLim checks to entry with -fno-omit-yields. (d3128bf)

2012-09-26 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/d3128bfc286002862e916296629a22f1ce987e4e >--- commit d3128bfc286002862e916296629a22f1ce987e4e Author: Edward Z. Y

[commit: testsuite] master: Add support for per-test timeout adjustment (timeout_multiplier), and tighten up #367 test. (88d9bcb)

2012-09-25 Thread Edward Z. Yang
d Z. Yang Date: Tue Sep 25 12:12:26 2012 -0700 Add support for per-test timeout adjustment (timeout_multiplier), and tighten up #367 test. Signed-off-by: Edward Z. Yang >--- driver/testglobals.py

[commit: testsuite] master: Failing (by timeout) tests for #367. (fbd0aaa)

2012-09-24 Thread Edward Z. Yang
d Z. Yang Date: Mon Sep 24 14:39:38 2012 -0700 Failing (by timeout) tests for #367. Signed-off-by: Edward Z. Yang >--- tests/concurrent/should_run/367.hs | 10 .../should_run/367.

[commit: ghc] master: Typo fix in deferred type errors docs. (d8b48ba)

2012-09-06 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/d8b48bab54316cf2c36c50f7f0a68087c01dee20 >--- commit d8b48bab54316cf2c36c50f7f0a68087c01dee20 Author: Edward Z. Y

[commit: ghc] master: Port "Add new primtypes 'ArrayArray#' and 'MutableArrayArray#'" to new codegen. (921ccf7)

2012-01-20 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/921ccf7cc0a346999073076017af1d4bc82e888c >--- commit 921ccf7cc0a346999073076017af1d4bc82e888c Author: Edward Z. Y

[commit: ghc] master: Document -T RTS flag in manual. (3e63df8)

2012-01-17 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/3e63df8732b3e8556c32c060a114e997c990ccd7 >--- commit 3e63df8732b3e8556c32c060a114e997c990ccd7 Author: Edward Z. Y

[commit: ghc] master: Add missing newline in RTS help output. (529b0ae)

2011-11-30 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/529b0ae11c0ef2c2f1ba37050d5d0a5469a24ed3 >--- commit 529b0ae11c0ef2c2f1ba37050d5d0a5469a24ed3 Author: Edward Z. Y

[commit: ghc] master: Add GC command to sync-all. (7ec83bc)

2011-11-25 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/7ec83bc3c725622c8724aa0cce8844ce38528e5f >--- commit 7ec83bc3c725622c8724aa0cce8844ce38528e5f Author: Edward Z. Y

nofib module loading failures

2011-08-21 Thread Edward Z. Yang
Hello all, I'm attempting to run the nofib suite with HEAD, and I'm getting loads of "cannot find module" errors. They mostly go away if I pass --make. Anyone seen this before / can reproduce? Edward ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http:

[commit: ghc] master: Also include basic time statistics in GCStats. (9213fc9)

2011-08-06 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/9213fc968a56fb671efc4d091ace236b18dec541 >--- commit 9213fc968a56fb671efc4d091ace236b18dec541 Author: Edward Z. Y

Re: Git fast HTTP cloning

2011-08-02 Thread Edward Z. Yang
+1 to this proposal. Edward Excerpts from Max Bolingbroke's message of Tue Aug 02 10:01:44 -0400 2011: > Hi GHCers, > > As far as I can tell, darcs.haskell.org does not use fast HTTP cloning > for the GHC git repository. This means that: > 1. Cloning the repository over HTTP taking ~7 minutes

Current test failures on devel2

2011-07-31 Thread Edward Z. Yang
dynlibs T3807 [bad exit code] (normal) indexed-types/should_compile T3017 [stderr mismatch] (normal) indexed-types/should_fail NoMatchErr [stderr mismatch] (normal) indexed-types/should_fail T2544 [stderr mismatch] (normal) indexed-types/should_fail

[commit: ghc] master: Implement public interface for GC statistics. (2088aba)

2011-07-30 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/2088abaf4173090e343b521dc89d622936fba850 >--- commit 2088abaf4173090e343b521dc89d622936fba850 Author: Edward Z. Y

[commit: ghc] master: Rename avg_residency to less misleading cumulative_residency. (73523d2)

2011-07-24 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/73523d2f7e24937e8aa494200bcb65c1101bba99 >--- commit 73523d2f7e24937e8aa494200bcb65c1101bba99 Author: Edward Z. Y

Re: Massive Ghci Debugger Script testsuite failures

2011-07-17 Thread Edward Z. Yang
Curious. This was a fresh devel2 build as well on x86-32 Excerpts from Ian Lynagh's message of Sun Jul 17 11:44:09 -0400 2011: > On Sun, Jul 17, 2011 at 07:44:23AM -0400, Edward Z. Yang wrote: > > Here's one example. I'm seeing several dozens of these failures. > >

Massive Ghci Debugger Script testsuite failures

2011-07-17 Thread Edward Z. Yang
Here's one example. I'm seeing several dozens of these failures. cd . && HC='/home/ezyang/Dev/ghc-build-master-devel2/inplace/bin/ghc-stage2' HC_OPTS='-dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf -rtsopts ' '/home/ezyang/Dev/ghc-build-master-devel2/inplace/bin/ghc-stage2' --i

Re: Move test cases from 'tests/ghc-regress' to 'tests'

2011-07-12 Thread Edward Z. Yang
Approve. Cheers, Edward Excerpts from David Terei's message of Mon Jul 11 17:44:45 -0400 2011: > Hi All, > > I've been doing some work on the testsuite recently and developed a > minor annoyance. The test cases all reside in 'tests/ghc-regress'. The > 'tests' directory itself only contains the s

Re: [commit: ghc] master: Add two new primops: (be54417)

2011-07-09 Thread Edward Z. Yang
Pushed. Excerpts from Simon Marlow's message of Tue Jul 05 08:37:30 -0400 2011: > On 05/07/11 13:19, Edward Z. Yang wrote: > > I was puzzled why, post this commit, things werent' compiling. That's > > cuz we haven't ported this to the new codegen yet. I

[commit: ghc] master: Port 'Add two new primops seq# and spark#' (be54417) to new codegen. (82c9f3f)

2011-07-07 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/82c9f3f0f42e917b113d2174f468e86074b895cc >--- commit 82c9f3f0f42e917b113d2174f468e86074b895cc Author: Edward Z. Y

Re: [commit: ghc] master: Add two new primops: (be54417)

2011-07-05 Thread Edward Z. Yang
I was puzzled why, post this commit, things werent' compiling. That's cuz we haven't ported this to the new codegen yet. I'll do this some time this week. Edward Excerpts from Simon Marlow's message of Tue Jun 28 16:30:43 -0400 2011: > Repository : ssh://darcs.haskell.org//srv/darcs/ghc > > On

Re: [Haskell-cafe] How to ensure code executes in the context of a specific OS thread?

2011-07-04 Thread Edward Z. Yang
Sounds like something that could use a GHC Trac feature request. Edward ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

[commit: testsuite] master: Another variant of hashStr, this one caught a Hoopl bug. (e9b95e9)

2011-06-28 Thread Edward Z. Yang
d Z. Yang Date: Tue Jun 28 08:20:50 2011 -0400 Another variant of hashStr, this one caught a Hoopl bug. Signed-off-by: Edward Z. Yang >--- tests/ghc-regress/codeGen/should_compile/all.T |1 + .../cgrun

Build failure with trusted

2011-06-18 Thread Edward Z. Yang
"cp" utils/ghc-cabal/dist/build/tmp/ghc-cabal inplace/bin/ghc-cabal "rm" -f utils/ghc-pkg/Version.hs echo "module Version where">> utils/ghc-pkg/Version.hs echo "version, targetOS, targetARCH :: String" >> utils/ghc-pkg/Version.hs echo "version= \"7.1\"" >> utils/ghc-pk

Re: SafeHaskell pushed - Rebuild of GHC dev tree needed

2011-06-18 Thread Edward Z. Yang
Congrats. :-) Cheers, Edward Excerpts from David Terei's message of Sat Jun 18 04:26:44 -0400 2011: > Just pushed the SafeHaskell stuff, this changes the .hi format and > also the package format so you will need to wipe and rebuild your > trees. (and pull on Cabal). > > The following tests shou

Re: HEADS UP: Now haddock and binary repos

2011-06-17 Thread Edward Z. Yang
:-( Not fun! Edward Excerpts from Ian Lynagh's message of Fri Jun 17 16:35:43 -0400 2011: > > Hi all, > > I've now replaced the GHC binary and haddock repos with lagging copies > of the upstream repos. That means that you need to remove the old repos > from any GHC trees you have. This should d

[commit: ghc] master: Skip constant folding in nativegen if new codegen used. (3513b07)

2011-06-17 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/3513b073665784ef9c6c8c71284074fa583fafcd >--- commit 3513b073665784ef9c6c8c71284074fa583fafcd Author: Edward Z. Y

[commit: ghc] master: Port MachOp folding to new code generator. (b8e0ce7)

2011-06-17 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/b8e0ce7b417d48fa01a48aca5ff9852cffc989d7 >--- commit b8e0ce7b417d48fa01a48aca5ff9852cffc989d7 Author: Edward Z. Y

Re: Test failure dph-dotp-fast

2011-06-17 Thread Edward Z. Yang
dph-sumnats also started failing too. cd . && '/home/ezyang/Dev/ghc-build-master-stage2-default/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf -rtsopts --make -o dph-sumnats Main -Odph -fdph-par >dph-sumnats.comp.stderr 2>&1 Compile fai

Test failure dph-dotp-fast

2011-06-17 Thread Edward Z. Yang
> Scanning ./dph-dotp.T => dph-dotp-fast(normal) 2 of 2 [0, 0, 0] cd . && '/home/ezyang/Dev/ghc-validate/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf -rtsopts --make -o dph-dotp-fast Main -O -fno-enable-rewrite-rules -fdph-par >

[commit: ghc] master: Refactor CmmLive and CmmSpillReload. (1687dab)

2011-06-17 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/1687dab3968edf161e6eb759ff1041c7adb201f2 >--- commit 1687dab3968edf161e6eb759ff1041c7adb201f2 Author: Edward Z. Y

[commit: ghc] master: Refactoring CmmSpillReload and CmmLive. (e26ea0f)

2011-06-17 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/e26ea0f4144f0989e390367c2cf138ce48550ff4 >--- commit e26ea0f4144f0989e390367c2cf138ce48550ff4 Author: Edward Z. Y

More passing tests

2011-06-16 Thread Edward Z. Yang
GADT test 'termination' seems to have started passing for me. Cheers, Edward ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: T3294 failing

2011-06-16 Thread Edward Z. Yang
o > > On Tue, Jun 14, 2011 at 16:14, Edward Z. Yang wrote: > > > But it's the good kind of failure. > > > > => T3294(normal) 401 of 2809 [0, 0, 0] > > cd ./perf/compiler && > > '/home/ezyang/Dev/ghc-validate/inplace/bin/ghc-stage2

[commit: ghc] master: Port "6c7d2a9 Use the new memcpy/memmove/memset MachOps" to new codegen. (8c2ddec)

2011-06-15 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/8c2ddecb4d58bc22b3bed220c514ec54091ffcbc >--- commit 8c2ddecb4d58bc22b3bed220c514ec54091ffcbc Author: Edward Z. Y

Re: [commit: testsuite] master: Add test for unrolling memcpy/memset in the x86 backend (01c9b2f)

2011-06-15 Thread Edward Z. Yang
So, uh, I ran these tests with the new codegen turned on (which don't unroll yet), and they all passed. Is that expected? Cheers, Edward Excerpts from David Terei's message of Tue Jun 14 21:43:36 -0400 2011: > Repository : ssh://darcs.haskell.org//srv/darcs/testsuite > > On branch : master >

Re: [commit: ghc] master: Use the new memcpy/memmove/memset MachOps (6c7d2a9)

2011-06-15 Thread Edward Z. Yang
Was this commit supposed to have made it to master? I don't see it, for some reason... Edward Excerpts from David Terei's message of Tue Jun 14 21:17:43 -0400 2011: > Repository : ssh://darcs.haskell.org//srv/darcs/ghc > > On branch : master > > http://hackage.haskell.org/trac/ghc/changeset/6c

[commit: ghc] master: Add type signature to invalidateVolatile. (cf24722)

2011-06-14 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/cf247224bb2f48416f2a93be179cd9bc0ecfd0b2 >--- commit cf247224bb2f48416f2a93be179cd9bc0ecfd0b2 Author: Edward Z. Y

[commit: ghc] master: Fix build for GHC earlier than 7.0.1. (6b0d62c)

2011-06-14 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/6b0d62c952a5591456b9142018abc262d1857bf4 >--- commit 6b0d62c952a5591456b9142018abc262d1857bf4 Author: Edward Z. Y

RE: [commit: ghc] master: Implement regslot inlining, document soundness concerns. (ffd3bd8)

2011-06-14 Thread Edward Z. Yang
reignCall _ _ _) _ > ... > > : > Failing due to -Werror. > > make[1]: *** [compiler/stage1/build/CmmSpillReload.o] Error 1 > make[1]: *** Waiting for unfinished jobs > make: *** [all] Error 2 > > Is this related to this patch? > > Thanks!

[commit: ghc] master: Implement regslot inlining, document soundness concerns. (ffd3bd8)

2011-06-14 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/ffd3bd85a6febeec05c99d0da7dfdf34cad59caf >--- commit ffd3bd85a6febeec05c99d0da7dfdf34cad59caf Author: Edward Z. Y

[commit: ghc] master: Split out assignment rewriting to own module. (7ed114c)

2011-06-14 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/7ed114cd6980f62e8473932dee2fc22dca1d2118 >--- commit 7ed114cd6980f62e8473932dee2fc22dca1d2118 Author: Edward Z. Y

T3294 failing

2011-06-14 Thread Edward Z. Yang
But it's the good kind of failure. => T3294(normal) 401 of 2809 [0, 0, 0] cd ./perf/compiler && '/home/ezyang/Dev/ghc-validate/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf -rtsopts -c T3294.hs +RTS -V0 -tT3294.comp.stats --machine-r

[commit: ghc] master: Move control flow optimization to CmmCPS. (c8e5f0f)

2011-06-14 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/c8e5f0f65223013cd21f25512b21eac0327aefdf >--- commit c8e5f0f65223013cd21f25512b21eac0327aefdf Author: Edward Z. Y

[commit: ghc] master: Rename CmmCPS to CmmPipeline. (de2d10e)

2011-06-14 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/de2d10e18ce23e5df7fa4f3433b85c95d6092b58 >--- commit de2d10e18ce23e5df7fa4f3433b85c95d6092b58 Author: Edward Z. Y

[commit: ghc] master: Bake in ByteOff to ParamLocation, and remove ArgumentFormat synonym. (f3a1b28)

2011-06-13 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/f3a1b28e408de01d01ec252efd5b54722eb775d8 >--- commit f3a1b28e408de01d01ec252efd5b54722eb775d8 Author: Edward Z. Y

[commit: ghc] master: Remove unused assignArguments and argumentsSize. (8b3bfb2)

2011-06-13 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/8b3bfb2ec41fd0e807a8f6e7a823795eafca1dcb >--- commit 8b3bfb2ec41fd0e807a8f6e7a823795eafca1dcb Author: Edward Z. Y

[commit: ghc] master: Remove type synonyms for CmmFormals, CmmActuals (and hinted versions). (da15d0c)

2011-06-13 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/da15d0c556df3eacc6b37327ddea306b3760 >--- commit da15d0c556df3eacc6b37327ddea306b3760 Author: Edward Z. Y

More git hook complaining

2011-06-13 Thread Edward Z. Yang
ezyang@javelin:~/Dev/ghc-master$ git push Counting objects: 24, done. Delta compression using up to 2 threads. Compressing objects: 100% (14/14), done. Writing objects: 100% (14/14), 4.58 KiB, done. Total 14 (delta 12), reused 0 (delta 0) Counting objects: 24, done. Compressing objects: 100% (14/14

[commit: ghc] master: Port "Make array copy primops inline" and related patches to new codegen. (5b10538)

2011-06-13 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/5b1053897fa16ced293e749447e9c027d15d29f5 >--- commit 5b1053897fa16ced293e749447e9c027d15d29f5 Author: Edward Z. Y

[commit: ghc] master: Extra comment about WithRegUsage. (f1fc769)

2011-06-13 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/f1fc7698ef9997f950be8cb37c9b30dadbb4b631 >--- commit f1fc7698ef9997f950be8cb37c9b30dadbb4b631 Author: Edward Z. Y

Re: Build failure

2011-06-11 Thread Edward Z. Yang
Ah yes. :-) It looks like my build tree is in a weird state. Fixing up... Edward ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Build failure

2011-06-11 Thread Edward Z. Yang
This should be easy to fix though. "/home/ezyang/.local/bin/ghc" -H32m -O -Wall -Werror -H64m -O0 -package-conf libraries/bootstrapping.conf -package-name ghc-7.1 -hide-all-packages -i -icompiler/basicTypes -icompiler/cmm -icompiler/codeGen -icompiler/coreSyn -icompiler/deSugar -icompiler/g

Re: Push error

2011-06-11 Thread Edward Z. Yang
It looks like a Git hook may be broken? Either way, the push seems to have gone through OK. Edward Excerpts from Simon Peyton-Jones's message of Sat Jun 11 09:54:25 -0400 2011: > I got the dump below when I tried to push to the GHC repo. I have no idea > what is going on. > > Simon > > git p

Build failure, index out of range

2011-06-09 Thread Edward Z. Yang
Anyone seen this recently? "inplace/bin/ghc-stage1" -H64m -O -fasm-package-name ghc-prim-0.2.0.0 -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -ilibraries/ghc-prim/dist-install/build/autogen -Ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-p

Re: Should -ddump-to-file append or overwrite?

2011-05-24 Thread Edward Z. Yang
st write. I'll push the change soon. > > Cheers, > Edward > > Excerpts from Ben Lippmeier's message of Sun May 15 04:35:31 -0400 2011: > > > > On 14/05/2011, at 11:16 PM, Edward Z. Yang wrote: > > > > > Currently, -ddump-to-file appends to an exis

Re: Any way to compile an old version from git?

2011-05-19 Thread Edward Z. Yang
What might also be pretty useful is a global "checkout a commit from before this time", which would also work even in the case of missing build logs (we should also publish a log of build log hashes, so you can have some record of known good builds). One would have to deal with merges, but if the

[commit: ghc] master: Amend comment per Marlow's comments. (52cba3c)

2011-05-16 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/52cba3c47b25a78402e542ff63dc905fc5b26b62 >--- commit 52cba3c47b25a78402e542ff63dc905fc5b26b62 Author: Edward Z. Y

Re: Unsafe foreign calls are NOT fat machine instructions (yet)

2011-05-16 Thread Edward Z. Yang
Excerpts from Simon Marlow's message of Mon May 16 04:12:29 -0400 2011: > This is as it should be. The reason there are no CALLER_SAVES_Hp or > similar is because we deliberately avoid using caller-saves registers > for Hp due to the cost. It would work fine (due to the code here), but > it wo

Re: Unsafe foreign calls are NOT fat machine instructions (yet)

2011-05-15 Thread Edward Z. Yang
ccount: the > unsafe call to f() must be treated as writing to R1/R2/etc. (at least, > those regs that are caller-saves). Does that make sense? > > Cheers, > Simon > > On 14/05/11 22:22, Edward Z. Yang wrote: > > Hello all, > > > > I've just pinned do

[commit: ghc] master: More aggressive CmmRegOff inlining, and fix failure to inline to assignments. (080dabd)

2011-05-15 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/080dabd4d6a18926d9c040ae4712b1891a4bbf2d >--- commit 080dabd4d6a18926d9c040ae4712b1891a4bbf2d Author: Edward Z. Y

[commit: ghc] master: Split -ddump-cmmz into many smaller flags. (6433972)

2011-05-15 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/643397208b83f1654bceeef40c793f11592ef816 >--- commit 643397208b83f1654bceeef40c793f11592ef816 Author: Edward Z. Y

[commit: ghc] master: More aggressive clobber detection with Hp and RegSlot. (7365e8e)

2011-05-15 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/7365e8ee385b5036367686e43bdbcd2f876a7443 >--- commit 7365e8ee385b5036367686e43bdbcd2f876a7443 Author: Edward Z. Y

[commit: ghc] master: Work around lack of saving volatile registers from unsafe foreign calls. (ee5addc)

2011-05-15 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/ee5addccd1929a7368a39b2c88d1b77f0bc8fb73 >--- commit ee5addccd1929a7368a39b2c88d1b77f0bc8fb73 Author: Edward Z. Y

[commit: ghc] master: Generalized assignment rewriting pass. (7980b85)

2011-05-15 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/7980b85bdbf554012fcbda25c16bc456feb33cbd >--- commit 7980b85bdbf554012fcbda25c16bc456feb33cbd Author: Edward Z. Y

[commit: ghc] master: Make -ddump-to-file truncate existing files. (1dc458b)

2011-05-15 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/1dc458bf7ee5ca2749e62397617af291dadc891d >--- commit 1dc458bf7ee5ca2749e62397617af291dadc891d Author: Edward Z. Y

Re: DPH link error

2011-05-15 Thread Edward Z. Yang
2011: > > On 15/05/2011, at 10:12 PM, Edward Z. Yang wrote: > > > I'm getting some mysterious DPH linking error when I am attempting a > > validate: > > > > http://hpaste.org/46695/dph_dynamic_error > > Urgh. That's the build race I thought I had

DPH link error

2011-05-15 Thread Edward Z. Yang
I'm getting some mysterious DPH linking error when I am attempting a validate: http://hpaste.org/46695/dph_dynamic_error Edward ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: Should -ddump-to-file append or overwrite?

2011-05-15 Thread Edward Z. Yang
It looks like it's in IO now, so I added an IORef to keep track of what files we've seen and truncate on the first write. I'll push the change soon. Cheers, Edward Excerpts from Ben Lippmeier's message of Sun May 15 04:35:31 -0400 2011: > > On 14/05/2011, at 11:1

Unsafe foreign calls are NOT fat machine instructions (yet)

2011-05-14 Thread Edward Z. Yang
Hello all, I've just pinned down a nasty bug in the new code generator (not my code, whoo!) that was tickled by my aggressive optimization pass. In the old code generator (CgUtils.hs), we have the following section for caller saves: callerSaves :: GlobalReg -> Bool #ifdef CALLER_SAVES_B

Re: Another new code generator status report

2011-05-14 Thread Edward Z. Yang
hanks! > > On Sat, May 14, 2011 at 4:39 PM, Edward Z. Yang wrote: > > I spent some time last evening and today fixing some more low > > hanging fruit (still waiting for a big enough chunk of free time to > > tackle the spill and stack layout rewrites), and here are t

Another new code generator status report

2011-05-14 Thread Edward Z. Yang
I spent some time last evening and today fixing some more low hanging fruit (still waiting for a big enough chunk of free time to tackle the spill and stack layout rewrites), and here are the latest statistics: 0.2558 5160 1320 ./deSugar/should_compile/ds018.o 0.2565 7204 1848 ./ga

Should -ddump-to-file append or overwrite?

2011-05-14 Thread Edward Z. Yang
Currently, -ddump-to-file appends to an existing file. This is pretty confusing for me, if I wanted to get a new set of information, because now I have to delete any dump files before I take more data, or I need to manually separate out the runs (which, by the way, are not demarcated.) If no one

Re: Build is broken

2011-05-14 Thread Edward Z. Yang
It's tough to tell with just the commit log. Can you pop open gitk and take a look? (maybe take a screen shot and share.) Edward Excerpts from Ben Lippmeier's message of Sat May 14 04:37:09 -0400 2011: > > On 13/05/2011, at 8:56 PM, Edward Z. Yang wrote: > > > Hey Be

[commit: testsuite] master: massive_array: -dynamic not necessary. (6a5525b)

2011-05-13 Thread Edward Z. Yang
d Z. Yang Date: Sat May 14 00:28:49 2011 +0100 massive_array: -dynamic not necessary. Signed-off-by: Edward Z. Yang >--- tests/ghc-regress/codeGen/should_compile/all.T |2 +- 1 files changed, 1 insertions

Re: Patch : Fix missing import

2011-05-13 Thread Edward Z. Yang
Note that this line was removed by this commit: Author: Ben Lippmeier 2011-05-11 04:36:01 Committer: Ben Lippmeier 2011-05-12 11:36:21 Parent: 35474439dcf6dc60e2f6e296de7da128c690d50e (Follow changes in DPH library: Repr module is gone.) Child: 999857fdfd8fa1b305a94bc54bb1860f5c8896d1 (Wibbl

Build is broken

2011-05-13 Thread Edward Z. Yang
Hey Ben, It looks like you broke the build for other people in 5bfa6a6382a4e4b949d333b1996065e9bcfacb18. Cheers, Edward ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

Re: Cannot pull from ghc.git

2011-05-13 Thread Edward Z. Yang
I seem to have fixed this by running git gc on the repo, but I suspect some file permission wonkiness may be at play. Excerpts from Edward Z. Yang's message of Fri May 13 06:20:04 -0400 2011: > ezyang@javelin:~/Dev/ghc-master$ git fetch > error: Unable to find d872133bb986dbd15959cbb14504bf9a863e3

Cannot pull from ghc.git

2011-05-13 Thread Edward Z. Yang
ezyang@javelin:~/Dev/ghc-master$ git fetch error: Unable to find d872133bb986dbd15959cbb14504bf9a863e3e4a under http://darcs.haskell.org/ghc.git Cannot obtain needed object d872133bb986dbd15959cbb14504bf9a863e3e4a error: Fetch failed. Edward ___ Cvs-gh

[commit: testsuite] master: Another test case to tickle a new codegen bug. (7af721a)

2011-05-12 Thread Edward Z. Yang
d Z. Yang Date: Fri May 13 03:08:03 2011 +0100 Another test case to tickle a new codegen bug. Signed-off-by: Edward Z. Yang tests/ghc-regress/codeGen/should_compile/all.T |1 + .../codeGen/should_compile/massive_array.hs| 520 2 files chan

[commit: ghc] master: Document -ddump-to-file. (e841f7a)

2011-05-11 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/e841f7a51531e99681a7c411adff0892c251f65f >--- commit e841f7a51531e99681a7c411adff0892c251f65f Author: Edward Z. Y

Re: [commit: ghc] master: Implement dead basic block elimination. (50f5c84)

2011-05-05 Thread Edward Z. Yang
Fixed up in 246183c669a1e851ccc4 Edward Excerpts from Simon Marlow's message of Thu May 05 08:57:10 -0400 2011: > On 30/04/2011 15:18, Edward Z. Yang wrote: > > Repository : ssh://darcs.haskell.org//srv/darcs/ghc > > > > On branch : master > > > > http://

[commit: ghc] master: Improve dead block calculation, per Simon Marlow's advice. (246183c)

2011-05-05 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/246183c669a1e851ccc42697dbbf309292bf2a08 >--- commit 246183c669a1e851ccc42697dbbf309292bf2a08 Author: Edward Z. Y

Re: [Haskell-cafe] GHC optimizer consuming memory

2011-04-30 Thread Edward Z. Yang
Hello Mike, I cannot reproduce using GHC HEAD (though it seems to hang on GHC 7.0.3), so my guess is the bug has been fixed. cvs-ghc, any guesses which patch this might have been? Cheers, Edward Excerpts from mike frai's message of Sat Apr 30 14:50:17 -0400 2011: > Hi, > > While using Michael

[commit: ghc] master: Implement dead basic block elimination. (50f5c84)

2011-04-30 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/50f5c8491bfcb6b891f772e2915443dbb5078e97 >--- commit 50f5c8491bfcb6b891f772e2915443dbb5078e97 Author: Edward Z. Y

[commit: ghc] master: Remove dead Alpha native backend. (659f147)

2011-04-30 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/659f147413af7f4f2d2b500659e7c03f31f16d35 >--- commit 659f147413af7f4f2d2b500659e7c03f31f16d35 Author: Edward Z. Y

[commit: ghc] master: Give manifestSP better information about the actual SP location. (c18358bf)

2011-04-27 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/c18358bf9b0f1aacbd9c5e8d8515c1fc5031c249 >--- commit c18358bf9b0f1aacbd9c5e8d8515c1fc5031c249 Author: Edward Z. Y

[commit: ghc] master: Fix bug in multi-destination jump patching. (7aa15ca)

2011-04-27 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/7aa15ca8ed7b37efbd970822a3e0a3fe5e8a9c8a >--- commit 7aa15ca8ed7b37efbd970822a3e0a3fe5e8a9c8a Author: Edward Z. Y

[commit: ghc] master: Implement jump table fix-ups for linear register allocator. (16a037a)

2011-04-27 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/16a037a8f9c7e444230c226081023fe56ffa2264 >--- commit 16a037a8f9c7e444230c226081023fe56ffa2264 Author: Edward Z. Y

[commit: ghc] master: Eliminate GC check when no extra stack is used. (cb5a1b4)

2011-04-27 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/cb5a1b4c5fee21a2bd79bd1469684f1ff97804fa >--- commit cb5a1b4c5fee21a2bd79bd1469684f1ff97804fa Author: Edward Z. Y

[commit: ghc] master: Raw versions of if and switch. (1df9e42)

2011-04-26 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/1df9e42c4f9463b5bdef24c908d0a7ebd579b30c >--- commit 1df9e42c4f9463b5bdef24c908d0a7ebd579b30c Author: Edward Z. Y

[commit: ghc] master: cmm-notes updates. (dcc7b25)

2011-04-26 Thread Edward Z. Yang
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/dcc7b25a12eb07285a0b717b43ce62feb1f7dae1 >--- commit dcc7b25a12eb07285a0b717b43ce62feb1f7dae1 Author: Edward Z. Y

Re: interleaved/detached commenting style

2011-04-25 Thread Edward Z. Yang
Excerpts from Adam Megacz's message of Sun Apr 24 22:54:55 -0400 2011: > Okay, perhaps this isn't the best use of my time. I mean, alternative representations for the code can come in handy. As you yourself demonstrate, people don't necessarily naturally go for the source, and hyperlinks are a ver

Re: interleaved/detached commenting style

2011-04-24 Thread Edward Z. Yang
The feeling I get is most of GHC HQ doesn't use Haddock to browse GHC... we go straight for the source (with maybe ctags/hasktags setup). Edward Excerpts from Adam Megacz's message of Sun Apr 24 18:14:16 -0400 2011: > > The (new) commentary describes a mechanism for creating "links" from > inlin

Re: [PATCH] Eliminate GC check when no extra stack is used.

2011-04-24 Thread Edward Z. Yang
Excerpts from Simon Marlow's message of Wed Apr 20 05:28:43 -0400 2011: > On 19/04/2011 22:58, Edward Z. Yang wrote: > > A sanity check on this patch would be nice. Note that I need to > > update the lint check with this change. > > Don't you mean "Sp is alw

Re: debugging segfaults; any suggestions?

2011-04-20 Thread Edward Z. Yang
Can you minimize the test-case into a minimal program that still segfaults? This might be tricky with the unsafeCoerces around, since deleting instructions probably will be break any invariants your coerces are relying on. Maybe you can reduce the Coq itself, or make the test case smaller. It see

Re: [PATCH] Raw versions of if and switch.

2011-04-20 Thread Edward Z. Yang
Yep! I'll push this patch then. Edward Excerpts from Simon Marlow's message of Wed Apr 20 05:25:27 -0400 2011: > On 19/04/2011 22:53, Edward Z. Yang wrote: > > This makes the following statements valid C--, which uses the > > block ID directly rather than gene

Re: [PATCH] Eliminate GC check when no extra stack is used.

2011-04-19 Thread Edward Z. Yang
A sanity check on this patch would be nice. Note that I need to update the lint check with this change. Edward Excerpts from Edward Z. Yang's message of Tue Apr 19 17:53:38 -0400 2011: > Signed-off-by: Edward Z. Yang > --- > compiler/cmm/CmmLint.hs|1 + &

  1   2   3   >