[project @ 1997-07-27 00:43:10 by sof]
[ghc-hetmet.git] / ghc / tests / programs / waugh_neural / MAIL
1 From: waugh@probitas.cs.utas.edu.au (Sam Waugh)
2 Message-Id: <9410100613.AA68794@probitas.cs.utas.edu.au>
3 Subject: "Bug" in 0.22 -- order of magnitude slower than hbc
4 To: glasgow-haskell-bugs@dcs.gla.ac.uk
5 Date: Mon, 10 Oct 1994 17:13:41 +1000 (EETDT)
6
7 Hi.
8
9 I've come up with what you might consider to be a bug with ghc-0.22 (unless
10 I've done something obviously wrong).  I wrote some code to perform a simple
11 backpropagation neural network simulator (just to see how it would go), and
12 I have just recompiled it using hbc version 0.999.4.  The ghc executable was
13 much slower -- even when "optimised".
14
15 I've included at the bottom of this message a uuencoded gzipped tar file
16 (took a while to make) which includes the following documents:
17
18         *.lhs           -- actual code
19         makefile        -- makefile for ghc (hbc was compiled by producing
20                                 object files and linking them together.  The
21                                 optimised hbc code used -O.  The optimised
22                                 ghc code was generated with the extra options
23                                 in the makefile).
24         temp            -- machine and gcc compiler details.
25         compile         -- standard ghc compilation with -v
26         out.0.22        -- output from all trials
27         err.*           -- the timings of the different trials (ignore the
28                                 .2 on the .999.4.2 files -- it was a second
29                                 try).
30
31 Hopefully that is all the files I've included and all the files you need.
32 Let me know if you have any problems.
33
34 On a final note -- when compiling using all the optimisations for ghc there
35 were an awful lot of warnings.  Is there anyway you can get rid of these
36 (like by fixing the problems)?  It might be obscuring something important.
37
38 Thanks for your time.
39
40 Sam.
41 -- 
42 Sam Waugh                               Phone: +61 02 202962
43 Department of Computer Science          Fax:   +61 02 202913
44 University of Tasmania                  Email: waugh@cs.utas.edu.au
45 GPO Box 252C, Hobart Tasmania 7001, Australia
46
47 [snip snip]