this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

More correct floating point return value support on x86 in trampolines

+8 -8
+6 -6
src/dyld/Trampoline.cpp
··· 550 550 551 551 ss << q.v64; 552 552 } 553 - else if (type == 'f') 554 - { 555 - double d = m_stack->st0; 556 - ss << * (((float*)&d)+1); 557 - } 558 - else if (type == 'd') 553 + //else if (type == 'f') 554 + //{ 555 + // double d = m_stack->st0; 556 + // ss << * (((float*)&d)+1); 557 + //} 558 + else if (type == 'd' || type == 'f') 559 559 { 560 560 double d = m_stack->st0; 561 561 ss << d;
+2 -2
src/dyld/trampoline_helper.nasm
··· 112 112 push esi 113 113 push edi 114 114 sub esp, 8 115 - ;fstp qword [esp] 115 + fstp qword [esp] 116 116 117 117 jmp eax 118 118 ··· 121 121 mov eax, [esp+SavedRegLen-4] 122 122 mov [esp+SavedRegLen-4], ebx 123 123 124 - ;fld qword [esp] 124 + fld qword [esp] 125 125 add esp, 8 126 126 pop edi 127 127 pop esi