diff options
Diffstat (limited to 'src/internal/bytealg')
| -rw-r--r-- | src/internal/bytealg/compare_wasm.s | 24 | ||||
| -rw-r--r-- | src/internal/bytealg/indexbyte_wasm.s | 20 |
2 files changed, 22 insertions, 22 deletions
diff --git a/src/internal/bytealg/compare_wasm.s b/src/internal/bytealg/compare_wasm.s index 39bc0fc37a..b412649e04 100644 --- a/src/internal/bytealg/compare_wasm.s +++ b/src/internal/bytealg/compare_wasm.s @@ -7,30 +7,30 @@ TEXT ·Compare(SB), NOSPLIT, $0-56 Get SP - I64Load s1_base+0(FP) - I64Load s1_len+8(FP) - I64Load s2_base+24(FP) - I64Load s2_len+32(FP) + I64Load a_base+0(FP) + I64Load a_len+8(FP) + I64Load b_base+24(FP) + I64Load b_len+32(FP) Call cmpbody<>(SB) I64Store ret+48(FP) RET TEXT bytes·Compare(SB), NOSPLIT, $0-56 Get SP - I64Load s1_base+0(FP) - I64Load s1_len+8(FP) - I64Load s2_base+24(FP) - I64Load s2_len+32(FP) + I64Load a_base+0(FP) + I64Load a_len+8(FP) + I64Load b_base+24(FP) + I64Load b_len+32(FP) Call cmpbody<>(SB) I64Store ret+48(FP) RET TEXT runtime·cmpstring(SB), NOSPLIT, $0-40 Get SP - I64Load s1_base+0(FP) - I64Load s1_len+8(FP) - I64Load s2_base+16(FP) - I64Load s2_len+24(FP) + I64Load a_base+0(FP) + I64Load a_len+8(FP) + I64Load b_base+16(FP) + I64Load b_len+24(FP) Call cmpbody<>(SB) I64Store ret+32(FP) RET diff --git a/src/internal/bytealg/indexbyte_wasm.s b/src/internal/bytealg/indexbyte_wasm.s index 113c7a0a6f..f9f8e65002 100644 --- a/src/internal/bytealg/indexbyte_wasm.s +++ b/src/internal/bytealg/indexbyte_wasm.s @@ -6,10 +6,10 @@ #include "textflag.h" TEXT ·IndexByte(SB), NOSPLIT, $0-40 - I64Load s+0(FP) + I64Load b_base+0(FP) I32WrapI64 I32Load8U c+24(FP) - I64Load s_len+8(FP) + I64Load b_len+8(FP) I32WrapI64 Call memchr<>(SB) I64ExtendSI32 @@ -18,7 +18,7 @@ TEXT ·IndexByte(SB), NOSPLIT, $0-40 Get SP I64Const $-1 Get R0 - I64Load s+0(FP) + I64Load b_base+0(FP) I64Sub Get R0 I64Eqz $0 @@ -29,7 +29,7 @@ TEXT ·IndexByte(SB), NOSPLIT, $0-40 TEXT ·IndexByteString(SB), NOSPLIT, $0-32 Get SP - I64Load s+0(FP) + I64Load s_base+0(FP) I32WrapI64 I32Load8U c+16(FP) I64Load s_len+8(FP) @@ -40,7 +40,7 @@ TEXT ·IndexByteString(SB), NOSPLIT, $0-32 I64Const $-1 Get R0 - I64Load s+0(FP) + I64Load s_base+0(FP) I64Sub Get R0 I64Eqz $0 @@ -51,10 +51,10 @@ TEXT ·IndexByteString(SB), NOSPLIT, $0-32 TEXT bytes·IndexByte(SB), NOSPLIT, $0-40 Get SP - I64Load s+0(FP) + I64Load b_base+0(FP) I32WrapI64 I32Load8U c+24(FP) - I64Load s_len+8(FP) + I64Load b_len+8(FP) I32WrapI64 Call memchr<>(SB) I64ExtendSI32 @@ -62,7 +62,7 @@ TEXT bytes·IndexByte(SB), NOSPLIT, $0-40 I64Const $-1 Get R0 - I64Load s+0(FP) + I64Load b_base+0(FP) I64Sub Get R0 I64Eqz $0 @@ -73,7 +73,7 @@ TEXT bytes·IndexByte(SB), NOSPLIT, $0-40 TEXT strings·IndexByte(SB), NOSPLIT, $0-32 Get SP - I64Load s+0(FP) + I64Load s_base+0(FP) I32WrapI64 I32Load8U c+16(FP) I64Load s_len+8(FP) @@ -84,7 +84,7 @@ TEXT strings·IndexByte(SB), NOSPLIT, $0-32 I64Const $-1 Get R0 - I64Load s+0(FP) + I64Load s_base+0(FP) I64Sub Get R0 I64Eqz $0 |
