Changeset 8761006c for src/libcfa
- Timestamp:
- Feb 1, 2017, 2:53:47 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 77e6fcb
- Parents:
- ffc3b26
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/invoke.c
rffc3b26 r8761006c 122 122 ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->fixedRegisters[0] = this; 123 123 ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->fixedRegisters[1] = invoke; 124 ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->mxcr = 0; //SSE control word must be zeroed out to be valid 125 // ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->fcw = 0x34; 126 // ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->padding = 0x56; 124 ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->mxcr = 0x1F80; //Vol. 2A 3-520 125 ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->fcw = 0x037F; //Vol. 1 8-7 127 126 #else 128 127 #error Only __i386__ and __x86_64__ is supported for threads in cfa
Note: See TracChangeset
for help on using the changeset viewer.