]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386: Enhance AMX tests
authorHaochen Jiang <haochen.jiang@intel.com>
Thu, 23 Jan 2025 01:51:54 +0000 (09:51 +0800)
committerHaochen Jiang <haochen.jiang@intel.com>
Thu, 23 Jan 2025 01:51:54 +0000 (09:51 +0800)
commita19aca8afbf141bb550e9040135cc46387ce7f73
treeb019a7c19ded5ef9bcbd3e21f1e924f1a4cd416b
parent447a01c1712c362c6b1a955ad8433a9a85af43e0
i386: Enhance AMX tests

After Binutils got changed, the previous usage on intrin will raise
warning for assembler. We need to change that. Besides that, there
are separate issues for both AMX-MOVRS and AMX-TRANSPOSE.

For AMX-MOVRS, t2rpntlvwrs tests wrongly used AMX-TRANSPOSE intrins
in test. Since the only difference between them is the "rs" hint,
it won't change result.

For AMX-TRANSPOSE, "t1" hint test is missing.

This patch fixed both of them. Also changing AMX-MOVRS test file
name to make it match with other AMX tests.

gcc/testsuite/ChangeLog:

PR target/118270
PR target/118609
* gcc.target/i386/amxmovrs-t2rpntlvw-2.c: Move to...
* gcc.target/i386/amxmovrs-2rpntlvwrs-2.c: ...here.
* gcc.target/i386/amxtranspose-2rpntlvw-2.c: Add "t1" hint test.
gcc/testsuite/gcc.target/i386/amxmovrs-2rpntlvwrs-2.c [moved from gcc/testsuite/gcc.target/i386/amxmovrs-t2rpntlvw-2.c with 62% similarity]
gcc/testsuite/gcc.target/i386/amxtranspose-2rpntlvw-2.c