github.com/Rookout/GoSDK@v0.1.48/pkg/services/instrumentation/module/pcsp_generator_funcs_amd64_test.s (about)

     1  //go:build amd64
     2  // +build amd64
     3  
     4  #include "funcdata.h"
     5  #include "textflag.h"
     6  
     7  TEXT ·NoStackUsage(SB), NOSPLIT, $0
     8  NO_LOCAL_POINTERS
     9  ADDQ $1000, R12 
    10  SUBQ $1000, R12
    11  RET
    12  
    13  TEXT ·PushAndPop(SB), NOSPLIT, $0
    14  NO_LOCAL_POINTERS
    15  ADDQ $1000, R12
    16  PUSHQ R12
    17  SUBQ $1000, R12
    18  POPQ R12
    19  RET
    20  
    21  TEXT ·PushesAndPops(SB), NOSPLIT, $0
    22  NO_LOCAL_POINTERS
    23  PUSHQ R12
    24  ADDQ $1000, R12
    25  PUSHQ R12
    26  POPQ R12
    27  POPQ R12
    28  PUSHQ R12
    29  POPQ R12
    30  SUBQ $1000, R12
    31  PUSHQ R12
    32  PUSHQ R12
    33  POPQ R12
    34  SUBQ $1000, R12
    35  POPQ R12
    36  RET
    37  
    38  
    39  TEXT ·SubAndAdd(SB), NOSPLIT, $80
    40  NO_LOCAL_POINTERS
    41  ADDQ $1000, R12
    42  SUBQ $1000, R12
    43  RET
    44  
    45  
    46  TEXT ·SubAddAndPushPop(SB), NOSPLIT, $80
    47  NO_LOCAL_POINTERS
    48  ADDQ $1000, R12
    49  PUSHQ R12
    50  SUBQ $1000, R12
    51  POPQ R12
    52  RET