Skip to content

[AArch64][SVE] Use SVE for scalar FP converts in streaming[-compatible] functions (1/n)#118505

Merged
MacDue merged 4 commits into
llvm:mainfrom
MacDue:sve_fp_converts_p1
Dec 19, 2024
Merged

[AArch64][SVE] Use SVE for scalar FP converts in streaming[-compatible] functions (1/n)#118505
MacDue merged 4 commits into
llvm:mainfrom
MacDue:sve_fp_converts_p1

Conversation

@MacDue

@MacDue MacDue commented Dec 3, 2024

Copy link
Copy Markdown
Member

In streaming[-compatible] functions, use SVE for scalar FP conversions to/from integer types. This can help avoid moves between FPRs and GRPs, which could be costly.

This patch also updates definitions of SCVTF_ZPmZ_StoD and UCVTF_ZPmZ_StoD to disallow lowering to them from ISD nodes, as doing so requires creating a [U|S]INT_TO_FP_MERGE_PASSTHRU node with inconsistent types.

Follow up to #112213.

Note: This PR does not include support for f64 <-> i32 conversions (like #112564), which needs a bit more work to support.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants