generic vectors: how should they work?
Richard Henderson
rth@redhat.com
Wed Sep 1 19:52:00 GMT 2004
On Wed, Sep 01, 2004 at 05:18:04PM +0200, Paolo Bonzini wrote:
> My answer is "by reference. When, and if, they will be supported by
> hardware, there will be an appropriate -mabi= switch that may change
> this rule."
I would argue that a generic vector should be passed as if it's
a struct containing N elements of the appropriate type. Which
is *not* pass-by-reference on many targets.
r~
More information about the Gcc
mailing list