Skip to content

[AArch64] Add FPCR register usages to mop4 instructions #135641

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions llvm/lib/Target/AArch64/SMEInstrFormats.td
Original file line number Diff line number Diff line change
Expand Up @@ -5595,6 +5595,7 @@ class sme2_bf16_fp32_quarter_tile_outer_product<bit M, bit N, bit S, string mnem
let Inst{1-0} = ZAda;

let Constraints = "$ZAda = $_ZAda";
let Uses = [FPCR];
}

multiclass sme2_bfmop4as_widening<bit S, string mnemonic, string op> {
Expand Down Expand Up @@ -5758,6 +5759,7 @@ class sme2_fp16_quarter_tile_outer_product<bit M, bit N, bit S, string mnemonic,
let Inst{0} = ZAda;

let Constraints = "$ZAda = $_ZAda";
let Uses = [FPCR];
}

multiclass sme2_fmop4as_fp16_non_widening<bit S, string mnemonic, string op> {
Expand Down Expand Up @@ -5846,6 +5848,7 @@ class sme2_bf16_fp16_quarter_tile_outer_product<bit M, bit N, bit S, string mnem
let Inst{0} = ZAda;

let Constraints = "$ZAda = $_ZAda";
let Uses = [FPCR];
}

multiclass sme2_bfmop4as_non_widening<bit S, string mnemonic, string op> {
Expand Down Expand Up @@ -5899,6 +5902,7 @@ class sme2_fp32_quarter_tile_outer_product<bit M, bit N, bit S, string mnemonic,
let Inst{1-0} = ZAda;

let Constraints = "$ZAda = $_ZAda";
let Uses = [FPCR];
}

multiclass sme2_fmop4as_fp32_non_widening<bit S, string mnemonic, string op> {
Expand Down Expand Up @@ -5952,6 +5956,7 @@ class sme2_fp64_quarter_tile_outer_product<bit M, bit N, bit S, string mnemonic,
let Inst{2-0} = ZAda;

let Constraints = "$ZAda = $_ZAda";
let Uses = [FPCR];
}

multiclass sme2_fmop4as_fp64_non_widening<bit S, string mnemonic, string op> {
Expand Down Expand Up @@ -6005,6 +6010,7 @@ class sme2_fp16_fp32_quarter_tile_outer_product<bit M, bit N, bit S, string mnem
let Inst{1-0} = ZAda;

let Constraints = "$ZAda = $_ZAda";
let Uses = [FPCR];
}

multiclass sme2_fmop4as_fp16_fp32_widening<bit S, string mnemonic, string op> {
Expand Down
Loading