Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a comment/TODO about i386 RawContext
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 26 Apr 2016 13:56:09 +0000 (15:56 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 26 Apr 2016 15:09:59 +0000 (17:09 +0200)
src/simix/RawContext.cpp

index a1f1f21..94770ae 100644 (file)
@@ -123,6 +123,8 @@ extern "C" raw_stack_t raw_makecontext(void* malloced_stack, int stack_size,
                                    rawctx_entry_point_t entry_point, void* arg);
 extern "C" void raw_swapcontext(raw_stack_t* old, raw_stack_t new_context);
 
                                    rawctx_entry_point_t entry_point, void* arg);
 extern "C" void raw_swapcontext(raw_stack_t* old, raw_stack_t new_context);
 
+// TODO, we should handle FP, MMX and the x87 control-word (for x86 and x86_64)
+
 #if SIMGRID_PROCESSOR_x86_64
 __asm__ (
 #if defined(__APPLE__)
 #if SIMGRID_PROCESSOR_x86_64
 __asm__ (
 #if defined(__APPLE__)