public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/iains/heads/d-for-darwin)] D, Darwin : Make the Darwin code path more obvious (NFC).
@ 2021-10-18 15:54 Iain D Sandoe
  0 siblings, 0 replies; 7+ messages in thread
From: Iain D Sandoe @ 2021-10-18 15:54 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:099b7c964b6179f23defa7f89748b1c4366a213e

commit 099b7c964b6179f23defa7f89748b1c4366a213e
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Thu Dec 10 14:09:09 2020 +0000

    D, Darwin : Make the Darwin code path more obvious (NFC).
    
    Darwin passes version (Darwin) _and_ version(Posix) thus the
    AsmExternal and AsmX86*_Posix cases were already in effect.
    This just makes it more obvious (and also eases switching to
    ucontext for testing).

Diff:
---
 libphobos/libdruntime/core/thread/fiber.d | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/libphobos/libdruntime/core/thread/fiber.d b/libphobos/libdruntime/core/thread/fiber.d
index f4c04ce7358..64e90182596 100644
--- a/libphobos/libdruntime/core/thread/fiber.d
+++ b/libphobos/libdruntime/core/thread/fiber.d
@@ -76,6 +76,11 @@ private
             // fiber_switchContext does not support shadow stack from
             // Intel CET.  So use ucontext implementation.
         }
+        else version (OSX)
+        {
+            version = AsmExternal;
+            version = AsmX86_Posix;
+        }
         else
         {
             version = AsmExternal;
@@ -101,6 +106,11 @@ private
         {
             // let X32 be handled by ucontext swapcontext
         }
+        else version (OSX)
+        {
+            version = AsmExternal;
+            version = AsmX86_Posix;
+        }
         else
         {
             version = AsmExternal;


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gcc(refs/users/iains/heads/d-for-darwin)] D, Darwin : Make the Darwin code path more obvious (NFC).
@ 2021-10-15 19:34 Iain D Sandoe
  0 siblings, 0 replies; 7+ messages in thread
From: Iain D Sandoe @ 2021-10-15 19:34 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:051bb43c372ff3d89d9c550e4c79d1100606d60e

commit 051bb43c372ff3d89d9c550e4c79d1100606d60e
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Thu Dec 10 14:09:09 2020 +0000

    D, Darwin : Make the Darwin code path more obvious (NFC).
    
    Darwin passes version (Darwin) _and_ version(Posix) thus the
    AsmExternal and AsmX86*_Posix cases were already in effect.
    This just makes it more obvious (and also eases switching to
    ucontext for testing).

Diff:
---
 libphobos/libdruntime/core/thread/fiber.d | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/libphobos/libdruntime/core/thread/fiber.d b/libphobos/libdruntime/core/thread/fiber.d
index f4c04ce7358..64e90182596 100644
--- a/libphobos/libdruntime/core/thread/fiber.d
+++ b/libphobos/libdruntime/core/thread/fiber.d
@@ -76,6 +76,11 @@ private
             // fiber_switchContext does not support shadow stack from
             // Intel CET.  So use ucontext implementation.
         }
+        else version (OSX)
+        {
+            version = AsmExternal;
+            version = AsmX86_Posix;
+        }
         else
         {
             version = AsmExternal;
@@ -101,6 +106,11 @@ private
         {
             // let X32 be handled by ucontext swapcontext
         }
+        else version (OSX)
+        {
+            version = AsmExternal;
+            version = AsmX86_Posix;
+        }
         else
         {
             version = AsmExternal;


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gcc(refs/users/iains/heads/d-for-darwin)] D, Darwin : Make the Darwin code path more obvious (NFC).
@ 2021-10-13  8:31 Iain D Sandoe
  0 siblings, 0 replies; 7+ messages in thread
From: Iain D Sandoe @ 2021-10-13  8:31 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:87d056bf8e69bff1fc76fcd079833014bd4f5f75

commit 87d056bf8e69bff1fc76fcd079833014bd4f5f75
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Thu Dec 10 14:09:09 2020 +0000

    D, Darwin : Make the Darwin code path more obvious (NFC).
    
    Darwin passes version (Darwin) _and_ version(Posix) thus the
    AsmExternal and AsmX86*_Posix cases were already in effect.
    This just makes it more obvious (and also eases switching to
    ucontext for testing).

Diff:
---
 libphobos/libdruntime/core/thread/fiber.d | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/libphobos/libdruntime/core/thread/fiber.d b/libphobos/libdruntime/core/thread/fiber.d
index f4c04ce7358..64e90182596 100644
--- a/libphobos/libdruntime/core/thread/fiber.d
+++ b/libphobos/libdruntime/core/thread/fiber.d
@@ -76,6 +76,11 @@ private
             // fiber_switchContext does not support shadow stack from
             // Intel CET.  So use ucontext implementation.
         }
+        else version (OSX)
+        {
+            version = AsmExternal;
+            version = AsmX86_Posix;
+        }
         else
         {
             version = AsmExternal;
@@ -101,6 +106,11 @@ private
         {
             // let X32 be handled by ucontext swapcontext
         }
+        else version (OSX)
+        {
+            version = AsmExternal;
+            version = AsmX86_Posix;
+        }
         else
         {
             version = AsmExternal;


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gcc(refs/users/iains/heads/d-for-darwin)] D, Darwin : Make the Darwin code path more obvious (NFC).
@ 2021-10-11 20:35 Iain D Sandoe
  0 siblings, 0 replies; 7+ messages in thread
From: Iain D Sandoe @ 2021-10-11 20:35 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:dfe15cad5369c150f1c470bbb81c87037169a462

commit dfe15cad5369c150f1c470bbb81c87037169a462
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Thu Dec 10 14:09:09 2020 +0000

    D, Darwin : Make the Darwin code path more obvious (NFC).
    
    Darwin passes version (Darwin) _and_ version(Posix) thus the
    AsmExternal and AsmX86*_Posix cases were already in effect.
    This just makes it more obvious (and also eases switching to
    ucontext for testing).

Diff:
---
 libphobos/libdruntime/core/thread/fiber.d | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/libphobos/libdruntime/core/thread/fiber.d b/libphobos/libdruntime/core/thread/fiber.d
index f4c04ce7358..64e90182596 100644
--- a/libphobos/libdruntime/core/thread/fiber.d
+++ b/libphobos/libdruntime/core/thread/fiber.d
@@ -76,6 +76,11 @@ private
             // fiber_switchContext does not support shadow stack from
             // Intel CET.  So use ucontext implementation.
         }
+        else version (OSX)
+        {
+            version = AsmExternal;
+            version = AsmX86_Posix;
+        }
         else
         {
             version = AsmExternal;
@@ -101,6 +106,11 @@ private
         {
             // let X32 be handled by ucontext swapcontext
         }
+        else version (OSX)
+        {
+            version = AsmExternal;
+            version = AsmX86_Posix;
+        }
         else
         {
             version = AsmExternal;


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gcc(refs/users/iains/heads/d-for-darwin)] D, Darwin : Make the Darwin code path more obvious (NFC).
@ 2021-01-11 21:26 Iain D Sandoe
  0 siblings, 0 replies; 7+ messages in thread
From: Iain D Sandoe @ 2021-01-11 21:26 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:e3757faf01cd55e597fa9c7fd412759aec36737e

commit e3757faf01cd55e597fa9c7fd412759aec36737e
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Thu Dec 10 14:09:09 2020 +0000

    D, Darwin : Make the Darwin code path more obvious (NFC).
    
    Darwin passes version (Darwin) _and_ version(Posix) thus the
    AsmExternal and AsmX86*_Posix cases were already in effect.
    This just makes it more obvious (and also eases switching to
    ucontext for testing).

Diff:
---
 libphobos/libdruntime/core/thread.d | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/libphobos/libdruntime/core/thread.d b/libphobos/libdruntime/core/thread.d
index 843125831aa..715f14e9b71 100644
--- a/libphobos/libdruntime/core/thread.d
+++ b/libphobos/libdruntime/core/thread.d
@@ -3605,6 +3605,11 @@ private
             // fiber_switchContext does not support shadow stack from
             // Intel CET.  So use ucontext implementation.
         }
+        else version (Darwin)
+        {
+            version = AsmExternal;
+            version = AsmX86_Posix;
+        }
         else
         {
             version = AsmExternal;
@@ -3628,6 +3633,11 @@ private
         {
             // let X32 be handled by ucontext swapcontext
         }
+        else version (Darwin)
+        {
+            version = AsmExternal;
+            version = AsmX86_64_Posix;
+        }
         else
         {
             version = AsmExternal;


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gcc(refs/users/iains/heads/d-for-darwin)] D, Darwin : Make the Darwin code path more obvious (NFC).
@ 2020-12-21 20:37 Iain D Sandoe
  0 siblings, 0 replies; 7+ messages in thread
From: Iain D Sandoe @ 2020-12-21 20:37 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1f012c51a1e679fa37cda3a34808bf363b45c58d

commit 1f012c51a1e679fa37cda3a34808bf363b45c58d
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Thu Dec 10 14:09:09 2020 +0000

    D, Darwin : Make the Darwin code path more obvious (NFC).
    
    Darwin passes version (Darwin) _and_ version(Posix) thus the
    AsmExternal and AsmX86*_Posix cases were already in effect.
    This just makes it more obvious (and also eases switching to
    ucontext for testing).

Diff:
---
 libphobos/libdruntime/core/thread.d | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/libphobos/libdruntime/core/thread.d b/libphobos/libdruntime/core/thread.d
index 843125831aa..715f14e9b71 100644
--- a/libphobos/libdruntime/core/thread.d
+++ b/libphobos/libdruntime/core/thread.d
@@ -3605,6 +3605,11 @@ private
             // fiber_switchContext does not support shadow stack from
             // Intel CET.  So use ucontext implementation.
         }
+        else version (Darwin)
+        {
+            version = AsmExternal;
+            version = AsmX86_Posix;
+        }
         else
         {
             version = AsmExternal;
@@ -3628,6 +3633,11 @@ private
         {
             // let X32 be handled by ucontext swapcontext
         }
+        else version (Darwin)
+        {
+            version = AsmExternal;
+            version = AsmX86_64_Posix;
+        }
         else
         {
             version = AsmExternal;


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gcc(refs/users/iains/heads/d-for-darwin)] D, Darwin : Make the Darwin code path more obvious (NFC).
@ 2020-12-13 17:43 Iain D Sandoe
  0 siblings, 0 replies; 7+ messages in thread
From: Iain D Sandoe @ 2020-12-13 17:43 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:2eb355c0bd7027f8fe336820efe5c7df6fda6814

commit 2eb355c0bd7027f8fe336820efe5c7df6fda6814
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Thu Dec 10 14:09:09 2020 +0000

    D, Darwin : Make the Darwin code path more obvious (NFC).
    
    Darwin passes version (Darwin) _and_ version(Posix) thus the
    AsmExternal and AsmX86*_Posix cases were already in effect.
    This just makes it more obvious (and also eases switching to
    ucontext for testing).

Diff:
---
 libphobos/libdruntime/core/thread.d | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/libphobos/libdruntime/core/thread.d b/libphobos/libdruntime/core/thread.d
index 843125831aa..715f14e9b71 100644
--- a/libphobos/libdruntime/core/thread.d
+++ b/libphobos/libdruntime/core/thread.d
@@ -3605,6 +3605,11 @@ private
             // fiber_switchContext does not support shadow stack from
             // Intel CET.  So use ucontext implementation.
         }
+        else version (Darwin)
+        {
+            version = AsmExternal;
+            version = AsmX86_Posix;
+        }
         else
         {
             version = AsmExternal;
@@ -3628,6 +3633,11 @@ private
         {
             // let X32 be handled by ucontext swapcontext
         }
+        else version (Darwin)
+        {
+            version = AsmExternal;
+            version = AsmX86_64_Posix;
+        }
         else
         {
             version = AsmExternal;


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-10-18 15:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-18 15:54 [gcc(refs/users/iains/heads/d-for-darwin)] D, Darwin : Make the Darwin code path more obvious (NFC) Iain D Sandoe
  -- strict thread matches above, loose matches on Subject: below --
2021-10-15 19:34 Iain D Sandoe
2021-10-13  8:31 Iain D Sandoe
2021-10-11 20:35 Iain D Sandoe
2021-01-11 21:26 Iain D Sandoe
2020-12-21 20:37 Iain D Sandoe
2020-12-13 17:43 Iain D Sandoe

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).