]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386: Refactor m512-check.h
authorHaochen Jiang <haochen.jiang@intel.com>
Mon, 26 Aug 2024 02:53:35 +0000 (10:53 +0800)
committerHaochen Jiang <haochen.jiang@intel.com>
Mon, 26 Aug 2024 03:10:47 +0000 (11:10 +0800)
commitcba4566879192abdc54bdf76b010e22d67484129
tree9901afea5ad32a9d3c9c16af5bad7ca125475e04
parent17be00916e51835dcc47e30ed32fc892ee0c581d
i386: Refactor m512-check.h

After AVX10 introduction, we still want to use AVX512 helper functions
to avoid duplicate code. In order to reuse them, we need to do some refactor
to make sure each function define happen under correct ISA to avoid ABI
warnings.

gcc/testsuite/ChangeLog:

* gcc.target/i386/m512-check.h: Wrap the function define with
correct vector size.
gcc/testsuite/gcc.target/i386/m512-check.h