Vector Registers
Doug Evans
dje@transmeta.com
Fri Aug 18 10:39:00 GMT 2000
Howdy.
Ranjith Kumaran writes:
> Are there any examples out there of a good way of modelling vector
> registers?
Modelling N-dimensional registers (N>1) complicates things a fair bit.
I tried to stay with the GCC model on this one.
[We do have a better language than C though, but we also have to
consider the application that will ultimately be using the data.
Maybe some day if it doesn't excessively complicate the common case.]
Passing around a single number to designate the register is nice and
simple. Have you tried (figuratively) flattening the vector out?
More information about the Cgen
mailing list