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