summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/x86/avx.c
blob: 11d5367c235fcdbd7d124f4ae4e21bd14bf93a7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-License-Identifier: GPL-2.0

#define _GNU_SOURCE /* Required for inline xstate helpers */
#include "xstate.h"

int main(void)
{
	test_xstate(XFEATURE_YMM);
	test_xstate(XFEATURE_OPMASK);
	test_xstate(XFEATURE_ZMM_Hi256);
	test_xstate(XFEATURE_Hi16_ZMM);
}