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