Ticket #32649: patch-erts_emulator_hipe_hipe_ppc_bifs.m4.diff
File patch-erts_emulator_hipe_hipe_ppc_bifs.m4.diff, 1.8 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago) |
---|
-
erts/emulator/hipe/hipe_ppc_bifs.m4
old new 32 32 .text 33 33 .p2align 2 34 34 35 define(TEST_GOT_MBUF,`LOAD r4, P_MBUF(P) #`TEST_GOT_MBUF'35 define(TEST_GOT_MBUF,`LOAD r4, P_MBUF(P) ; `TEST_GOT_MBUF' 36 36 CMPI r4, 0 37 37 bne- 3f 38 38 2:') 39 39 define(HANDLE_GOT_MBUF,` 40 3: bl CSYM(nbif_$1_gc_after_bif) #`HANDLE_GOT_MBUF'40 3: bl CSYM(nbif_$1_gc_after_bif) ; `HANDLE_GOT_MBUF' 41 41 b 2b') 42 42 43 43 … … 62 62 63 63 /* Save caller-save registers and call the C function. */ 64 64 SAVE_CONTEXT_BIF 65 STORE r4, P_ARG0(r3) #Store BIF__ARGS in def_arg_reg[]65 STORE r4, P_ARG0(r3) ; Store BIF__ARGS in def_arg_reg[] 66 66 addi r4, r3, P_ARG0 67 67 CALL_BIF($2) 68 68 TEST_GOT_MBUF … … 92 92 93 93 /* Save caller-save registers and call the C function. */ 94 94 SAVE_CONTEXT_BIF 95 STORE r4, P_ARG0(r3) #Store BIF__ARGS in def_arg_reg[]95 STORE r4, P_ARG0(r3) ; Store BIF__ARGS in def_arg_reg[] 96 96 STORE r5, P_ARG1(r3) 97 97 addi r4, r3, P_ARG0 98 98 CALL_BIF($2) … … 124 124 125 125 /* Save caller-save registers and call the C function. */ 126 126 SAVE_CONTEXT_BIF 127 STORE r4, P_ARG0(r3) #Store BIF__ARGS in def_arg_reg[]127 STORE r4, P_ARG0(r3) ; Store BIF__ARGS in def_arg_reg[] 128 128 STORE r5, P_ARG1(r3) 129 129 STORE r6, P_ARG2(r3) 130 130 addi r4, r3, P_ARG0 … … 214 214 215 215 /* Save caller-save registers and call the C function. */ 216 216 SAVE_CONTEXT_GC 217 STORE r4, P_ARG0(r3) #Store BIF__ARGS in def_arg_reg[]217 STORE r4, P_ARG0(r3) ; Store BIF__ARGS in def_arg_reg[] 218 218 addi r4, r3, P_ARG0 219 219 CALL_BIF($2) 220 220 TEST_GOT_MBUF … … 244 244 245 245 /* Save caller-save registers and call the C function. */ 246 246 SAVE_CONTEXT_GC 247 STORE r4, P_ARG0(r3) #Store BIF__ARGS in def_arg_reg[]247 STORE r4, P_ARG0(r3) ; Store BIF__ARGS in def_arg_reg[] 248 248 STORE r5, P_ARG1(r3) 249 249 addi r4, r3, P_ARG0 250 250 CALL_BIF($2)