Subject: Re: Vortex and pointer sizes
From: Aaron M. Ucko (amu@MIT.EDU)
Date: Sat Oct 20 2001 - 10:34:46 PDT
Craig Chambers <chambers@cs.washington.edu> writes:
> That would be nice, and we would have liked that too, but right now Vortex
> computes offsets in structures to access fields and the like, and it's difficult
> to avoid depending on the word size when doing this. We've thought about
> generating code that would compute the offset from the word size etc. at C
> compilation time, but we haven't pursued it, and things like alias analysis
> might get very hard.
Ah, okay. That makes sense; I just hadn't looked at the code closely
enough to notice that the option had such deep effects. In that case,
I suppose I'll just deal with producing two versions of the C code and
be glad that byte order isn't also an issue. :-)
Thanks for the explanation.
-- Aaron M. Ucko, KB1CJC <amu@mit.edu> (finger amu@monk.mit.edu) _______________________________________________ Cecil mailing list Cecil@cs.washington.edu http://majordomo.cs.washington.edu/mailman/listinfo/cecil
This archive was generated by hypermail 2b25 : Sat Oct 20 2001 - 11:56:06 PDT