diff options
author | Hongyu Wang <hongyu.wang@intel.com> | 2021-08-10 15:13:25 +0800 |
---|---|---|
committer | Hongyu Wang <hongyu.wang@intel.com> | 2021-08-10 16:20:20 +0800 |
commit | c318f8e42b3f90bed5a0648e42c0182a497566b7 (patch) | |
tree | fdf1509c1812d5479960fd8bd336ae5a82688dec /gcc | |
parent | 19d1a529fa9f78e7ec7be38d423c90e00cec8f8c (diff) | |
download | gcc-c318f8e42b3f90bed5a0648e42c0182a497566b7.zip gcc-c318f8e42b3f90bed5a0648e42c0182a497566b7.tar.gz gcc-c318f8e42b3f90bed5a0648e42c0182a497566b7.tar.bz2 |
i386: Fix typos in amxbf16 runtime test.
gcc/testsuite/ChangeLog:
* gcc.target/i386/amxbf16-dpbf16ps-2.c: Fix typos.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/amxbf16-dpbf16ps-2.c | 6 |
1 files 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 349ec58..f7002ca 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); |