HomePhabricator

[AArch64][SVE] Asm: Support for FMUL (indexed)

Description

[AArch64][SVE] Asm: Support for FMUL (indexed)

Unpredicated FP-multiply of SVE vector with a vector-element given by
vector[index], for example:

fmul z0.s, z1.s, z2.s[0]

which performs an unpredicated FP-multiply of all 32-bit elements in
'z1' with the first element from 'z2'.

This patch adds restricted register classes for SVE vectors:

ZPR_3b (only z0..z7 are allowed)  - for indexed vector of 16/32-bit elements.
ZPR_4b (only z0..z15 are allowed) - for indexed vector of 64-bit elements.

Reviewers: rengolin, fhahn, SjoerdMeijer, samparker, javed.absar

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D48823

Details

Committed
s.desmalenJul 3 2018, 8:31 AM
Reviewer
fhahn
Differential Revision
D48823: [AArch64][SVE] Asm: Support for FMUL (indexed)
Parents
rL336204: [AArch64][SVE] Asm: Support for predicated unary operations.
Branches
Unknown
Tags
Unknown