From e39bd3ae9d4a8f6fbd8bfad2402c67b52c634c88 Mon Sep 17 00:00:00 2001 From: Alessandro Gatti Date: Sat, 28 Sep 2024 22:34:36 +0200 Subject: [PATCH] shared/runtime/gchelper_rv64i: Fix opcode sw/sd typo. The version of the assembly code for the GC helper that was committed ended up being a version that had an opcode typo in. The code was tested and working, but an undo operation too many when cleaning up the file before committing checked in the wrong version. Signed-off-by: Alessandro Gatti --- shared/runtime/gchelper_rv64i.s | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/shared/runtime/gchelper_rv64i.s b/shared/runtime/gchelper_rv64i.s index 7f3dcb8a3..147a0e2bf 100644 --- a/shared/runtime/gchelper_rv64i.s +++ b/shared/runtime/gchelper_rv64i.s @@ -31,18 +31,18 @@ gc_helper_get_regs_and_sp: /* Store registers into the given array. */ - sw x8, 0(x10) /* Save S0. */ - sw x9, 8(x10) /* Save S1. */ - sw x18, 16(x10) /* Save S2. */ - sw x19, 24(x10) /* Save S3. */ - sw x20, 32(x10) /* Save S4. */ - sw x21, 40(x10) /* Save S5. */ - sw x22, 48(x10) /* Save S6. */ - sw x23, 56(x10) /* Save S7. */ - sw x24, 64(x10) /* Save S8. */ - sw x25, 72(x10) /* Save S9. */ - sw x26, 80(x10) /* Save S10. */ - sw x27, 88(x10) /* Save S11. */ + sd x8, 0(x10) /* Save S0. */ + sd x9, 8(x10) /* Save S1. */ + sd x18, 16(x10) /* Save S2. */ + sd x19, 24(x10) /* Save S3. */ + sd x20, 32(x10) /* Save S4. */ + sd x21, 40(x10) /* Save S5. */ + sd x22, 48(x10) /* Save S6. */ + sd x23, 56(x10) /* Save S7. */ + sd x24, 64(x10) /* Save S8. */ + sd x25, 72(x10) /* Save S9. */ + sd x26, 80(x10) /* Save S10. */ + sd x27, 88(x10) /* Save S11. */ /* Return the stack pointer. */