xref: /linux/tools/testing/selftests/x86/avx.c (revision 264200cc3a87d5c53bfa817227624fa2bae6b2c3)
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