1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/coroutine/universal/Context.S
Sergey Fedorov 539459abda
Ruby31: add support for Darwin ppc/ppc64 (#5927)
* add coroutines for ppc & ppc64

* fix universal coroutine to include ppc & ppc64

* add powerpc*-darwin to configure.ac

* fix thread_pthread for older systems
2022-05-22 15:02:03 +12:00

16 lines
470 B
ArmAsm

#if 0
#elif defined __x86_64__
# include "coroutine/amd64/Context.S"
#elif defined __i386__
# include "coroutine/x86/Context.S"
#elif defined __ppc__
# include "coroutine/ppc/Context.S"
#elif defined __ppc64__ && defined(WORDS_BIGENDIAN)
# include "coroutine/ppc64/Context.S"
#elif defined __ppc64__ && !defined(WORDS_BIGENDIAN)
# include "coroutine/ppc64le/Context.S"
#elif defined __arm64__
# include "coroutine/arm64/Context.S"
#else
# error "Unsupported CPU"
#endif