Browse Source

Gave a sad rbx back to his mom

channel
Ludovic 'Archivist' Lagouardette 3 years ago
parent
commit
1daf0ad309
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      include/gp/vfs/platforms/gcc-x86_64.hpp

+ 6
- 4
include/gp/vfs/platforms/gcc-x86_64.hpp View File

@ -48,14 +48,16 @@ namespace gp{
__asm__ __volatile__(
"movq %1, %%rsp\n"
"movq %2, %%rbp\n"
"movq %3, %%r12\n"
"movq %4, %%r13\n"
"movq %5, %%r14\n"
"movq %6, %%r15\n"
"movq %3, %%rbx\n"
"movq %4, %%r12\n"
"movq %5, %%r13\n"
"movq %6, %%r14\n"
"movq %7, %%r15\n"
"popq %0\n"
: "+r"(location)
: "m"(tmp)
, "m"(base_ptr)
, "m"(rbx)
, "m"(r12)
, "m"(r13)
, "m"(r14)

Loading…
Cancel
Save