ref: 1dd7f0893b28d10fb40f2ce7337c986b83c16f1d
parent: b556e87e08dd27f127e82963c5b2dc39f10dd389
author: cinap_lenrek <[email protected]>
date: Sun Oct 4 16:16:41 EDT 2015
ape: add missing _subv() function to 386/vlop.s
--- a/sys/src/ape/lib/ap/386/vlop.s
+++ b/sys/src/ape/lib/ap/386/vlop.s
@@ -33,12 +33,22 @@
MOVL DX, 0(CX)
RET
-TEXT _addv(SB), $0
+TEXT _addv(SB),1,$0 /* used in profiler, can't be profiled */
MOVL r+0(FP), CX
MOVL a+4(FP), AX
MOVL a+8(FP), BX
ADDL b+12(FP), AX
ADCL b+16(FP), BX
+ MOVL AX, 0(CX)
+ MOVL BX, 4(CX)
+ RET
+
+TEXT _subv(SB),1,$0 /* used in profiler, can't be profiled */
+ MOVL r+0(FP), CX
+ MOVL a+4(FP), AX
+ MOVL a+8(FP), BX
+ SUBL b+12(FP), AX
+ SBBL b+16(FP), BX
MOVL AX, 0(CX)
MOVL BX, 4(CX)
RET