From 1daf0ad309336fdfd8ea55a8dd54ce9992e03f8d Mon Sep 17 00:00:00 2001 From: Ludovic 'Archivist' Lagouardette Date: Mon, 26 Oct 2020 17:00:00 +0100 Subject: [PATCH] Gave a sad rbx back to his mom --- include/gp/vfs/platforms/gcc-x86_64.hpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/gp/vfs/platforms/gcc-x86_64.hpp b/include/gp/vfs/platforms/gcc-x86_64.hpp index 9e95b0f..5989951 100644 --- a/include/gp/vfs/platforms/gcc-x86_64.hpp +++ b/include/gp/vfs/platforms/gcc-x86_64.hpp @@ -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)