Re: ANN: prof2dot, a graphical profiling tool

2008-04-01 Thread Cristian Perfumo
I was wondering if it handles per-thread information when you have more than one thread involved. (Actually the question is not related to the graphical tool, but the announcement triggered it). Best. Cristian 2008/3/8 Gregory Wright [EMAIL PROTECTED]: I am pleased to announce the first

Re: Too many local registers...

2007-11-03 Thread Cristian Perfumo
| I never found a satisfactory answer. On IA64 we just hope that ghc | generates C code that does not turn into object code that uses too many | variables. We tried playing with gcc flags to make it only use the | limited number of registers but could not make it work. The only |

Too many local registers...

2007-10-31 Thread Cristian Perfumo
Hi, I did some modifications to GHC in order to read hardware counters. Many programs are compiled successfully, but with one of them, I have a problem: Too many local registers allocated by gcc at .../ghc-6.6.1-modified/driver/mangler/ghc-asm line 1602, INASM line 304643. It's ghc 6.6.1 on an

OSThreads in the RTS

2007-09-22 Thread Cristian Perfumo
to put it, I don't know. Any light thrown on it or any documentation to read would be welcome. Cheers Cristian Perfumo void workerStart(Task *task) { Capability *cap; // See startWorkerTask(). ACQUIRE_LOCK(task-lock); cap = task-cap; RELEASE_LOCK(task-lock); // set the thread

Ticky Ticky profiling

2007-07-31 Thread Cristian Perfumo
! (the 'impossible' happened) (GHC version 6.6.1 for i386-unknown-linux): ToDo: tickyAllocThunk Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Any clue? Thanks in advance. Cristian Perfumo. ___ Glasgow-haskell-users

GHC Crosscompile

2007-06-18 Thread Cristian Perfumo
-compile and generate Alpha code with my x86 compiler? Hope you can help me. Regards Cristian Perfumo ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: SMP question

2007-05-09 Thread Cristian Perfumo
). The questions that arose: 1) What is the REG_Base? 2) Do we need it for ia64? 3) In case we need it, which machine register should we use? Thank you very much in advance for any information. Cristian Perfumo == make way=thr all; PWD

SMP question

2007-05-08 Thread Cristian Perfumo
is available. My question is: is it enough to implement xchg, cas and write_barrier for ia64 to make multiple OSthreads available on ia64? If not, what else should be implemented/changed? Regards. Cristian Perfumo ___ Glasgow-haskell-users mailing list Glasgow

Re: GHC on ia64

2007-04-30 Thread Cristian Perfumo
the log at the end of this message (notice that -N doesn't appear as one RTS available option). Thank you very much in advance for the replies. Regards. Cristian Perfumo ../../ghc-6.6.1/compiler/ghc-inplace ./Main.hs -threaded --make [1 of 1] Compiling Main ( ./Main.hs, ./Main.o ) Linking

GHC on ia64

2007-04-25 Thread Cristian Perfumo
at .../ghc-6.6/driver/mangler/ghc-asm line 1187, INASM line 1154. make[1]: *** [Apply.o] Error 255 make: *** [stage1] Error 1 Thank you very much in advance. Cheers, Cristian Perfumo ___ Glasgow-haskell-users mailing list Glasgow-haskell-users

Re: Problem compiling GHC

2007-03-02 Thread Cristian Perfumo
[EMAIL PROTECTED] wrote: On Mon, Feb 26, 2007 at 02:48:38PM +0100, Cristian Perfumo wrote: So, what I did, to be sure that the error had nothing to do with my modification, was to download GHC again and try to build the original version. But I still get the same error (that I paste below

Problem compiling GHC

2007-02-26 Thread Cristian Perfumo
with the error. So, what I did, to be sure that the error had nothing to do with my modification, was to download GHC again and try to build the original version. But I still get the same error (that I paste below this message). Thank you very much in advance for any help. Regards. Cristian Perfumo

GHC Runtime System

2007-01-11 Thread Cristian Perfumo
Hi Friends. I'm trying to modify GHC runtime in order to add some new functions to STM API. Wich documentation (if there's any) do you suggest me to read? I mean... what's the starting point to learn how to link a Haskell function in STM.hs with a C function in STM.c? Regards. Cristian Perfumo