Skip to content
Snippets Groups Projects
Commit 62a31449 authored by Berenger Bramas's avatar Berenger Bramas
Browse files

Init TP1

parent 99efcc92
Branches
1 merge request!1Tp1
No preview for this file type
......@@ -66,10 +66,8 @@ __asm__(
".global cpuid \n"
"cpuid: \n"
// Save rbx, move %esi to %eax, and %edx to %ecx
#endif
"cpuid;\n"
// Save %eax, %ebx, %ecx, %edx into CPUInfo, and restore rbx
#endif
"ret;\n"
);
......
......@@ -8,7 +8,6 @@ extern "C" long int sum2_asm(const long int val0, const long int val1);
__asm__(
".global sum2_asm \n"
"sum2_asm: \n"
#endif
"ret;\n"
);
......@@ -27,7 +26,6 @@ extern "C" long int sum7_asm(const long int val0, const long int val1,
__asm__(
".global sum7_asm \n"
"sum7_asm: \n"
#endif
"ret;\n"
);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment