forked from boostorg/predef
39 lines
942 B
C
39 lines
942 B
C
/*
|
|
Copyright Charly Chevalier 2015
|
|
Copyright Joel Falcou 2015
|
|
Distributed under the Boost Software License, Version 1.0.
|
|
(See accompanying file LICENSE_1_0.txt or copy at
|
|
http://www.boost.org/LICENSE_1_0.txt)
|
|
*/
|
|
|
|
#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_SSE4A_H
|
|
#define BOOST_PREDEF_HARDWARE_SIMD_X86_SSE4A_H
|
|
|
|
#include <boost/predef/version_number.h>
|
|
|
|
/*`
|
|
[heading `BOOST_HW_SIMD_X86_SSE4A`]
|
|
|
|
[@https://en.wikipedia.org/wiki/SSE4##SSE4A SSE4A] x86 extension (AMD specific).
|
|
Version number is: 4.0.0.
|
|
|
|
[table
|
|
[[__predef_symbol__] [__predef_version__]]
|
|
|
|
[[`__SSE4A__`] [__predef_detection__]]
|
|
]
|
|
*/
|
|
|
|
#define BOOST_HW_SIMD_X86_SSE4A BOOST_VERSION_NUMBER(4, 0, 0)
|
|
|
|
#if defined(__SSE4A__)
|
|
# define BOOST_HW_SIMD_X86_SSE4A_AVAILABLE
|
|
#endif
|
|
|
|
#define BOOST_HW_SIMD_X86_SSE4A_NAME "x86 (AMD) SIMD SSE4a"
|
|
|
|
#endif
|
|
|
|
#include <boost/predef/detail/test.h>
|
|
BOOST_PREDEF_DECLARE_TEST(BOOST_HW_SIMD_X86_SSE4A, BOOST_HW_SIMD_X86_SSE4A_NAME)
|