Created
March 31, 2017 05:12
-
-
Save 9il/f9865082bd1360676e184fa23e4f2edc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.section __TEXT,__text,regular,pure_instructions | |
.globl _dot_reg_basic_simple | |
.p2align 4, 0x90 | |
_dot_reg_basic_simple: | |
.cfi_startproc | |
vxorps %ymm0, %ymm0, %ymm0 | |
vxorps %ymm1, %ymm1, %ymm1 | |
vxorps %ymm2, %ymm2, %ymm2 | |
vxorps %ymm3, %ymm3, %ymm3 | |
vxorps %ymm4, %ymm4, %ymm4 | |
vxorps %ymm5, %ymm5, %ymm5 | |
vxorps %ymm6, %ymm6, %ymm6 | |
vxorps %ymm7, %ymm7, %ymm7 | |
vxorps %ymm8, %ymm8, %ymm8 | |
vxorps %ymm9, %ymm9, %ymm9 | |
vxorps %ymm10, %ymm10, %ymm10 | |
vxorps %ymm11, %ymm11, %ymm11 | |
movq %rdx, %r8 | |
movq %rdi, %rax | |
.p2align 4, 0x90 | |
LBB0_1: | |
prefetcht0 512(%rax) | |
vmovaps (%rax), %ymm12 | |
vmovaps 32(%rax), %ymm13 | |
vbroadcastss (%rsi), %ymm14 | |
vbroadcastss 4(%rsi), %ymm15 | |
vfmadd231ps %ymm12, %ymm14, %ymm11 | |
vfmadd231ps %ymm13, %ymm14, %ymm10 | |
vfmadd231ps %ymm12, %ymm15, %ymm9 | |
vfmadd231ps %ymm13, %ymm15, %ymm8 | |
vbroadcastss 8(%rsi), %ymm14 | |
vbroadcastss 12(%rsi), %ymm15 | |
vfmadd231ps %ymm12, %ymm14, %ymm7 | |
vfmadd231ps %ymm13, %ymm14, %ymm6 | |
vfmadd231ps %ymm12, %ymm15, %ymm5 | |
vfmadd231ps %ymm13, %ymm15, %ymm4 | |
vbroadcastss 16(%rsi), %ymm14 | |
vbroadcastss 20(%rsi), %ymm15 | |
vfmadd231ps %ymm12, %ymm14, %ymm3 | |
vfmadd231ps %ymm13, %ymm14, %ymm2 | |
vfmadd231ps %ymm12, %ymm15, %ymm1 | |
vfmadd231ps %ymm13, %ymm15, %ymm0 | |
addq $64, %rax | |
addq $24, %rsi | |
addq $-1, %r8 | |
jne LBB0_1 | |
shlq $6, %rdx | |
addq %rdx, %rdi | |
vmovaps %ymm11, (%rcx) | |
vmovaps %ymm10, 32(%rcx) | |
vmovaps %ymm9, 64(%rcx) | |
vmovaps %ymm8, 96(%rcx) | |
vmovaps %ymm7, 128(%rcx) | |
vmovaps %ymm6, 160(%rcx) | |
vmovaps %ymm5, 192(%rcx) | |
vmovaps %ymm4, 224(%rcx) | |
vmovaps %ymm3, 256(%rcx) | |
vmovaps %ymm2, 288(%rcx) | |
vmovaps %ymm1, 320(%rcx) | |
vmovaps %ymm0, 352(%rcx) | |
movq %rdi, %rax | |
vzeroupper | |
retq | |
.cfi_endproc | |
.subsections_via_symbols |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment