File tree Expand file tree Collapse file tree 21 files changed +33
-67
lines changed Expand file tree Collapse file tree 21 files changed +33
-67
lines changed Original file line number Diff line number Diff line change @@ -925,7 +925,6 @@ set(files
925
925
exception
926
926
execution
927
927
expected
928
- experimental/__config
929
928
experimental/__simd/aligned_tag.h
930
929
experimental/__simd/declaration.h
931
930
experimental/__simd/reference.h
Original file line number Diff line number Diff line change @@ -591,6 +591,15 @@ typedef __char32_t char32_t;
591
591
inline namespace _LIBCPP_ABI_NAMESPACE {
592
592
# define _LIBCPP_END_NAMESPACE_STD }} _LIBCPP_POP_EXTENSION_DIAGNOSTICS
593
593
594
+ #define _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL namespace std { namespace experimental {
595
+ #define _LIBCPP_END_NAMESPACE_EXPERIMENTAL }}
596
+
597
+ #define _LIBCPP_BEGIN_NAMESPACE_LFTS _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL inline namespace fundamentals_v1 {
598
+ #define _LIBCPP_END_NAMESPACE_LFTS } _LIBCPP_END_NAMESPACE_EXPERIMENTAL
599
+
600
+ #define _LIBCPP_BEGIN_NAMESPACE_LFTS_V2 _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL inline namespace fundamentals_v2 {
601
+ #define _LIBCPP_END_NAMESPACE_LFTS_V2 } _LIBCPP_END_NAMESPACE_EXPERIMENTAL
602
+
594
603
#ifdef _LIBCPP_ABI_NO_FILESYSTEM_INLINE_NAMESPACE
595
604
# define _LIBCPP_BEGIN_NAMESPACE_FILESYSTEM _LIBCPP_BEGIN_NAMESPACE_STD namespace filesystem {
596
605
# define _LIBCPP_END_NAMESPACE_FILESYSTEM } _LIBCPP_END_NAMESPACE_STD
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 10
10
#ifndef _LIBCPP_EXPERIMENTAL___SIMD_ALIGNED_TAG_H
11
11
#define _LIBCPP_EXPERIMENTAL___SIMD_ALIGNED_TAG_H
12
12
13
+ #include < __config>
13
14
#include < __memory/assume_aligned.h>
14
15
#include < __type_traits/remove_const.h>
15
16
#include < cstddef>
16
- #include < experimental/__config>
17
17
#include < experimental/__simd/traits.h>
18
18
19
19
#if _LIBCPP_STD_VER >= 17 && defined(_LIBCPP_ENABLE_EXPERIMENTAL)
Original file line number Diff line number Diff line change 10
10
#ifndef _LIBCPP_EXPERIMENTAL___SIMD_DECLARATION_H
11
11
#define _LIBCPP_EXPERIMENTAL___SIMD_DECLARATION_H
12
12
13
+ #include < __config>
13
14
#include < cstddef>
14
- #include < experimental/__config>
15
15
16
16
#if _LIBCPP_STD_VER >= 17 && defined(_LIBCPP_ENABLE_EXPERIMENTAL)
17
17
18
+ // TODO: support more targets
19
+ # if defined(__AVX__)
20
+ # define _LIBCPP_NATIVE_SIMD_WIDTH_IN_BYTES 32
21
+ # else
22
+ # define _LIBCPP_NATIVE_SIMD_WIDTH_IN_BYTES 16
23
+ # endif
24
+
18
25
_LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL
19
26
inline namespace parallelism_v2 {
20
27
namespace simd_abi {
Original file line number Diff line number Diff line change 10
10
#ifndef _LIBCPP_EXPERIMENTAL___SIMD_REFERENCE_H
11
11
#define _LIBCPP_EXPERIMENTAL___SIMD_REFERENCE_H
12
12
13
+ #include < __config>
13
14
#include < __type_traits/enable_if.h>
14
15
#include < __type_traits/is_assignable.h>
15
16
#include < __type_traits/is_same.h>
16
17
#include < __utility/declval.h>
17
18
#include < __utility/forward.h>
18
19
#include < __utility/move.h>
19
20
#include < cstddef>
20
- #include < experimental/__config>
21
21
#include < experimental/__simd/utility.h>
22
22
23
23
_LIBCPP_PUSH_MACROS
Original file line number Diff line number Diff line change 11
11
#define _LIBCPP_EXPERIMENTAL___SIMD_SCALAR_H
12
12
13
13
#include < __assert>
14
+ #include < __config>
14
15
#include < __type_traits/integral_constant.h>
15
16
#include < cstddef>
16
- #include < experimental/__config>
17
17
#include < experimental/__simd/declaration.h>
18
18
#include < experimental/__simd/traits.h>
19
19
Original file line number Diff line number Diff line change 10
10
#ifndef _LIBCPP_EXPERIMENTAL___SIMD_SIMD_H
11
11
#define _LIBCPP_EXPERIMENTAL___SIMD_SIMD_H
12
12
13
+ #include < __config>
13
14
#include < __type_traits/enable_if.h>
14
15
#include < __type_traits/is_same.h>
15
16
#include < __type_traits/remove_cvref.h>
16
17
#include < __utility/forward.h>
17
18
#include < cstddef>
18
- #include < experimental/__config>
19
19
#include < experimental/__simd/declaration.h>
20
20
#include < experimental/__simd/reference.h>
21
21
#include < experimental/__simd/traits.h>
Original file line number Diff line number Diff line change 10
10
#ifndef _LIBCPP_EXPERIMENTAL___SIMD_SIMD_MASK_H
11
11
#define _LIBCPP_EXPERIMENTAL___SIMD_SIMD_MASK_H
12
12
13
+ #include < __config>
13
14
#include < __type_traits/enable_if.h>
14
15
#include < __type_traits/is_same.h>
15
16
#include < cstddef>
16
- #include < experimental/__config>
17
17
#include < experimental/__simd/declaration.h>
18
18
#include < experimental/__simd/reference.h>
19
19
#include < experimental/__simd/traits.h>
Original file line number Diff line number Diff line change 11
11
#define _LIBCPP_EXPERIMENTAL___SIMD_TRAITS_H
12
12
13
13
#include < __bit/bit_ceil.h>
14
+ #include < __config>
14
15
#include < __type_traits/integral_constant.h>
15
16
#include < __type_traits/is_same.h>
16
17
#include < cstddef>
17
- #include < experimental/__config>
18
18
#include < experimental/__simd/declaration.h>
19
19
#include < experimental/__simd/utility.h>
20
20
Original file line number Diff line number Diff line change 10
10
#ifndef _LIBCPP_EXPERIMENTAL___SIMD_UTILITY_H
11
11
#define _LIBCPP_EXPERIMENTAL___SIMD_UTILITY_H
12
12
13
+ #include < __config>
13
14
#include < __type_traits/is_arithmetic.h>
14
15
#include < __type_traits/is_const.h>
15
16
#include < __type_traits/is_constant_evaluated.h>
22
23
#include < __utility/integer_sequence.h>
23
24
#include < cstddef>
24
25
#include < cstdint>
25
- #include < experimental/__config>
26
26
#include < limits>
27
27
28
28
_LIBCPP_PUSH_MACROS
Original file line number Diff line number Diff line change 12
12
13
13
#include < __assert>
14
14
#include < __bit/bit_ceil.h>
15
+ #include < __config>
15
16
#include < __type_traits/integral_constant.h>
16
17
#include < __utility/forward.h>
17
18
#include < __utility/integer_sequence.h>
18
19
#include < cstddef>
19
- #include < experimental/__config>
20
20
#include < experimental/__simd/declaration.h>
21
21
#include < experimental/__simd/traits.h>
22
22
#include < experimental/__simd/utility.h>
Original file line number Diff line number Diff line change @@ -52,11 +52,11 @@ namespace std {
52
52
53
53
*/
54
54
55
+ #include < __config>
55
56
#include < __memory/addressof.h>
56
57
#include < __type_traits/decay.h>
57
58
#include < __utility/forward.h>
58
59
#include < __utility/move.h>
59
- #include < experimental/__config>
60
60
#include < iterator>
61
61
62
62
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ public:
49
49
}
50
50
*/
51
51
52
+ #include < __config>
52
53
#include < __functional/hash.h>
53
54
#include < __functional/operations.h>
54
55
#include < __type_traits/add_lvalue_reference.h>
@@ -57,7 +58,6 @@ public:
57
58
#include < __type_traits/enable_if.h>
58
59
#include < __type_traits/is_convertible.h>
59
60
#include < cstddef>
60
- #include < experimental/__config>
61
61
62
62
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
63
63
# pragma GCC system_header
Original file line number Diff line number Diff line change 107
107
108
108
*/
109
109
110
+ #include < __config>
110
111
#include < __functional/operations.h>
111
112
#include < __fwd/functional.h>
112
113
#include < __type_traits/conditional.h>
128
129
#include < __utility/move.h>
129
130
#include < __utility/swap.h>
130
131
#include < cstddef>
131
- #include < experimental/__config>
132
132
133
133
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
134
134
# pragma GCC system_header
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ inline namespace parallelism_v2 {
75
75
# pragma GCC system_header
76
76
#endif
77
77
78
- #include < experimental/ __config>
78
+ #include < __config>
79
79
#include < experimental/__simd/aligned_tag.h>
80
80
#include < experimental/__simd/declaration.h>
81
81
#include < experimental/__simd/reference.h>
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ inline namespace fundamentals_v1 {
68
68
69
69
*/
70
70
71
- #include < experimental/ __config>
71
+ #include < __config>
72
72
73
73
#if _LIBCPP_STD_VER >= 14
74
74
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ inline namespace fundamentals_v1 {
30
30
31
31
*/
32
32
33
- #include < experimental/ __config>
33
+ #include < __config>
34
34
#include < utility>
35
35
36
36
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Original file line number Diff line number Diff line change @@ -610,10 +610,6 @@ module std_experimental [system] {
610
610
header "experimental/utility"
611
611
export *
612
612
}
613
- module __config {
614
- textual header "experimental/__config"
615
- export *
616
- }
617
613
}
618
614
619
615
// Convenience method to get all of the above modules in a single import statement.
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ namespace std {
12
12
const char * bad_any_cast::what () const noexcept { return " bad any cast" ; }
13
13
} // namespace std
14
14
15
- #include < experimental/ __config>
15
+ #include < __config>
16
16
17
17
// Preserve std::experimental::any_bad_cast for ABI compatibility
18
18
// Even though it no longer exists in a header file
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const char* bad_optional_access::what() const noexcept { return "bad_optional_ac
17
17
18
18
} // namespace std
19
19
20
- #include < experimental/ __config>
20
+ #include < __config>
21
21
22
22
// Preserve std::experimental::bad_optional_access for ABI compatibility
23
23
// Even though it no longer exists in a header file
You can’t perform that action at this time.
0 commit comments