Related articles |
---|
Where are expression trees of SUIF in MachineSUIF? kanvard@gmail.com (kanvard) (2006-11-26) |
Re: Where are expression trees of SUIF in MachineSUIF? nkavv@skiathos.physics.auth.gr (Uncle Noah) (2006-11-27) |
Re: Where are expression trees of SUIF in MachineSUIF? kanvard@gmail.com (kanvard) (2006-11-29) |
Re: Where are expression trees of SUIF in MachineSUIF? nkavv@skiathos.physics.auth.gr (Uncle Noah) (2006-11-30) |
Re: Where are expression trees of SUIF in MachineSUIF? dmaze@mit.edu (David Z Maze) (2006-12-01) |
Re: Where are expression trees of SUIF in MachineSUIF? nkavv@skiathos.physics.auth.gr (Uncle Noah) (2006-12-03) |
From: | David Z Maze <dmaze@mit.edu> |
Newsgroups: | comp.compilers |
Date: | 1 Dec 2006 09:19:23 -0500 |
Organization: | Massachusetts Institute of Technology |
References: | 06-11-107 06-11-130 06-11-133 |
Keywords: | tools |
Posted-Date: | 01 Dec 2006 09:19:22 EST |
"Uncle Noah" <nkavv@skiathos.physics.auth.gr> writes:
>> I want to use some passes of SUIF1, and also need to use regsiter
>> allocator of MachineSUIF.
>
> SUIF1 breaks most useful programs if you intermix SUIF2/MachSUIF2 as
> well. But you could translate suif1 binaries (.spd files) to C files
> via the C backend (s2c). This could work but you never know.
While I haven't worked on SUIF at all in years, the project I was
working on involved running some passes that were only available in
SUIF 1 (and not the final released version of SUIF 1 either) and a
custom MachSUIF backend. There's a SUIF 1-to-2 converter distributed,
IIRC, with SUIF 2, depending specifically on that final version. So
we built:
(1) Build SUIF 1-old.
(2) Build SUIF 1-final.
(3) Build SUIF 2, including MachSUIF, against SUIF 1-final.
And then ran:
(1) SUIF 1-old frontend.
(2) Other SUIF 1-old passes.
(3) SUIF 1-final to SUIF 2 converter.
(4) SUIF 2 to MachSUIF converter.
(5) MachSUIF passes.
This seemed to work pretty reliably...but as I said, this was five
years ago now.
--dzm
Return to the
comp.compilers page.
Search the
comp.compilers archives again.