public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2833] i386: Fix typos in amxbf16 runtime test.
@ 2021-08-10 8:22 Hongyu Wang
0 siblings, 0 replies; only message in thread
From: Hongyu Wang @ 2021-08-10 8:22 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:c318f8e42b3f90bed5a0648e42c0182a497566b7
commit r12-2833-gc318f8e42b3f90bed5a0648e42c0182a497566b7
Author: Hongyu Wang <hongyu.wang@intel.com>
Date: Tue Aug 10 15:13:25 2021 +0800
i386: Fix typos in amxbf16 runtime test.
gcc/testsuite/ChangeLog:
* gcc.target/i386/amxbf16-dpbf16ps-2.c: Fix typos.
Diff:
---
gcc/testsuite/gcc.target/i386/amxbf16-dpbf16ps-2.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gcc/testsuite/gcc.target/i386/amxbf16-dpbf16ps-2.c b/gcc/testsuite/gcc.target/i386/amxbf16-dpbf16ps-2.c
index 349ec58ada2..f7002ca5ea5 100644
--- a/gcc/testsuite/gcc.target/i386/amxbf16-dpbf16ps-2.c
+++ b/gcc/testsuite/gcc.target/i386/amxbf16-dpbf16ps-2.c
@@ -57,7 +57,7 @@ void calc_matrix_dpbf16ps (__tile *dst, __tile *src1, __tile *src2)
(make_f32(src1_buf[i * 4 * N + 4 * j + t]) *
make_f32(src2_buf[j * 4 * K + 4 * k + t])) +
(make_f32(src1_buf[i * 4 * N + 4 * j + t + 1]) *
- make_f32(src1_buf[i * 4 * N + 4 * j + t + 1]));
+ make_f32(src2_buf[j * 4 * K + 4 * k + t + 1]));
}
}
@@ -72,8 +72,8 @@ void test_amx_bf16_dpbf16ps ()
init_tile_config (&cfg);
init_tile_reg_and_src_with_buffer (1, dst, tmp_dst_buf);
- init_tile_reg_and_src_with_buffer (2, dst, tmp_dst_buf);
- init_tile_reg_and_src_with_buffer (3, dst, tmp_dst_buf);
+ init_tile_reg_and_src_with_buffer (2, src1, tmp_dst_buf);
+ init_tile_reg_and_src_with_buffer (3, src2, tmp_dst_buf);
calc_matrix_dpbf16ps (&dst, &src1, &src2);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-10 8:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-10 8:22 [gcc r12-2833] i386: Fix typos in amxbf16 runtime test Hongyu Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).