xref: /linux/tools/testing/selftests/x86/avx.c (revision f694f30e81c4ade358eb8c75273bac1a48f0cb8f)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #define _GNU_SOURCE /* Required for inline xstate helpers */
4 #include "xstate.h"
5 
6 int main(void)
7 {
8 	test_xstate(XFEATURE_YMM);
9 	test_xstate(XFEATURE_OPMASK);
10 	test_xstate(XFEATURE_ZMM_Hi256);
11 	test_xstate(XFEATURE_Hi16_ZMM);
12 }
13