Skip to content
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

[AIE] Fixes https://github.com/Xilinx/llvm-aie/issues/174 #320

Merged
merged 1 commit into from
Jan 31, 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: 3 additions & 3 deletions clang/lib/Headers/aiev2_vmult.h
Original file line number Diff line number Diff line change
Expand Up @@ -23412,9 +23412,9 @@ msc_4x16_16x4_conf(v64bfloat16 a, v64bfloat16_sparse b, v16accfloat acc1,
a, b.data, b.mask, acc1, conf);
}
INTRINSIC(v16accfloat)
addmac_²4_conf(v64bfloat16 a, v64bfloat16_sparse b, v16accfloat acc1,
v16accfloat acc2, int zero_acc1, int sub_mul, int sub_acc1,
int sub_acc2) {
Copy link
Collaborator

@abnikant abnikant Jan 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the generator/generated code this is correct, not sure how/where it got changed.

addmac_4x16_16x4_conf(v64bfloat16 a, v64bfloat16_sparse b, v16accfloat acc1,
v16accfloat acc2, int zero_acc1, int sub_mul,
int sub_acc1, int sub_acc2) {
int conf = aiev2_compute_control(0, 0, 2, 3, 2, zero_acc1, 0, sub_mul,
sub_acc1, sub_acc2, 0);
return __builtin_aiev2_I1024_I1024_ACC1024_ACC1024_accfloat_bf_addmac_conf(
Expand Down