aboutsummaryrefslogtreecommitdiff
path: root/dppd.s
diff options
context:
space:
mode:
Diffstat (limited to 'dppd.s')
-rw-r--r--dppd.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/dppd.s b/dppd.s
index b746117..db805ff 100644
--- a/dppd.s
+++ b/dppd.s
@@ -99,6 +99,7 @@ TEXT fma(SB), 1, $0
VFMADD231SD(rX1, rX2, rX0)
RET
+/* TODO: write only 24 bytes */
TEXT addpt2_avx(SB), 1, $0
MOVQ SP, AX
ADDQ $8, AX
@@ -107,3 +108,12 @@ TEXT addpt2_avx(SB), 1, $0
VADDPD_256rr(rX1, rX0, rX0)
VMOVDQU_256rm(rX0, rAX)
RET
+
+TEXT addpt3_avx(SB), 1, $0
+ MOVQ SP, AX
+ ADDQ $8, AX
+ VMOVDQU_256mr(8, rAX, rX0)
+ VMOVDQU_256mr(40, rAX, rX1)
+ VADDPD_256rr(rX1, rX0, rX0)
+ VMOVDQU_256rm(rX0, rAX)
+ RET