github.com/Rookout/GoSDK@v0.1.48/pkg/services/instrumentation/hooker/prologue/prologue_amd64_test.s (about)

     1  //go:build amd64 
     2  // +build amd64
     3  
     4  #include "funcdata.h"
     5  #include "textflag.h"
     6  
     7  TEXT ·fallback(SB), NOSPLIT, $0-0
     8  MOVQ ·fallbackRegValues(SB), R12
     9  MOVQ AX, (R12)
    10  ADDQ $0x8, R12
    11  MOVQ BX, (R12)
    12  ADDQ $0x8, R12
    13  MOVQ CX, (R12)
    14  ADDQ $0x8, R12
    15  MOVQ DX, (R12)
    16  ADDQ $0x8, R12
    17  MOVQ DI, (R12)
    18  ADDQ $0x8, R12
    19  MOVQ SI, (R12)
    20  ADDQ $0x8, R12
    21  MOVQ R8, (R12)
    22  ADDQ $0x8, R12
    23  MOVQ R9, (R12)
    24  ADDQ $0x8, R12
    25  MOVQ R10, (R12)
    26  ADDQ $0x8, R12
    27  MOVQ R11, (R12)
    28  
    29  MOVQ ·fallbackBigRegValues(SB), R12
    30  MOVUPS X0, (R12)
    31  ADDQ $0x10, R12
    32  MOVUPS X1, (R12)
    33  ADDQ $0x10, R12
    34  MOVUPS X2, (R12)
    35  ADDQ $0x10, R12
    36  MOVUPS X3, (R12)
    37  ADDQ $0x10, R12
    38  MOVUPS X4, (R12)
    39  ADDQ $0x10, R12
    40  MOVUPS X5, (R12)
    41  ADDQ $0x10, R12
    42  MOVUPS X6, (R12)
    43  ADDQ $0x10, R12
    44  MOVUPS X7, (R12)
    45  ADDQ $0x10, R12
    46  MOVUPS X8, (R12)
    47  ADDQ $0x10, R12
    48  MOVUPS X9, (R12)
    49  ADDQ $0x10, R12
    50  MOVUPS X10, (R12)
    51  ADDQ $0x10, R12
    52  MOVUPS X11, (R12)
    53  ADDQ $0x10, R12
    54  MOVUPS X12, (R12)
    55  ADDQ $0x10, R12
    56  MOVUPS X13, (R12)
    57  ADDQ $0x10, R12
    58  MOVUPS X14, (R12)
    59  RET