github.com/goshafaq/sonic@v0.0.0-20231026082336-871835fb94c6/internal/decoder/generic_stkabi_amd64_test.s (about) 1 // +build go1.16,!go1.17 2 3 // 4 // Copyright 2021 ByteDance Inc. 5 // 6 // Licensed under the Apache License, Version 2.0 (the "License"); 7 // you may not use this file except in compliance with the License. 8 // You may obtain a copy of the License at 9 // 10 // http://www.apache.org/licenses/LICENSE-2.0 11 // 12 // Unless required by applicable law or agreed to in writing, software 13 // distributed under the License is distributed on an "AS IS" BASIS, 14 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 // See the License for the specific language governing permissions and 16 // limitations under the License. 17 // 18 19 #include "go_asm.h" 20 #include "funcdata.h" 21 #include "textflag.h" 22 23 TEXT ·decodeValueStub(SB), NOSPLIT, $0 - 72 24 NO_LOCAL_POINTERS 25 PXOR X0, X0 26 MOVOU X0, rv+48(FP) 27 MOVQ st+0(FP), BX 28 MOVQ sp+8(FP), R12 29 MOVQ sn+16(FP), R13 30 MOVQ ic+24(FP), R14 31 MOVQ vp+32(FP), R15 32 MOVQ df+40(FP), R10 33 MOVQ ·_subr_decode_value(SB), AX 34 CALL AX 35 MOVQ R14, rp+48(FP) 36 MOVQ R11, ex+56(FP) 37 RET