...

Text file src/runtime/preempt_mipsx.s

Documentation: runtime

     1// Code generated by mkpreempt.go; DO NOT EDIT.
     2
     3//go:build mips || mipsle
     4
     5#include "go_asm.h"
     6#include "textflag.h"
     7
     8TEXT ·asyncPreempt(SB),NOSPLIT|NOFRAME,$0-0
     9	MOVW R31, -244(R29)
    10	SUB $244, R29
    11	MOVW R1, 4(R29)
    12	MOVW R2, 8(R29)
    13	MOVW R3, 12(R29)
    14	MOVW R4, 16(R29)
    15	MOVW R5, 20(R29)
    16	MOVW R6, 24(R29)
    17	MOVW R7, 28(R29)
    18	MOVW R8, 32(R29)
    19	MOVW R9, 36(R29)
    20	MOVW R10, 40(R29)
    21	MOVW R11, 44(R29)
    22	MOVW R12, 48(R29)
    23	MOVW R13, 52(R29)
    24	MOVW R14, 56(R29)
    25	MOVW R15, 60(R29)
    26	MOVW R16, 64(R29)
    27	MOVW R17, 68(R29)
    28	MOVW R18, 72(R29)
    29	MOVW R19, 76(R29)
    30	MOVW R20, 80(R29)
    31	MOVW R21, 84(R29)
    32	MOVW R22, 88(R29)
    33	MOVW R24, 92(R29)
    34	MOVW R25, 96(R29)
    35	MOVW R28, 100(R29)
    36	MOVW HI, R1
    37	MOVW R1, 104(R29)
    38	MOVW LO, R1
    39	MOVW R1, 108(R29)
    40	#ifndef GOMIPS_softfloat
    41	MOVW FCR31, R1
    42	MOVW R1, 112(R29)
    43	MOVF F0, 116(R29)
    44	MOVF F1, 120(R29)
    45	MOVF F2, 124(R29)
    46	MOVF F3, 128(R29)
    47	MOVF F4, 132(R29)
    48	MOVF F5, 136(R29)
    49	MOVF F6, 140(R29)
    50	MOVF F7, 144(R29)
    51	MOVF F8, 148(R29)
    52	MOVF F9, 152(R29)
    53	MOVF F10, 156(R29)
    54	MOVF F11, 160(R29)
    55	MOVF F12, 164(R29)
    56	MOVF F13, 168(R29)
    57	MOVF F14, 172(R29)
    58	MOVF F15, 176(R29)
    59	MOVF F16, 180(R29)
    60	MOVF F17, 184(R29)
    61	MOVF F18, 188(R29)
    62	MOVF F19, 192(R29)
    63	MOVF F20, 196(R29)
    64	MOVF F21, 200(R29)
    65	MOVF F22, 204(R29)
    66	MOVF F23, 208(R29)
    67	MOVF F24, 212(R29)
    68	MOVF F25, 216(R29)
    69	MOVF F26, 220(R29)
    70	MOVF F27, 224(R29)
    71	MOVF F28, 228(R29)
    72	MOVF F29, 232(R29)
    73	MOVF F30, 236(R29)
    74	MOVF F31, 240(R29)
    75	#endif
    76	CALL ·asyncPreempt2(SB)
    77	#ifndef GOMIPS_softfloat
    78	MOVF 240(R29), F31
    79	MOVF 236(R29), F30
    80	MOVF 232(R29), F29
    81	MOVF 228(R29), F28
    82	MOVF 224(R29), F27
    83	MOVF 220(R29), F26
    84	MOVF 216(R29), F25
    85	MOVF 212(R29), F24
    86	MOVF 208(R29), F23
    87	MOVF 204(R29), F22
    88	MOVF 200(R29), F21
    89	MOVF 196(R29), F20
    90	MOVF 192(R29), F19
    91	MOVF 188(R29), F18
    92	MOVF 184(R29), F17
    93	MOVF 180(R29), F16
    94	MOVF 176(R29), F15
    95	MOVF 172(R29), F14
    96	MOVF 168(R29), F13
    97	MOVF 164(R29), F12
    98	MOVF 160(R29), F11
    99	MOVF 156(R29), F10
   100	MOVF 152(R29), F9
   101	MOVF 148(R29), F8
   102	MOVF 144(R29), F7
   103	MOVF 140(R29), F6
   104	MOVF 136(R29), F5
   105	MOVF 132(R29), F4
   106	MOVF 128(R29), F3
   107	MOVF 124(R29), F2
   108	MOVF 120(R29), F1
   109	MOVF 116(R29), F0
   110	MOVW 112(R29), R1
   111	MOVW R1, FCR31
   112	#endif
   113	MOVW 108(R29), R1
   114	MOVW R1, LO
   115	MOVW 104(R29), R1
   116	MOVW R1, HI
   117	MOVW 100(R29), R28
   118	MOVW 96(R29), R25
   119	MOVW 92(R29), R24
   120	MOVW 88(R29), R22
   121	MOVW 84(R29), R21
   122	MOVW 80(R29), R20
   123	MOVW 76(R29), R19
   124	MOVW 72(R29), R18
   125	MOVW 68(R29), R17
   126	MOVW 64(R29), R16
   127	MOVW 60(R29), R15
   128	MOVW 56(R29), R14
   129	MOVW 52(R29), R13
   130	MOVW 48(R29), R12
   131	MOVW 44(R29), R11
   132	MOVW 40(R29), R10
   133	MOVW 36(R29), R9
   134	MOVW 32(R29), R8
   135	MOVW 28(R29), R7
   136	MOVW 24(R29), R6
   137	MOVW 20(R29), R5
   138	MOVW 16(R29), R4
   139	MOVW 12(R29), R3
   140	MOVW 8(R29), R2
   141	MOVW 4(R29), R1
   142	MOVW 244(R29), R31
   143	MOVW (R29), R23
   144	ADD $248, R29
   145	JMP (R23)

View as plain text