Expose rdrand and f16c through cpuid also if the host only has avx.
[valgrind.git] / include / pub_tool_vkiscnums_asm.h
blob484dded829ba5c6085ef6c59b3155d7dde2ed04b
2 /*--------------------------------------------------------------------*/
3 /*--- asm-only vkiscnums stuff. pub_tool_vkiscnums_asm.h ---*/
4 /*--------------------------------------------------------------------*/
6 /*
7 This file is part of Valgrind, a dynamic binary instrumentation
8 framework.
10 Copyright (C) 2005-2017 Nicholas Nethercote
11 njn@valgrind.org
12 Copyright (C) 2006-2017 OpenWorks LLP
13 info@open-works.co.uk
15 This program is free software; you can redistribute it and/or
16 modify it under the terms of the GNU General Public License as
17 published by the Free Software Foundation; either version 2 of the
18 License, or (at your option) any later version.
20 This program is distributed in the hope that it will be useful, but
21 WITHOUT ANY WARRANTY; without even the implied warranty of
22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 General Public License for more details.
25 You should have received a copy of the GNU General Public License
26 along with this program; if not, see <http://www.gnu.org/licenses/>.
28 The GNU General Public License is contained in the file COPYING.
31 #ifndef __PUB_TOOL_VKISCNUMS_ASM_H
32 #define __PUB_TOOL_VKISCNUMS_ASM_H
34 #if defined(VGP_x86_linux)
35 # include "vki/vki-scnums-x86-linux.h"
37 #elif defined(VGP_amd64_linux)
38 # include "vki/vki-scnums-amd64-linux.h"
40 #elif defined(VGP_ppc32_linux)
41 # include "vki/vki-scnums-ppc32-linux.h"
43 #elif defined(VGP_ppc64be_linux) || defined(VGP_ppc64le_linux)
44 # include "vki/vki-scnums-ppc64-linux.h"
46 #elif defined(VGP_s390x_linux)
47 # include "vki/vki-scnums-s390x-linux.h"
49 #elif defined(VGP_arm_linux)
50 # include "vki/vki-scnums-arm-linux.h"
52 #elif defined(VGP_arm64_linux)
53 # include "vki/vki-scnums-arm64-linux.h"
55 #elif defined(VGP_mips32_linux)
56 # include "vki/vki-scnums-mips32-linux.h"
58 #elif defined(VGP_mips64_linux)
59 # include "vki/vki-scnums-mips64-linux.h"
61 #elif defined(VGP_x86_darwin) || defined(VGP_amd64_darwin)
62 # include "vki/vki-scnums-darwin.h"
64 #elif defined(VGP_x86_solaris) || (VGP_amd64_solaris)
65 # include "vki/vki-scnums-solaris.h"
67 #else
68 # error Unknown platform
69 #endif
71 #endif // __PUB_TOOL_VKISCNUMS_ASM_H
73 /*--------------------------------------------------------------------*/
74 /*--- end ---*/
75 /*--------------------------------------------------------------------*/