From: "Michael A. Hopper" <mhopper@ee.gatech.edu>
Date: Fri, 12 Jul 1996 23:57:19 -0400 (EDT)
Subject: Need some advice on using SUIF
Message-Id: <199607130357.XAA02936@didier.ee.gatech.edu>



I am using SUIF to explore fine grain control and data parallelism.
I want to write a few passes in SUIF that do the following:

	1.  generate dependence information for loops, basic blocks,
	    procedure calls, etc.
	2.  annotate SUIF tree_nodes with cost information (using
	    my own cost model)
	3.  outline parallel work by creating new procedures.

My question is:  How to use what is already there in SUIF so that
		 I don't reinvent the wheel.  I know that SUIF
		 has plenty of loop level parallelism detection.
		 Is there some code to do procedure outlining?
		 How do I find out more about baseparsuif?  I
		 particularly need to know how to call some
		 of the optimizations, like loop tiling, with
		 certain parameters.  Should I write a SUIF pass
		 or just call skweel?  The documentation on 
		 baseparsuif does not go into much detail on
		 how all this works.

Thanks for any help.

-Mike Hopper


From: Chris Wilson <cwilson@CS.Stanford.EDU>
Date: Fri, 12 Jul 96 18:06:26 PDT
Subject: Re: Debugging suif code with gdb
Message-Id: <CMM.0.90.4.837219986.cwilson@Xenon.Stanford.EDU>


> I'm having problems running gdb on any of the suif code.
> Using the latest basesuif package compiled under linux
> and trying to run printsuif through gdb:
> 
> 
> -------------------------------------------------------------
> > cd $SUIFHOME/src/basesuif/printsuif
> > gdb printsuif
> GDB is free software and you are welcome to distribute copies of it
> under certain conditions; type "show copying" to see the conditions.
> There is absolutely no warranty for GDB; type "show warranty" for
> details. GDB 960201 (i486-linux), Copyright 1995 Free Software Foundation,
> Inc...
> (gdb) run test2.spd
> 
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0xbc80 in ?? ()
> (gdb) where
> #0  0xbc80 in ?? ()
> #1  0x4007dfd5 in vasprintf ()
> (gdb) 
> -------------------------------------------------------------
> 
> This same exact error occurs whenver I try to use gdb with any of the
> suif code.
> 
> Any ideas on what might be wrong?
> 
> -- 
> Brian Harvey                            * brian@cs.ucr.edu 
> University of California, Riverside 
> http://www.cs.ucr.edu/~brian/

I can't think of anything SUIF-specific that would be causing these
problems.  On most systems, gdb works fine on SUIF code.  We don't
currently have a Linux machine available here in the SUIF group at
Stanford, so I can't experiment with it.

Can you successfully use gdb on any other C++ programs on your system?
It seems like the problem is with your combination of g++ and gdb, not
anything specific to SUIF.

Any other users of SUIF on Linux have experience with gdb?

        --Chris


From: Brian Harvey <brian@cs.UCR.edu>
Date: Fri, 12 Jul 1996 10:37:52 -0700 (PDT)
Subject: Debugging suif code with gdb
Message-Id: <199607121737.KAA19327@erson.ucr.edu>


I'm having problems running gdb on any of the suif code.
Using the latest basesuif package compiled under linux
and trying to run printsuif through gdb:


-------------------------------------------------------------
> cd $SUIFHOME/src/basesuif/printsuif
> gdb printsuif
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for
details. GDB 960201 (i486-linux), Copyright 1995 Free Software Foundation,
Inc...
(gdb) run test2.spd


Program received signal SIGSEGV, Segmentation fault.
0xbc80 in ?? ()
(gdb) where
#0  0xbc80 in ?? ()
#1  0x4007dfd5 in vasprintf ()
(gdb) 
-------------------------------------------------------------

This same exact error occurs whenver I try to use gdb with any of the
suif code.

Any ideas on what might be wrong?

-- 
Brian Harvey                            * brian@cs.ucr.edu 
University of California, Riverside 
http://www.cs.ucr.edu/~brian/