brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.2 KiB · 027522e Raw
46 lines · plain
1// -*- C++ -*-2//===----------------------------------------------------------------------===//3//4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.5// See https://llvm.org/LICENSE.txt for license information.6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception7//8//===----------------------------------------------------------------------===//9 10#ifndef _LIBCPP___CXX03_EXPERIMENTAL_CONFIG11#define _LIBCPP___CXX03_EXPERIMENTAL_CONFIG12 13#include <__cxx03/__config>14 15#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)16#  pragma GCC system_header17#endif18 19#define _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL                                                                           \20  namespace std {                                                                                                      \21  namespace experimental {22#define _LIBCPP_END_NAMESPACE_EXPERIMENTAL                                                                             \23  }                                                                                                                    \24  }25 26#define _LIBCPP_BEGIN_NAMESPACE_LFTS _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL inline namespace fundamentals_v1 {27#define _LIBCPP_END_NAMESPACE_LFTS                                                                                     \28  }                                                                                                                    \29  }                                                                                                                    \30  }31 32#define _LIBCPP_BEGIN_NAMESPACE_LFTS_V2 _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL inline namespace fundamentals_v2 {33#define _LIBCPP_END_NAMESPACE_LFTS_V2                                                                                  \34  }                                                                                                                    \35  }                                                                                                                    \36  }37 38// TODO: support more targets39#if defined(__AVX__)40#  define _LIBCPP_NATIVE_SIMD_WIDTH_IN_BYTES 3241#else42#  define _LIBCPP_NATIVE_SIMD_WIDTH_IN_BYTES 1643#endif44 45#endif46