...

Text file src/runtime/preempt_arm64.s

Documentation: runtime

     1// Code generated by mkpreempt.go; DO NOT EDIT.
     2
     3#include "go_asm.h"
     4#include "textflag.h"
     5
     6TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0
     7	MOVD R30, -496(RSP)
     8	SUB $496, RSP
     9	MOVD R29, -8(RSP)
    10	SUB $8, RSP, R29
    11	#ifdef GOOS_ios
    12	MOVD R30, (RSP)
    13	#endif
    14	STP (R0, R1), 8(RSP)
    15	STP (R2, R3), 24(RSP)
    16	STP (R4, R5), 40(RSP)
    17	STP (R6, R7), 56(RSP)
    18	STP (R8, R9), 72(RSP)
    19	STP (R10, R11), 88(RSP)
    20	STP (R12, R13), 104(RSP)
    21	STP (R14, R15), 120(RSP)
    22	STP (R16, R17), 136(RSP)
    23	STP (R19, R20), 152(RSP)
    24	STP (R21, R22), 168(RSP)
    25	STP (R23, R24), 184(RSP)
    26	STP (R25, R26), 200(RSP)
    27	MOVD NZCV, R0
    28	MOVD R0, 216(RSP)
    29	MOVD FPSR, R0
    30	MOVD R0, 224(RSP)
    31	FSTPD (F0, F1), 232(RSP)
    32	FSTPD (F2, F3), 248(RSP)
    33	FSTPD (F4, F5), 264(RSP)
    34	FSTPD (F6, F7), 280(RSP)
    35	FSTPD (F8, F9), 296(RSP)
    36	FSTPD (F10, F11), 312(RSP)
    37	FSTPD (F12, F13), 328(RSP)
    38	FSTPD (F14, F15), 344(RSP)
    39	FSTPD (F16, F17), 360(RSP)
    40	FSTPD (F18, F19), 376(RSP)
    41	FSTPD (F20, F21), 392(RSP)
    42	FSTPD (F22, F23), 408(RSP)
    43	FSTPD (F24, F25), 424(RSP)
    44	FSTPD (F26, F27), 440(RSP)
    45	FSTPD (F28, F29), 456(RSP)
    46	FSTPD (F30, F31), 472(RSP)
    47	CALL ·asyncPreempt2(SB)
    48	FLDPD 472(RSP), (F30, F31)
    49	FLDPD 456(RSP), (F28, F29)
    50	FLDPD 440(RSP), (F26, F27)
    51	FLDPD 424(RSP), (F24, F25)
    52	FLDPD 408(RSP), (F22, F23)
    53	FLDPD 392(RSP), (F20, F21)
    54	FLDPD 376(RSP), (F18, F19)
    55	FLDPD 360(RSP), (F16, F17)
    56	FLDPD 344(RSP), (F14, F15)
    57	FLDPD 328(RSP), (F12, F13)
    58	FLDPD 312(RSP), (F10, F11)
    59	FLDPD 296(RSP), (F8, F9)
    60	FLDPD 280(RSP), (F6, F7)
    61	FLDPD 264(RSP), (F4, F5)
    62	FLDPD 248(RSP), (F2, F3)
    63	FLDPD 232(RSP), (F0, F1)
    64	MOVD 224(RSP), R0
    65	MOVD R0, FPSR
    66	MOVD 216(RSP), R0
    67	MOVD R0, NZCV
    68	LDP 200(RSP), (R25, R26)
    69	LDP 184(RSP), (R23, R24)
    70	LDP 168(RSP), (R21, R22)
    71	LDP 152(RSP), (R19, R20)
    72	LDP 136(RSP), (R16, R17)
    73	LDP 120(RSP), (R14, R15)
    74	LDP 104(RSP), (R12, R13)
    75	LDP 88(RSP), (R10, R11)
    76	LDP 72(RSP), (R8, R9)
    77	LDP 56(RSP), (R6, R7)
    78	LDP 40(RSP), (R4, R5)
    79	LDP 24(RSP), (R2, R3)
    80	LDP 8(RSP), (R0, R1)
    81	MOVD 496(RSP), R30
    82	MOVD -8(RSP), R29
    83	MOVD (RSP), R27
    84	ADD $512, RSP
    85	JMP (R27)

View as plain text