public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andrew Pinski <pinskia@gmail.com>
To: Jonathan Wakely <jwakely@redhat.com>
Cc: Ken Matsui <kmatsui@gcc.gnu.org>,
	gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org
Subject: Re: [PATCH v26 03/13] libstdc++: Optimize std::is_pointer compilation performance
Date: Fri, 14 Jun 2024 13:47:47 -0700	[thread overview]
Message-ID: <CA+=Sn1k26OvSD=Nx3K7ByZ52YRidKHOWnbEBfcs1s_zCH95fkQ@mail.gmail.com> (raw)
In-Reply-To: <ZmrmrazM3nq9aOBO@zen.kayari.org>

On Thu, Jun 13, 2024 at 5:32 AM Jonathan Wakely <jwakely@redhat.com> wrote:
>
> On 11/05/24 02:01 -0700, Ken Matsui wrote:
> >This patch optimizes the compilation performance of std::is_pointer
> >by dispatching to the new __is_pointer built-in trait.
> >
> >libstdc++-v3/ChangeLog:
> >
> >       * include/bits/cpp_type_traits.h (__is_pointer): Use
> >       __is_pointer built-in trait.  Optimize its implementation.
> >       * include/std/type_traits (is_pointer): Likewise.
> >       (is_pointer_v): Likewise.
> >
> >Co-authored-by: Jonathan Wakely <jwakely@redhat.com>
> >Signed-off-by: Ken Matsui <kmatsui@gcc.gnu.org>
> >---
> > libstdc++-v3/include/bits/cpp_type_traits.h | 31 ++++++++++++++-
> > libstdc++-v3/include/std/type_traits        | 44 +++++++++++++++++----
> > 2 files changed, 66 insertions(+), 9 deletions(-)
> >
> >diff --git a/libstdc++-v3/include/bits/cpp_type_traits.h b/libstdc++-v3/include/bits/cpp_type_traits.h
> >index 59f1a1875eb..210a9ea00da 100644
> >--- a/libstdc++-v3/include/bits/cpp_type_traits.h
> >+++ b/libstdc++-v3/include/bits/cpp_type_traits.h
> >@@ -363,6 +363,13 @@ __INT_N(__GLIBCXX_TYPE_INT_N_3)
> >   //
> >   // Pointer types
> >   //
> >+#if _GLIBCXX_USE_BUILTIN_TRAIT(__is_pointer)
> >+  template<typename _Tp, bool _IsPtr = __is_pointer(_Tp)>
> >+    struct __is_pointer : __truth_type<_IsPtr>
>
> I was worried that reusing __is_pointer this way would cause a problem
> with Clang, because it has an __is_pointer built-in and the code above
> causes a warning:
>
> isp.cc:2:12: warning: keyword '__is_pointer' will be made available as an identifier for the remainder of the translation unit [-Wkeyword-compat]
>      2 |     struct __is_pointer
>        |            ^
>
> I thought this warning meant it was only available as an identifier.
> But in fact it becomes available as both an identifier and as the
> built-in.
>
> This is what I tested:
>
> template<typename T, bool IsPtr = __is_pointer(T)>
> struct __is_pointer
> {
>    enum { value = IsPtr };
> };
> static_assert( __is_pointer<int*>::value, "" );
>
> template<typename T>
> struct is_pointer
> {
>    static constexpr bool value = __is_pointer(T);
> };
> static_assert( is_pointer<int*>::value, "" );
>
> So the is_pointer template can still use the built-in even though the
> name '__is_pointer' has been declared as an identifier.
>
> So Clang matches GCC and it works fine. Good!

Actually clang does not work the same as GCC in the end; it is much
more inconsistent in what it allows.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115497 (and
https://github.com/llvm/llvm-project/issues/95598). Where sometimes
the usage works as a trait after the use of it as an identifier and
sometimes it fails.

Thanks,
Andrew Pinski

>
> >+    {
> >+      enum { __value = _IsPtr };
> >+    };
> >+#else
> >   template<typename _Tp>
> >     struct __is_pointer
> >     {
> >@@ -377,6 +384,28 @@ __INT_N(__GLIBCXX_TYPE_INT_N_3)
> >       typedef __true_type __type;
> >     };
> >
> >+  template<typename _Tp>
> >+    struct __is_pointer<_Tp* const>
>
> None of the other traits in bits/cpp_type_traits.h is true for
> cv-qualified types, so these partial specializations make __is_pointer
> the odd one out. Are they necessary?
>
> >+    {
> >+      enum { __value = 1 };
> >+      typedef __true_type __type;
> >+    };
> >+
> >+  template<typename _Tp>
> >+    struct __is_pointer<_Tp* volatile>
> >+    {
> >+      enum { __value = 1 };
> >+      typedef __true_type __type;
> >+    };
> >+
> >+  template<typename _Tp>
> >+    struct __is_pointer<_Tp* const volatile>
> >+    {
> >+      enum { __value = 1 };
> >+      typedef __true_type __type;
> >+    };
> >+#endif
> >+
> >   //
> >   // An arithmetic type is an integer type or a floating point type
> >   //
> >@@ -387,7 +416,7 @@ __INT_N(__GLIBCXX_TYPE_INT_N_3)
> >
> >   //
> >   // A scalar type is an arithmetic type or a pointer type
> >-  //
> >+  //
> >   template<typename _Tp>
> >     struct __is_scalar
> >     : public __traitor<__is_arithmetic<_Tp>, __is_pointer<_Tp> >
> >diff --git a/libstdc++-v3/include/std/type_traits b/libstdc++-v3/include/std/type_traits
> >index 748fa186881..ea013b4b7bc 100644
> >--- a/libstdc++-v3/include/std/type_traits
> >+++ b/libstdc++-v3/include/std/type_traits
> >@@ -542,19 +542,33 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
> >     : public true_type { };
> > #endif
> >
> >-  template<typename>
> >-    struct __is_pointer_helper
> >+  /// is_pointer
> >+#if _GLIBCXX_USE_BUILTIN_TRAIT(__is_pointer)
> >+  template<typename _Tp>
> >+    struct is_pointer
> >+    : public __bool_constant<__is_pointer(_Tp)>
> >+    { };
> >+#else
> >+  template<typename _Tp>
> >+    struct is_pointer
> >     : public false_type { };
> >
> >   template<typename _Tp>
> >-    struct __is_pointer_helper<_Tp*>
> >+    struct is_pointer<_Tp*>
> >     : public true_type { };
> >
> >-  /// is_pointer
> >   template<typename _Tp>
> >-    struct is_pointer
> >-    : public __is_pointer_helper<__remove_cv_t<_Tp>>::type
> >-    { };
> >+    struct is_pointer<_Tp* const>
> >+    : public true_type { };
> >+
> >+  template<typename _Tp>
> >+    struct is_pointer<_Tp* volatile>
> >+    : public true_type { };
> >+
> >+  template<typename _Tp>
> >+    struct is_pointer<_Tp* const volatile>
> >+    : public true_type { };
> >+#endif
> >
> >   /// is_lvalue_reference
> >   template<typename>
> >@@ -3268,8 +3282,22 @@ template <typename _Tp, size_t _Num>
> >   inline constexpr bool is_array_v<_Tp[_Num]> = true;
> > #endif
> >
> >+#if _GLIBCXX_USE_BUILTIN_TRAIT(__is_pointer)
> >+template <typename _Tp>
> >+  inline constexpr bool is_pointer_v = __is_pointer(_Tp);
> >+#else
> > template <typename _Tp>
> >-  inline constexpr bool is_pointer_v = is_pointer<_Tp>::value;
> >+  inline constexpr bool is_pointer_v = false;
> >+template <typename _Tp>
> >+  inline constexpr bool is_pointer_v<_Tp*> = true;
> >+template <typename _Tp>
> >+  inline constexpr bool is_pointer_v<_Tp* const> = true;
> >+template <typename _Tp>
> >+  inline constexpr bool is_pointer_v<_Tp* volatile> = true;
> >+template <typename _Tp>
> >+  inline constexpr bool is_pointer_v<_Tp* const volatile> = true;
> >+#endif
> >+
> > template <typename _Tp>
> >   inline constexpr bool is_lvalue_reference_v = false;
> > template <typename _Tp>
> >--
> >2.44.0
> >
>

  parent reply	other threads:[~2024-06-14 20:48 UTC|newest]

Thread overview: 290+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-23 22:02 [PATCH v2 0/8] Optimize more type traits Ken Matsui
2023-12-23 22:02 ` [PATCH v2 1/8] c++: Implement __is_const built-in trait Ken Matsui
2023-12-23 22:02 ` [PATCH v2 2/8] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2023-12-23 22:02 ` [PATCH v2 3/8] c++: Implement __is_volatile built-in trait Ken Matsui
2023-12-23 22:02 ` [PATCH v2 4/8] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2023-12-23 22:02 ` [PATCH v2 5/8] c++: Implement __is_pointer built-in trait Ken Matsui
2023-12-23 22:02 ` [PATCH v2 6/8] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-01-04 22:06   ` Patrick Palka
2024-01-04 22:16     ` Patrick Palka
2024-01-06  4:59       ` Ken Matsui
2024-01-04 22:13   ` Jonathan Wakely
2024-01-06  4:59     ` Ken Matsui
2023-12-23 22:02 ` [PATCH v2 7/8] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2023-12-23 22:02 ` [PATCH v2 8/8] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-01-06  5:05 ` [PATCH v3 0/8] Optimize more type traits Ken Matsui
2024-01-06  5:05   ` [PATCH v3 1/8] c++: Implement __is_const built-in trait Ken Matsui
2024-01-06  5:05   ` [PATCH v3 2/8] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-01-06  5:05   ` [PATCH v3 3/8] c++: Implement __is_volatile built-in trait Ken Matsui
2024-01-06  5:05   ` [PATCH v3 4/8] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-01-06  5:05   ` [PATCH v3 5/8] c++: Implement __is_pointer built-in trait Ken Matsui
2024-01-06  5:05   ` [PATCH v3 6/8] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-01-06  5:05   ` [PATCH v3 7/8] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2024-01-06  5:05   ` [PATCH v3 8/8] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-02-15  5:07   ` PING: [PATCH v3 0/8] Optimize more type traits Ken Matsui
2024-02-19 13:51   ` [PATCH v7 01/22] c++: Implement __is_const built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 02/22] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 03/22] c++: Implement __is_volatile built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 04/22] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 05/22] c++: Implement __is_pointer built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 06/22] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 07/22] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 08/22] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 09/22] c++: Implement __add_pointer built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 10/22] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 11/22] c++: Implement __remove_extent built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 12/22] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 13/22] c++: Implement __remove_all_extents built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 14/22] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 15/22] c++: Implement __add_lvalue_reference built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 16/22] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 17/22] c++: Implement __add_rvalue_reference built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 18/22] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 19/22] c++: Implement __decay built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 20/22] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 21/22] c++: Implement __rank built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 22/22] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-02-20  5:20     ` [PATCH v8 23/24] c++: Implement __is_invocable built-in trait Ken Matsui
2024-02-20 15:52       ` [PATCH v9 " Ken Matsui
2024-02-21  6:20         ` [PATCH v11 " Ken Matsui
2024-02-21  8:51           ` [PATCH v12 25/26] c++: Implement __is_nothrow_invocable " Ken Matsui
2024-02-21  8:51           ` [PATCH v12 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-02-21  9:35             ` [PATCH v13 01/26] c++: Implement __is_const built-in trait Ken Matsui
2024-02-21  9:35               ` [PATCH v13 02/26] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-02-21  9:35               ` [PATCH v13 03/26] c++: Implement __is_volatile built-in trait Ken Matsui
2024-02-21  9:35               ` [PATCH v13 04/26] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-02-21  9:35               ` [PATCH v13 05/26] c++: Implement __is_pointer built-in trait Ken Matsui
2024-02-21  9:35               ` [PATCH v13 06/26] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-02-21  9:35               ` [PATCH v13 07/26] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2024-02-21  9:35               ` [PATCH v13 08/26] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-02-21  9:35               ` [PATCH v13 09/26] c++: Implement __add_pointer built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 10/26] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 11/26] c++: Implement __remove_extent built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 12/26] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 13/26] c++: Implement __remove_all_extents built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 14/26] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 15/26] c++: Implement __add_lvalue_reference built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 16/26] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 17/26] c++: Implement __add_rvalue_reference built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 18/26] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 19/26] c++: Implement __decay built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 20/26] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 21/26] c++: Implement __rank built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 22/26] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 23/26] c++: Implement __is_invocable built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 24/26] libstdc++: Optimize std::is_invocable compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 25/26] c++: Implement __is_nothrow_invocable built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-02-28 19:26               ` [PATCH v14 00/26] Optimize more type traits Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 01/26] c++: Implement __is_const built-in trait Ken Matsui
2024-04-30 20:54                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 02/26] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 03/26] c++: Implement __is_volatile built-in trait Ken Matsui
2024-04-30 20:54                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 04/26] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 05/26] c++: Implement __is_pointer built-in trait Ken Matsui
2024-04-30 20:56                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 06/26] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 07/26] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2024-04-30 20:56                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 08/26] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 09/26] c++: Implement __add_pointer built-in trait Ken Matsui
2024-04-30 20:58                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 10/26] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 11/26] c++: Implement __remove_extent built-in trait Ken Matsui
2024-04-30 20:59                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 12/26] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 13/26] c++: Implement __remove_all_extents built-in trait Ken Matsui
2024-04-30 21:00                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 14/26] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 15/26] c++: Implement __add_lvalue_reference built-in trait Ken Matsui
2024-04-30 21:00                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 16/26] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 17/26] c++: Implement __add_rvalue_reference built-in trait Ken Matsui
2024-04-30 21:02                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 18/26] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 19/26] c++: Implement __decay built-in trait Ken Matsui
2024-04-30 21:03                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 20/26] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 21/26] c++: Implement __rank built-in trait Ken Matsui
2024-04-30 21:08                   ` Jason Merrill
2024-05-02 15:00                     ` Ken Matsui
2024-05-02 15:15                     ` Patrick Palka
2024-05-02 15:34                       ` Ken Matsui
2024-05-02 16:20                         ` Ken Matsui
2024-05-02 16:45                           ` Jason Merrill
2024-05-02 16:56                             ` Ken Matsui
2024-05-02 17:12                             ` Trait built-in naming convention Jason Merrill
2024-05-02 17:24                               ` Ken Matsui
2024-05-02 17:37                                 ` Ville Voutilainen
2024-05-02 17:54                                   ` Marek Polacek
2024-05-02 19:30                                     ` Ken Matsui
2024-05-02 19:36                                       ` Iain Sandoe
2024-05-02 19:48                                         ` Jason Merrill
2024-05-02 19:52                                           ` Ken Matsui
2024-05-02 20:09                                             ` Jakub Jelinek
2024-05-02 20:15                                               ` Ken Matsui
2024-05-02 19:17                                   ` Jonathan Wakely
2024-05-02 19:25                                     ` Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 22/26] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 23/26] c++: Implement __is_invocable built-in trait Ken Matsui
2024-03-08 17:17                   ` Patrick Palka
2024-03-08 17:38                     ` Ken Matsui
2024-03-15  1:53                     ` Ken Matsui
2024-03-15  6:34                       ` Ken Matsui
2024-03-15  8:15                   ` [PATCH v15 " Ken Matsui
2024-04-30 20:50                     ` Jason Merrill
2024-04-30 20:55                       ` Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 24/26] libstdc++: Optimize std::is_invocable compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 25/26] c++: Implement __is_nothrow_invocable built-in trait Ken Matsui
2024-04-30 21:09                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-03-08 17:22                   ` Patrick Palka
2024-03-08 17:35                     ` Ken Matsui
2024-03-07 21:33                 ` [PATCH v14 00/26] Optimize more type traits Ken Matsui
2024-05-02 16:13                 ` [PATCH v16 " Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 01/26] c++: Implement __builtin_is_const trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 02/26] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 03/26] c++: Implement __builtin_is_volatile trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 04/26] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 05/26] c++: Implement __builtin_is_pointer trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 06/26] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 07/26] c++: Implement __builtin_is_unbounded_array trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 08/26] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 09/26] c++: Implement __builtin_add_pointer trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 10/26] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 11/26] c++: Implement __builtin_remove_extent trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 12/26] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 13/26] c++: Implement __builtin_remove_all_extents trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 14/26] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 15/26] c++: Implement __builtin_add_lvalue_reference trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 16/26] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 17/26] c++: Implement __builtin_add_rvalue_reference trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 18/26] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 19/26] c++: Implement __builtin_decay trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 20/26] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 21/26] c++: Implement __builtin_rank trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 22/26] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 23/26] c++: Implement __builtin_is_invocable trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 24/26] libstdc++: Optimize std::is_invocable compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 25/26] c++: Implement __builtin_is_nothrow_invocable trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-05-02 18:42                   ` [PATCH v17 00/26] Optimize more type traits Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 01/26] c++: Implement __is_const built-in trait Ken Matsui
2024-05-02 19:49                       ` Jason Merrill
2024-05-02 18:42                     ` [PATCH v17 02/26] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 03/26] c++: Implement __is_volatile built-in trait Ken Matsui
2024-05-02 19:49                       ` Jason Merrill
2024-05-02 18:42                     ` [PATCH v17 04/26] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 05/26] c++: Implement __is_pointer built-in trait Ken Matsui
2024-05-02 19:50                       ` Jason Merrill
2024-05-02 18:42                     ` [PATCH v17 06/26] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 07/26] c++: Implement __builtin_is_unbounded_array trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 08/26] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 09/26] c++: Implement __add_pointer built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 10/26] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 11/26] c++: Implement __remove_extent built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 12/26] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 13/26] c++: Implement __remove_all_extents built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 14/26] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 15/26] c++: Implement __add_lvalue_reference built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 16/26] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 17/26] c++: Implement __add_rvalue_reference built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 18/26] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 19/26] c++: Implement __decay built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 20/26] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 21/26] c++: Implement __array_rank built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 22/26] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 23/26] c++: Implement __builtin_is_invocable trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 24/26] libstdc++: Optimize std::is_invocable compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 25/26] c++: Implement __builtin_is_nothrow_invocable trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-05-02 20:12                     ` [PATCH v18 00/26] Optimize more type traits Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 01/26] c++: Implement __is_const built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 02/26] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-05-07 13:55                         ` Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 03/26] c++: Implement __is_volatile built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 04/26] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 05/26] c++: Implement __is_pointer built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 06/26] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 07/26] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 08/26] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 09/26] c++: Implement __add_pointer built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 10/26] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 11/26] c++: Implement __remove_extent built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 12/26] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 13/26] c++: Implement __remove_all_extents built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 14/26] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 15/26] c++: Implement __add_lvalue_reference built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 16/26] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 17/26] c++: Implement __add_rvalue_reference built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 18/26] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 19/26] c++: Implement __decay built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 20/26] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 21/26] c++: Implement __array_rank built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 22/26] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 23/26] c++: Implement __is_invocable built-in trait Ken Matsui
2024-05-02 20:38                         ` Jason Merrill
2024-05-02 20:45                           ` Marek Polacek
2024-05-02 20:50                             ` Ken Matsui
2024-05-02 20:47                           ` Ken Matsui
2024-05-03  2:43                             ` Jason Merrill
2024-05-03  2:46                               ` Ken Matsui
2024-05-02 20:54                           ` Ken Matsui
2024-05-03  2:09                         ` [PATCH v19 " Ken Matsui
2024-05-03  2:33                           ` Jason Merrill
2024-05-03  3:25                           ` [PATCH v20 " Ken Matsui
2024-05-03 19:38                             ` Jason Merrill
2024-05-03 20:28                               ` Ken Matsui
2024-05-03 20:52                             ` [PATCH v21 20/23] " Ken Matsui
2024-05-07 18:36                               ` Jason Merrill
2024-05-07 18:46                                 ` Ken Matsui
2024-05-08  5:04                               ` [PATCH v22 " Ken Matsui
2024-05-09 16:16                                 ` Jason Merrill
2024-05-10 11:18                                   ` Ken Matsui
2024-05-10 11:24                                 ` [PATCH v23 " Ken Matsui
2024-05-10 14:20                                   ` Jason Merrill
2024-05-10 14:43                                     ` Ken Matsui
2024-05-10 14:45                                   ` [PATCH v24 " Ken Matsui
2024-05-10 15:27                                     ` Jason Merrill
2024-05-10 16:11                                       ` Ken Matsui
2024-05-10 16:14                                     ` [PATCH v25 " Ken Matsui
2024-05-10 20:23                                       ` Jason Merrill
2024-05-10 20:39                                         ` Ken Matsui
2024-05-11  9:01                                       ` [PATCH v26 01/13] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-05-11  9:01                                         ` [PATCH v26 02/13] libstdc++: Optimize std::is_volatile " Ken Matsui
2024-06-13 12:17                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 03/13] libstdc++: Optimize std::is_pointer " Ken Matsui
2024-06-13 12:31                                           ` Jonathan Wakely
2024-06-13 13:08                                             ` Ken Matsui
2024-06-14 20:47                                             ` Andrew Pinski [this message]
2024-05-11  9:01                                         ` [PATCH v26 04/13] libstdc++: Optimize std::is_unbounded_array " Ken Matsui
2024-06-13 12:32                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 05/13] libstdc++: Optimize std::add_pointer " Ken Matsui
2024-06-13 12:32                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 06/13] libstdc++: Optimize std::remove_extent " Ken Matsui
2024-06-13 12:33                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 07/13] libstdc++: Optimize std::remove_all_extents " Ken Matsui
2024-06-13 12:33                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 08/13] libstdc++: Optimize std::add_lvalue_reference " Ken Matsui
2024-06-13 12:38                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 09/13] libstdc++: Optimize std::add_rvalue_reference " Ken Matsui
2024-06-13 12:38                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 10/13] libstdc++: Optimize std::decay " Ken Matsui
2024-06-13 12:39                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 11/13] libstdc++: Optimize std::rank " Ken Matsui
2024-06-13 12:40                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 12/13] libstdc++: Optimize std::is_invocable " Ken Matsui
2024-06-13 12:42                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 13/13] libstdc++: Optimize std::is_nothrow_invocable " Ken Matsui
2024-06-13 12:42                                           ` Jonathan Wakely
2024-05-23 22:14                                         ` [PATCH v26 01/13] libstdc++: Optimize std::is_const " Patrick Palka
2024-05-23 22:15                                           ` Ken Matsui
2024-06-13 12:46                                             ` Jonathan Wakely
2024-06-13 12:50                                               ` Ken Matsui
2024-06-13 12:16                                         ` Jonathan Wakely
2024-05-02 20:12                       ` [PATCH v18 24/26] libstdc++: Optimize std::is_invocable " Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 25/26] c++: Implement __is_nothrow_invocable built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-02-20  5:20     ` [PATCH v8 24/24] libstdc++: Optimize std::is_invocable " Ken Matsui
2024-02-20 22:17       ` [PATCH v10 " Ken Matsui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+=Sn1k26OvSD=Nx3K7ByZ52YRidKHOWnbEBfcs1s_zCH95fkQ@mail.gmail.com' \
    --to=pinskia@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jwakely@redhat.com \
    --cc=kmatsui@gcc.gnu.org \
    --cc=libstdc++@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).