Page MenuHomePhabricator

[AArch64][SVE] Scalable arguments and returns passed in Z regs

Authored by huntergr on Jun 5 2018, 5:24 AM.



This adds the initial part of the calling convention for SVE,
mainly to make writing unit tests easier.

Data arguments are passed in registers Z0-Z7.
Predicate arguments are passed in registers P0-P3.

Return values use the same set.

This does not yet implement callee preserved registers, as the
number may change before the PCS is fully standardized.

More details on the (proposed) SVE procedure call standard can be found here:

Adds the defined legal integer and predicate types to

Part of the initial SVE codegen series, rfc will be posted soon.

Diff Detail