[Mono-dev] How to return valuetype in registers?

Braddock Gaskill (Contractor) braddock.gaskill at apx-labs.com
Mon Oct 8 23:42:40 UTC 2012

Hi all.  I'm still working on the Tilera CPU port.

The TILE-Gx ABI specifies that structures smaller than 80 bytes should be passed in the first 10 registers.  Larger structs get returned in a caller-allocated space.

I can't figure out how to specify to the mono runtime that I want to pass a valuetype entirely in the registers.  The special case of a register pair is handled, but 10 registers?

Is there any way to do this?

Braddock Gaskill

More information about the Mono-devel-list mailing list