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