Skip to content

Commit e39bd3a

Browse files
agattidpgeorge
authored andcommitted
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 <[email protected]>
1 parent 70a0155 commit e39bd3a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

shared/runtime/gchelper_rv64i.s

+12-12
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@ gc_helper_get_regs_and_sp:
3131

3232
/* Store registers into the given array. */
3333

34-
sw x8, 0(x10) /* Save S0. */
35-
sw x9, 8(x10) /* Save S1. */
36-
sw x18, 16(x10) /* Save S2. */
37-
sw x19, 24(x10) /* Save S3. */
38-
sw x20, 32(x10) /* Save S4. */
39-
sw x21, 40(x10) /* Save S5. */
40-
sw x22, 48(x10) /* Save S6. */
41-
sw x23, 56(x10) /* Save S7. */
42-
sw x24, 64(x10) /* Save S8. */
43-
sw x25, 72(x10) /* Save S9. */
44-
sw x26, 80(x10) /* Save S10. */
45-
sw x27, 88(x10) /* Save S11. */
34+
sd x8, 0(x10) /* Save S0. */
35+
sd x9, 8(x10) /* Save S1. */
36+
sd x18, 16(x10) /* Save S2. */
37+
sd x19, 24(x10) /* Save S3. */
38+
sd x20, 32(x10) /* Save S4. */
39+
sd x21, 40(x10) /* Save S5. */
40+
sd x22, 48(x10) /* Save S6. */
41+
sd x23, 56(x10) /* Save S7. */
42+
sd x24, 64(x10) /* Save S8. */
43+
sd x25, 72(x10) /* Save S9. */
44+
sd x26, 80(x10) /* Save S10. */
45+
sd x27, 88(x10) /* Save S11. */
4646

4747
/* Return the stack pointer. */
4848

0 commit comments

Comments
 (0)