Oliver Kowalke
207cfe5625
Merge pull request #64 from mjohns/osx-32bit-asm
...
Fix i386/macho routines to correctly return transfer_t in EAX/EDX
2017-08-03 07:20:29 +02:00
Michael Johns
6fd875121f
merge
2017-08-03 01:07:41 -04:00
Michael Johns
0c5b5eeb3c
Fix i386/macho routines to correctly return transfer_t in EAX/EDX
...
The OSX 32bit ABI differs from the System V ABI in that 8 byte structs
are returned in registers EAX/EDX instead of passing the address of the
struct on the stack. See: https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/LowLevelABI/130-IA-32_Function_Calling_Conventions/IA32.html
The current implementation for this platform crashes when compiled for
32bit OSX (e.g. when running a 32bit iOS simulator) due to not
satisfying the ABI.
2017-08-03 01:05:58 -04:00
Michael Johns
6250aea3ed
Fix i386/macho routines to correctly return transfer_t in EAX/EDX
...
The OSX 32bit ABI differs from the System V ABI in that 8 byte structs
are returned in registers EAX/EDX instead of passing the address of the
struct on the stack. See: https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/LowLevelABI/130-IA-32_Function_Calling_Conventions/IA32.html
The current implementation for this platform crashes when compiled for
32bit OSX (e.g. when running a 32bit iOS simulator) due to not
satisfying the ABI.
2017-08-02 15:38:54 -04:00
Oliver Kowalke
84749fdcef
Merge branch 'develop'
2017-08-01 10:14:57 +02:00
Oliver Kowalke
8346fbfa89
no data transfer with call/cc
2017-08-01 09:43:29 +02:00
Oliver Kowalke
9d6f9ea475
Merge branch 'develop'
2017-06-29 22:42:17 +02:00
Oliver Kowalke
34ffb559cd
use std::ceil for stack size in protected stack
2017-06-29 22:41:34 +02:00
Oliver Kowalke
1dfa567950
Merge branch 'develop'
2017-06-24 13:37:58 +02:00
Oliver Kowalke
3bbc81a5e7
set default-stacksize to 64kB
2017-06-24 13:37:30 +02:00
Oliver Kowalke
037e69f081
Merge branch 'develop'
2017-06-18 09:52:12 +02:00
Oliver Kowalke
fce5aef348
fix example for FreeBSD
2017-06-17 17:14:00 +02:00
Oliver Kowalke
b2b019de99
Merge branch 'develop'
2017-06-16 17:35:22 +02:00
Oliver Kowalke
df8c107f91
example demonstrating continuation::resume_with()
2017-06-16 17:34:44 +02:00
Oliver Kowalke
70d488c819
reset data pointer for execution function ontop
2017-06-16 17:13:08 +02:00
Oliver Kowalke
e038a7402c
fix minimum/default stacksize for POSIX
2017-06-15 18:06:11 +02:00
Oliver Kowalke
ae8f6547b8
fixedsize_stack uses malloc()
2017-06-15 18:05:58 +02:00
Oliver Kowalke
2286a867ea
Merge branch 'develop'
2017-06-14 21:44:31 +02:00
Oliver Kowalke
43dc982d29
fixedsize_stack uses malloc()
2017-06-14 20:32:20 +02:00
Oliver Kowalke
049cd393ab
Merge branch 'develop'
2017-06-13 17:49:26 +02:00
Oliver Kowalke
05646ee266
build unit-tests with variant release
2017-06-11 19:12:01 +02:00
Oliver Kowalke
aa76b0e7ab
define _XOPEN_SOURCE on MacOS X for ucontext
2017-06-11 19:11:38 +02:00
Oliver Kowalke
8349c28d46
Merge branch 'develop'
2017-06-10 16:45:12 +02:00
Daniel James
89a86f3505
Merge pull request #59 from danieljames/fix
...
Fix test build
2017-06-10 14:33:34 +01:00
Oliver Kowalke
6de3a2b15f
remove unused function page_count()
2017-06-10 15:32:48 +02:00
Oliver Kowalke
d0ecf08e88
disable warning C4702
2017-06-10 14:52:14 +02:00
oliver Kowalke
0ae429ec82
refactor continuation creation
2017-06-09 08:00:02 +02:00
Oliver Kowalke
e9bccae379
Merge branch 'develop'
2017-06-09 06:03:40 +02:00
Rene Rivera
6f9e3808d1
Fix various syntax errors caused by merging+edits.
...
Just clobber master version with develop version as the master had issues caused by whatever merge was done on this earlier. And then not truly fixed by further edits.
2017-06-08 21:21:05 -05:00
Oliver Kowalke
83b0c1e031
check if constexpr is supported
2017-06-08 21:40:11 +02:00
Rene Rivera
ef82ba4631
Remove duplicate targets.
...
There where multiple copies of test-suite target. Fixing directly by deleting the extras.
2017-06-08 13:36:36 -05:00
Oliver Kowalke
2b0bbd56a7
Merge branch 'develop'
2017-06-07 17:22:37 +02:00
Oliver Kowalke
0d5531dc91
intel-17 does not deal with curly brakets
2017-06-05 17:36:50 +02:00
Oliver Kowalke
5e3ac84269
use conditional expression likely/unlikely
2017-06-04 20:36:15 +02:00
Oliver Kowalke
7254c77110
add prefetching
2017-06-04 20:27:03 +02:00
Oliver Kowalke
ad29fd3afd
update performance docu
2017-06-04 20:27:03 +02:00
Oliver Kowalke
5af0f67848
no overload of create_context() for preallocated
2017-06-04 20:27:03 +02:00
Oliver Kowalke
01365a56c1
keep debug symbols in unit-tests
2017-06-04 20:27:03 +02:00
Oliver Kowalke
fbb225121d
disable warning C4702 (MSVC) in unit-test
2017-06-04 20:27:03 +02:00
Oliver Kowalke
82e307a5ad
add unit-test for call/cc for native APIs
2017-06-04 20:27:03 +02:00
Oliver Kowalke
cf53ef95e2
disable warning C4996 (MSVC) in unit-test
2017-06-04 20:27:03 +02:00
oliver Kowalke
492784dda3
update performance numbers
2017-06-04 20:27:03 +02:00
Oliver Kowalke
d61ee3c66c
unit-tests: build parameters speed/release
2017-06-04 20:27:03 +02:00
Oliver Kowalke
c0baca035b
documentation
2017-06-04 20:27:03 +02:00
Oliver Kowalke
fa890b1c4d
adapt Jamfiles for new properties
2017-06-04 20:27:03 +02:00
Oliver Kowalke
f1b7c8698d
documentation
2017-06-04 20:27:03 +02:00
Oliver Kowalke
a72f69607f
support WinFibers in callcc()
2017-06-04 20:27:03 +02:00
Oliver Kowalke
e0ee17c8f9
reorder members of control structures
...
- ASAN throw an error if salloc_ was initilized after arg_
(stack was overwriten)
2017-06-01 18:20:02 +02:00
Oliver Kowalke
c8c40ac8b5
aligned placement new for control structures
2017-06-01 18:20:02 +02:00
Torkel Bjørnson-Langen
7c3082d1f8
spelling corrections in doc/callcc.qbk
2017-06-01 18:20:02 +02:00