Blame thirdparty/openblas/xianyi-OpenBLAS-e6e87a2/kernel/x86_64/zgemv_t_dup.S

kusano 2b45e8
/*********************************************************************/
kusano 2b45e8
/* Copyright 2009, 2010 The University of Texas at Austin.           */
kusano 2b45e8
/* All rights reserved.                                              */
kusano 2b45e8
/*                                                                   */
kusano 2b45e8
/* Redistribution and use in source and binary forms, with or        */
kusano 2b45e8
/* without modification, are permitted provided that the following   */
kusano 2b45e8
/* conditions are met:                                               */
kusano 2b45e8
/*                                                                   */
kusano 2b45e8
/*   1. Redistributions of source code must retain the above         */
kusano 2b45e8
/*      copyright notice, this list of conditions and the following  */
kusano 2b45e8
/*      disclaimer.                                                  */
kusano 2b45e8
/*                                                                   */
kusano 2b45e8
/*   2. Redistributions in binary form must reproduce the above      */
kusano 2b45e8
/*      copyright notice, this list of conditions and the following  */
kusano 2b45e8
/*      disclaimer in the documentation and/or other materials       */
kusano 2b45e8
/*      provided with the distribution.                              */
kusano 2b45e8
/*                                                                   */
kusano 2b45e8
/*    THIS  SOFTWARE IS PROVIDED  BY THE  UNIVERSITY OF  TEXAS AT    */
kusano 2b45e8
/*    AUSTIN  ``AS IS''  AND ANY  EXPRESS OR  IMPLIED WARRANTIES,    */
kusano 2b45e8
/*    INCLUDING, BUT  NOT LIMITED  TO, THE IMPLIED  WARRANTIES OF    */
kusano 2b45e8
/*    MERCHANTABILITY  AND FITNESS FOR  A PARTICULAR  PURPOSE ARE    */
kusano 2b45e8
/*    DISCLAIMED.  IN  NO EVENT SHALL THE UNIVERSITY  OF TEXAS AT    */
kusano 2b45e8
/*    AUSTIN OR CONTRIBUTORS BE  LIABLE FOR ANY DIRECT, INDIRECT,    */
kusano 2b45e8
/*    INCIDENTAL,  SPECIAL, EXEMPLARY,  OR  CONSEQUENTIAL DAMAGES    */
kusano 2b45e8
/*    (INCLUDING, BUT  NOT LIMITED TO,  PROCUREMENT OF SUBSTITUTE    */
kusano 2b45e8
/*    GOODS  OR  SERVICES; LOSS  OF  USE,  DATA,  OR PROFITS;  OR    */
kusano 2b45e8
/*    BUSINESS INTERRUPTION) HOWEVER CAUSED  AND ON ANY THEORY OF    */
kusano 2b45e8
/*    LIABILITY, WHETHER  IN CONTRACT, STRICT  LIABILITY, OR TORT    */
kusano 2b45e8
/*    (INCLUDING NEGLIGENCE OR OTHERWISE)  ARISING IN ANY WAY OUT    */
kusano 2b45e8
/*    OF  THE  USE OF  THIS  SOFTWARE,  EVEN  IF ADVISED  OF  THE    */
kusano 2b45e8
/*    POSSIBILITY OF SUCH DAMAGE.                                    */
kusano 2b45e8
/*                                                                   */
kusano 2b45e8
/* The views and conclusions contained in the software and           */
kusano 2b45e8
/* documentation are those of the authors and should not be          */
kusano 2b45e8
/* interpreted as representing official policies, either expressed   */
kusano 2b45e8
/* or implied, of The University of Texas at Austin.                 */
kusano 2b45e8
/*********************************************************************/
kusano 2b45e8
kusano 2b45e8
#define ASSEMBLER
kusano 2b45e8
#include "common.h"
kusano 2b45e8
#include "l2param.h"
kusano 2b45e8
kusano 2b45e8
#ifndef WINDOWS_ABI
kusano 2b45e8
kusano 2b45e8
#define STACKSIZE	64
kusano 2b45e8
	
kusano 2b45e8
#define OLD_INCX	 8 + STACKSIZE(%rsp)
kusano 2b45e8
#define OLD_Y		16 + STACKSIZE(%rsp)
kusano 2b45e8
#define OLD_INCY	24 + STACKSIZE(%rsp)
kusano 2b45e8
#define OLD_BUFFER	32 + STACKSIZE(%rsp)
kusano 2b45e8
	
kusano 2b45e8
#define M	  %rdi
kusano 2b45e8
#define N	  %rsi
kusano 2b45e8
#define A	  %rcx
kusano 2b45e8
#define LDA	  %r8
kusano 2b45e8
#define X	  %r9
kusano 2b45e8
#define INCX	  %rdx
kusano 2b45e8
#define Y	  %rbp
kusano 2b45e8
#define INCY	  %r10
kusano 2b45e8
kusano 2b45e8
#else
kusano 2b45e8
kusano 2b45e8
#define STACKSIZE	256
kusano 2b45e8
	
kusano 2b45e8
#define OLD_ALPHA_I	 40 + STACKSIZE(%rsp)
kusano 2b45e8
#define OLD_A		 48 + STACKSIZE(%rsp)
kusano 2b45e8
#define OLD_LDA		 56 + STACKSIZE(%rsp)
kusano 2b45e8
#define OLD_X		 64 + STACKSIZE(%rsp)
kusano 2b45e8
#define OLD_INCX	 72 + STACKSIZE(%rsp)
kusano 2b45e8
#define OLD_Y		 80 + STACKSIZE(%rsp)
kusano 2b45e8
#define OLD_INCY	 88 + STACKSIZE(%rsp)
kusano 2b45e8
#define OLD_BUFFER	 96 + STACKSIZE(%rsp)
kusano 2b45e8
kusano 2b45e8
#define M	  %rcx
kusano 2b45e8
#define N	  %rdx
kusano 2b45e8
#define A	  %r8
kusano 2b45e8
#define LDA	  %r9
kusano 2b45e8
#define X	  %rdi
kusano 2b45e8
#define INCX	  %rsi
kusano 2b45e8
#define Y	  %rbp
kusano 2b45e8
#define INCY	  %r10
kusano 2b45e8
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
#define I	%rax
kusano 2b45e8
#define J	%rbx
kusano 2b45e8
#define A1	%r11
kusano 2b45e8
#define A2	%r12
kusano 2b45e8
kusano 2b45e8
#define X1	%r13
kusano 2b45e8
#define Y1	%r14
kusano 2b45e8
#define BUFFER	%r15
kusano 2b45e8
kusano 2b45e8
#define ALPHA_R	 %xmm14
kusano 2b45e8
#define ALPHA_I	 %xmm15
kusano 2b45e8
kusano 2b45e8
#undef SUBPD
kusano 2b45e8
kusano 2b45e8
#ifndef CONJ
kusano 2b45e8
#define SUBPD	   addpd
kusano 2b45e8
#else
kusano 2b45e8
#define SUBPD	   subpd
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	PROLOGUE
kusano 2b45e8
	PROFCODE
kusano 2b45e8
kusano 2b45e8
	subq	$STACKSIZE, %rsp
kusano 2b45e8
	movq	%rbx,  0(%rsp)
kusano 2b45e8
	movq	%rbp,  8(%rsp)
kusano 2b45e8
	movq	%r12, 16(%rsp)
kusano 2b45e8
	movq	%r13, 24(%rsp)
kusano 2b45e8
	movq	%r14, 32(%rsp)
kusano 2b45e8
	movq	%r15, 40(%rsp)
kusano 2b45e8
kusano 2b45e8
#ifdef WINDOWS_ABI
kusano 2b45e8
	movq	%rdi,    48(%rsp)
kusano 2b45e8
	movq	%rsi,    56(%rsp)
kusano 2b45e8
	movups	%xmm6,   64(%rsp)
kusano 2b45e8
	movups	%xmm7,   80(%rsp)
kusano 2b45e8
	movups	%xmm8,   96(%rsp)
kusano 2b45e8
	movups	%xmm9,  112(%rsp)
kusano 2b45e8
	movups	%xmm10, 128(%rsp)
kusano 2b45e8
	movups	%xmm11, 144(%rsp)
kusano 2b45e8
	movups	%xmm12, 160(%rsp)
kusano 2b45e8
	movups	%xmm13, 176(%rsp)
kusano 2b45e8
	movups	%xmm14, 192(%rsp)
kusano 2b45e8
	movups	%xmm15, 208(%rsp)
kusano 2b45e8
kusano 2b45e8
	movq	OLD_A,     A
kusano 2b45e8
	movq	OLD_LDA,   LDA
kusano 2b45e8
	movq	OLD_X,     X
kusano 2b45e8
kusano 2b45e8
	movaps	%xmm3,       %xmm0
kusano 2b45e8
	movss	OLD_ALPHA_I, %xmm1
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	movq	OLD_INCX,  INCX
kusano 2b45e8
	movq	OLD_Y,     Y
kusano 2b45e8
	movq	OLD_INCY,  INCY
kusano 2b45e8
	movq	OLD_BUFFER, BUFFER
kusano 2b45e8
kusano 2b45e8
	salq	$ZBASE_SHIFT,   LDA
kusano 2b45e8
	salq	$ZBASE_SHIFT,   INCX
kusano 2b45e8
	salq	$ZBASE_SHIFT,   INCY
kusano 2b45e8
kusano 2b45e8
	pcmpeqb	%xmm5, %xmm5
kusano 2b45e8
	psllq	$63,   %xmm5
kusano 2b45e8
	shufps	$0x04, %xmm5, %xmm5
kusano 2b45e8
kusano 2b45e8
	unpcklpd %xmm1, %xmm0
kusano 2b45e8
kusano 2b45e8
	movaps	%xmm0, ALPHA_R
kusano 2b45e8
	pshufd	$0x4e, %xmm0,  ALPHA_I
kusano 2b45e8
kusano 2b45e8
	xorps	 %xmm5, ALPHA_I
kusano 2b45e8
kusano 2b45e8
	subq	$-16 * SIZE, A
kusano 2b45e8
	
kusano 2b45e8
	testq	M, M
kusano 2b45e8
	jle	.L999
kusano 2b45e8
	testq	N, N
kusano 2b45e8
	jle	.L999
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
	movq	BUFFER, X1
kusano 2b45e8
	
kusano 2b45e8
	movq	Y, Y1
kusano 2b45e8
kusano 2b45e8
	movq	M,  I
kusano 2b45e8
	sarq	$2, I
kusano 2b45e8
	jle	.L05
kusano 2b45e8
	ALIGN_4
kusano 2b45e8
kusano 2b45e8
.L02:
kusano 2b45e8
	movsd	 0 * SIZE(X), %xmm0
kusano 2b45e8
	movhpd	 1 * SIZE(X), %xmm0
kusano 2b45e8
	addq	INCX, X
kusano 2b45e8
kusano 2b45e8
	movsd	 0 * SIZE(X), %xmm1
kusano 2b45e8
	movhpd	 1 * SIZE(X), %xmm1
kusano 2b45e8
	addq	INCX, X
kusano 2b45e8
kusano 2b45e8
	movsd	 0 * SIZE(X), %xmm2
kusano 2b45e8
	movhpd	 1 * SIZE(X), %xmm2
kusano 2b45e8
	addq	INCX, X
kusano 2b45e8
kusano 2b45e8
	movsd	 0 * SIZE(X), %xmm3
kusano 2b45e8
	movhpd	 1 * SIZE(X), %xmm3
kusano 2b45e8
	addq	INCX, X
kusano 2b45e8
kusano 2b45e8
	movapd	%xmm0,  0 * SIZE(X1)
kusano 2b45e8
	movapd	%xmm1,  2 * SIZE(X1)
kusano 2b45e8
	movapd	%xmm2,  4 * SIZE(X1)
kusano 2b45e8
	movapd	%xmm3,  6 * SIZE(X1)
kusano 2b45e8
kusano 2b45e8
	addq	$8 * SIZE, X1
kusano 2b45e8
	decq	I
kusano 2b45e8
	jg	.L02
kusano 2b45e8
	ALIGN_4
kusano 2b45e8
kusano 2b45e8
.L05:
kusano 2b45e8
	movq	M,  I
kusano 2b45e8
	andq	$3, I
kusano 2b45e8
	jle	.L10
kusano 2b45e8
	ALIGN_2
kusano 2b45e8
kusano 2b45e8
.L06:
kusano 2b45e8
	movsd	 0 * SIZE(X), %xmm0
kusano 2b45e8
	movhpd	 1 * SIZE(X), %xmm0
kusano 2b45e8
	addq	INCX, X
kusano 2b45e8
	movapd	%xmm0, 0 * SIZE(X1)
kusano 2b45e8
	addq	$2 * SIZE, X1
kusano 2b45e8
	decq	I
kusano 2b45e8
	jg	.L06
kusano 2b45e8
	ALIGN_4
kusano 2b45e8
kusano 2b45e8
.L10:
kusano 2b45e8
#if GEMV_UNROLL >= 4
kusano 2b45e8
kusano 2b45e8
	cmpq	$4, N
kusano 2b45e8
	jl	.L20
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L11:
kusano 2b45e8
	subq	$4, N
kusano 2b45e8
kusano 2b45e8
	leaq	16 * SIZE(BUFFER), X1
kusano 2b45e8
kusano 2b45e8
	movq	A, A1
kusano 2b45e8
	leaq	(A1, LDA, 2), A2
kusano 2b45e8
	leaq	(A1, LDA, 4), A
kusano 2b45e8
kusano 2b45e8
	MOVUPS_XL1(-16 * SIZE, X1, %xmm12)
kusano 2b45e8
	xorps	%xmm0, %xmm0
kusano 2b45e8
	xorps	%xmm1, %xmm1
kusano 2b45e8
	xorps	%xmm2, %xmm2
kusano 2b45e8
	xorps	%xmm3, %xmm3
kusano 2b45e8
	MOVUPS_XL1(-14 * SIZE, X1, %xmm13)
kusano 2b45e8
	xorps	%xmm4, %xmm4
kusano 2b45e8
	xorps	%xmm5, %xmm5
kusano 2b45e8
	xorps	%xmm6, %xmm6
kusano 2b45e8
	xorps	%xmm7, %xmm7
kusano 2b45e8
kusano 2b45e8
#ifdef PREFETCHW
kusano 2b45e8
	PREFETCHW	3 * SIZE(Y1)
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	movq	M,   I
kusano 2b45e8
	sarq	$2,  I
kusano 2b45e8
	jle	.L15
kusano 2b45e8
kusano 2b45e8
	movddup	-16 * SIZE(A1), %xmm8
kusano 2b45e8
	movddup	-15 * SIZE(A1), %xmm9
kusano 2b45e8
	movddup	-16 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	movddup	-15 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	decq	 I
kusano 2b45e8
	jle	 .L14
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L13:
kusano 2b45e8
#ifdef PREFETCH
kusano 2b45e8
	PREFETCH	(PREFETCHSIZE) - 128 + PREOFFSET(A1)
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-16 * SIZE(A2), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	movddup	-15 * SIZE(A2), %xmm9
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-16 * SIZE(A2, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	-15 * SIZE(A2, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm4
kusano 2b45e8
	movddup	-14 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm5
kusano 2b45e8
	movddup	-13 * SIZE(A1), %xmm9
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm6
kusano 2b45e8
	movddup	-14 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	MOVUPS_XL1(-12 * SIZE, X1, %xmm12)
kusano 2b45e8
	addpd	%xmm11, %xmm7
kusano 2b45e8
	movddup	-13 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
#ifdef PREFETCH
kusano 2b45e8
	PREFETCH	(PREFETCHSIZE) - 128 + PREOFFSET(A1, LDA)
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-14 * SIZE(A2), %xmm8
kusano 2b45e8
	mulpd	%xmm13, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	movddup	-13 * SIZE(A2), %xmm9
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-14 * SIZE(A2, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	-13 * SIZE(A2, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm4
kusano 2b45e8
	movddup	-12 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm13, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm5
kusano 2b45e8
	movddup	-11 * SIZE(A1), %xmm9
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm6
kusano 2b45e8
	movddup	-12 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	MOVUPS_XL1(-10 * SIZE, X1, %xmm13)
kusano 2b45e8
	addpd	%xmm11, %xmm7
kusano 2b45e8
	movddup	-11 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
#ifdef PREFETCH
kusano 2b45e8
	PREFETCH	(PREFETCHSIZE) - 128 + PREOFFSET(A2)
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-12 * SIZE(A2), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	movddup	-11 * SIZE(A2), %xmm9
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-12 * SIZE(A2, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	-11 * SIZE(A2, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm4
kusano 2b45e8
	movddup	-10 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm5
kusano 2b45e8
	movddup	 -9 * SIZE(A1), %xmm9
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm6
kusano 2b45e8
	movddup	-10 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	MOVUPS_XL1( -8 * SIZE, X1, %xmm12)
kusano 2b45e8
	addpd	%xmm11, %xmm7
kusano 2b45e8
	movddup	 -9 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
#ifdef PREFETCH
kusano 2b45e8
	PREFETCH	(PREFETCHSIZE) - 128 + PREOFFSET(A2, LDA)
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-10 * SIZE(A2), %xmm8
kusano 2b45e8
	mulpd	%xmm13, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	movddup	 -9 * SIZE(A2), %xmm9
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-10 * SIZE(A2, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	 -9 * SIZE(A2, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
#ifdef PREFETCHW
kusano 2b45e8
	PREFETCH	(PREFETCHSIZE) - 128 + PREOFFSET(X1)
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm4
kusano 2b45e8
	movddup	 -8 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm13, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm5
kusano 2b45e8
	movddup	 -7 * SIZE(A1), %xmm9
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm6
kusano 2b45e8
	movddup	 -8 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	MOVUPS_XL1( -6 * SIZE, X1, %xmm13)
kusano 2b45e8
	addpd	%xmm11, %xmm7
kusano 2b45e8
	movddup	 -7 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	subq	 $-8 * SIZE, A1
kusano 2b45e8
	subq	 $-8 * SIZE, A2
kusano 2b45e8
	subq	 $-8 * SIZE, X1
kusano 2b45e8
kusano 2b45e8
	subq	 $1, I
kusano 2b45e8
	BRANCH
kusano 2b45e8
	jg	.L13
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L14:
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-16 * SIZE(A2), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	movddup	-15 * SIZE(A2), %xmm9
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-16 * SIZE(A2, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	-15 * SIZE(A2, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm4
kusano 2b45e8
	movddup	-14 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm5
kusano 2b45e8
	movddup	-13 * SIZE(A1), %xmm9
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm6
kusano 2b45e8
	movddup	-14 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	MOVUPS_XL1(-12 * SIZE, X1, %xmm12)
kusano 2b45e8
	addpd	%xmm11, %xmm7
kusano 2b45e8
	movddup	-13 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-14 * SIZE(A2), %xmm8
kusano 2b45e8
	mulpd	%xmm13, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	movddup	-13 * SIZE(A2), %xmm9
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-14 * SIZE(A2, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	-13 * SIZE(A2, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm4
kusano 2b45e8
	movddup	-12 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm13, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm5
kusano 2b45e8
	movddup	-11 * SIZE(A1), %xmm9
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm6
kusano 2b45e8
	movddup	-12 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	MOVUPS_XL1(-10 * SIZE, X1, %xmm13)
kusano 2b45e8
	addpd	%xmm11, %xmm7
kusano 2b45e8
	movddup	-11 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-12 * SIZE(A2), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	movddup	-11 * SIZE(A2), %xmm9
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-12 * SIZE(A2, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	-11 * SIZE(A2, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm4
kusano 2b45e8
	movddup	-10 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm5
kusano 2b45e8
	movddup	 -9 * SIZE(A1), %xmm9
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm6
kusano 2b45e8
	movddup	-10 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	MOVUPS_XL1( -8 * SIZE, X1, %xmm12)
kusano 2b45e8
	addpd	%xmm11, %xmm7
kusano 2b45e8
	movddup	 -9 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-10 * SIZE(A2), %xmm8
kusano 2b45e8
	mulpd	%xmm13, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	movddup	 -9 * SIZE(A2), %xmm9
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-10 * SIZE(A2, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	 -9 * SIZE(A2, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm4
kusano 2b45e8
	mulpd	%xmm13, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm5
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm6
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	MOVUPS_XL1( -6 * SIZE, X1, %xmm13)
kusano 2b45e8
	addpd	%xmm11, %xmm7
kusano 2b45e8
kusano 2b45e8
	subq	 $-8 * SIZE, A1
kusano 2b45e8
	subq	 $-8 * SIZE, A2
kusano 2b45e8
	subq	 $-8 * SIZE, X1
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L15:
kusano 2b45e8
	testq	$2, M
kusano 2b45e8
	je	.L17
kusano 2b45e8
kusano 2b45e8
	movddup	-16 * SIZE(A1), %xmm8
kusano 2b45e8
	movddup	-15 * SIZE(A1), %xmm9
kusano 2b45e8
	movddup	-16 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	movddup	-15 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-16 * SIZE(A2), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	movddup	-15 * SIZE(A2), %xmm9
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-16 * SIZE(A2, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	-15 * SIZE(A2, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm4
kusano 2b45e8
	movddup	-14 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm5
kusano 2b45e8
	movddup	-13 * SIZE(A1), %xmm9
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm6
kusano 2b45e8
	movddup	-14 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	addpd	%xmm11, %xmm7
kusano 2b45e8
	movddup	-13 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	MOVUPS_XL1(-12 * SIZE, X1, %xmm12)
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-14 * SIZE(A2), %xmm8
kusano 2b45e8
	mulpd	%xmm13, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	movddup	-13 * SIZE(A2), %xmm9
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-14 * SIZE(A2, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	-13 * SIZE(A2, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm4
kusano 2b45e8
	mulpd	%xmm13, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm5
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm6
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	addpd	%xmm11, %xmm7
kusano 2b45e8
kusano 2b45e8
	addq	 $4 * SIZE, A1
kusano 2b45e8
	addq	 $4 * SIZE, A2
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L17:
kusano 2b45e8
	testq	$1, M
kusano 2b45e8
	je	.L19
kusano 2b45e8
kusano 2b45e8
	movddup	-16 * SIZE(A1), %xmm8
kusano 2b45e8
	movddup	-15 * SIZE(A1), %xmm9
kusano 2b45e8
	movddup	-16 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	movddup	-15 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-16 * SIZE(A2), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	movddup	-15 * SIZE(A2), %xmm9
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-16 * SIZE(A2, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	-15 * SIZE(A2, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm4
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm5
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm6
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	addpd	%xmm11, %xmm7
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L19:
kusano 2b45e8
	pcmpeqb	%xmm13, %xmm13
kusano 2b45e8
	psllq	$63,    %xmm13
kusano 2b45e8
	shufps	$0x40, %xmm13, %xmm13
kusano 2b45e8
	
kusano 2b45e8
#ifndef XCONJ
kusano 2b45e8
	xorps	%xmm13, %xmm1
kusano 2b45e8
	xorps	%xmm13, %xmm3
kusano 2b45e8
	xorps	%xmm13, %xmm5
kusano 2b45e8
	xorps	%xmm13, %xmm7
kusano 2b45e8
#else
kusano 2b45e8
	xorps	%xmm13, %xmm0
kusano 2b45e8
	xorps	%xmm13, %xmm2
kusano 2b45e8
	xorps	%xmm13, %xmm4
kusano 2b45e8
	xorps	%xmm13, %xmm6
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	pshufd	$0x4e, %xmm1, %xmm1
kusano 2b45e8
	pshufd	$0x4e, %xmm3, %xmm3
kusano 2b45e8
	pshufd	$0x4e, %xmm5, %xmm5
kusano 2b45e8
	pshufd	$0x4e, %xmm7, %xmm7
kusano 2b45e8
kusano 2b45e8
#ifndef CONJ
kusano 2b45e8
	addpd	%xmm1, %xmm0
kusano 2b45e8
	addpd	%xmm3, %xmm2
kusano 2b45e8
	addpd	%xmm5, %xmm4
kusano 2b45e8
	addpd	%xmm7, %xmm6
kusano 2b45e8
#else
kusano 2b45e8
	subpd	%xmm1, %xmm0
kusano 2b45e8
	subpd	%xmm3, %xmm2
kusano 2b45e8
	subpd	%xmm5, %xmm4
kusano 2b45e8
	subpd	%xmm7, %xmm6
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	pshufd	$0xee, %xmm0, %xmm1
kusano 2b45e8
	movddup	%xmm0, %xmm0
kusano 2b45e8
	pshufd	$0xee, %xmm2, %xmm3
kusano 2b45e8
	movddup	%xmm2, %xmm2
kusano 2b45e8
	pshufd	$0xee, %xmm4, %xmm5
kusano 2b45e8
	movddup	%xmm4, %xmm4
kusano 2b45e8
	pshufd	$0xee, %xmm6, %xmm7
kusano 2b45e8
	movddup	%xmm6, %xmm6
kusano 2b45e8
kusano 2b45e8
	mulpd	ALPHA_R, %xmm0
kusano 2b45e8
	mulpd	ALPHA_I, %xmm1
kusano 2b45e8
	mulpd	ALPHA_R, %xmm2
kusano 2b45e8
	mulpd	ALPHA_I, %xmm3
kusano 2b45e8
	mulpd	ALPHA_R, %xmm4
kusano 2b45e8
	mulpd	ALPHA_I, %xmm5
kusano 2b45e8
	mulpd	ALPHA_R, %xmm6
kusano 2b45e8
	mulpd	ALPHA_I, %xmm7
kusano 2b45e8
kusano 2b45e8
	addpd	%xmm1, %xmm0
kusano 2b45e8
	addpd	%xmm3, %xmm2
kusano 2b45e8
	addpd	%xmm5, %xmm4
kusano 2b45e8
	addpd	%xmm7, %xmm6
kusano 2b45e8
kusano 2b45e8
	movsd	 0 * SIZE(Y), %xmm1
kusano 2b45e8
	movhpd	 1 * SIZE(Y), %xmm1
kusano 2b45e8
	addq	INCY, Y
kusano 2b45e8
	movsd	 0 * SIZE(Y), %xmm3
kusano 2b45e8
	movhpd	 1 * SIZE(Y), %xmm3
kusano 2b45e8
	addq	INCY, Y
kusano 2b45e8
	movsd	 0 * SIZE(Y), %xmm5
kusano 2b45e8
	movhpd	 1 * SIZE(Y), %xmm5
kusano 2b45e8
	addq	INCY, Y
kusano 2b45e8
	movsd	 0 * SIZE(Y), %xmm7
kusano 2b45e8
	movhpd	 1 * SIZE(Y), %xmm7
kusano 2b45e8
	addq	INCY, Y
kusano 2b45e8
kusano 2b45e8
	addpd	%xmm1, %xmm0
kusano 2b45e8
	addpd	%xmm3, %xmm2
kusano 2b45e8
	addpd	%xmm5, %xmm4
kusano 2b45e8
	addpd	%xmm7, %xmm6
kusano 2b45e8
kusano 2b45e8
	movlpd	%xmm0,  0 * SIZE(Y1)
kusano 2b45e8
	movhpd	%xmm0,  1 * SIZE(Y1)
kusano 2b45e8
	addq	INCY, Y1
kusano 2b45e8
	movlpd	%xmm2,  0 * SIZE(Y1)
kusano 2b45e8
	movhpd	%xmm2,  1 * SIZE(Y1)
kusano 2b45e8
	addq	INCY, Y1
kusano 2b45e8
	movlpd	%xmm4,  0 * SIZE(Y1)
kusano 2b45e8
	movhpd	%xmm4,  1 * SIZE(Y1)
kusano 2b45e8
	addq	INCY, Y1
kusano 2b45e8
	movlpd	%xmm6,  0 * SIZE(Y1)
kusano 2b45e8
	movhpd	%xmm6,  1 * SIZE(Y1)
kusano 2b45e8
	addq	INCY, Y1
kusano 2b45e8
kusano 2b45e8
	cmpq	$4, N
kusano 2b45e8
	jge	.L11
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L20:
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
#if GEMV_UNROLL >= 2
kusano 2b45e8
kusano 2b45e8
	cmpq	$2, N
kusano 2b45e8
	jl	.L30
kusano 2b45e8
kusano 2b45e8
#if GEMV_UNROLL == 2
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L21:
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	subq	$2, N
kusano 2b45e8
kusano 2b45e8
	leaq	16 * SIZE(BUFFER), X1
kusano 2b45e8
kusano 2b45e8
	movq	A, A1
kusano 2b45e8
	leaq	(A1, LDA), A2
kusano 2b45e8
	leaq	(A1, LDA, 2), A
kusano 2b45e8
kusano 2b45e8
	MOVUPS_XL1(-16 * SIZE, X1, %xmm12)
kusano 2b45e8
	xorps	%xmm0, %xmm0
kusano 2b45e8
	xorps	%xmm1, %xmm1
kusano 2b45e8
	MOVUPS_XL1(-14 * SIZE, X1, %xmm13)
kusano 2b45e8
	xorps	%xmm2, %xmm2
kusano 2b45e8
	xorps	%xmm3, %xmm3
kusano 2b45e8
kusano 2b45e8
#ifdef PREFETCHW
kusano 2b45e8
	PREFETCHW	3 * SIZE(Y1)
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	movq	M,   I
kusano 2b45e8
	sarq	$2,  I
kusano 2b45e8
	jle	.L25
kusano 2b45e8
kusano 2b45e8
	movddup	-16 * SIZE(A1), %xmm8
kusano 2b45e8
	movddup	-15 * SIZE(A1), %xmm9
kusano 2b45e8
	movddup	-16 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	movddup	-15 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	decq	 I
kusano 2b45e8
	jle	 .L24
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L23:
kusano 2b45e8
#ifdef PREFETCH
kusano 2b45e8
	PREFETCH	(PREFETCHSIZE) * 2 - 128 + PREOFFSET(A1)
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-14 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
 	movddup	-13 * SIZE(A1), %xmm9
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-14 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	MOVUPS_XL1(-12 * SIZE, X1, %xmm12)
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	-13 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-12 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm13, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	movddup	-11 * SIZE(A1), %xmm9
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-12 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	MOVUPS_XL1(-10 * SIZE, X1, %xmm13)
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	-11 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
#ifdef PREFETCH
kusano 2b45e8
	PREFETCH	(PREFETCHSIZE) * 2 - 128 + PREOFFSET(A2)
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-10 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
 	movddup	 -9 * SIZE(A1), %xmm9
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-10 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	MOVUPS_XL1( -8 * SIZE, X1, %xmm12)
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	 -9 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
#ifdef PREFETCHW
kusano 2b45e8
	PREFETCH	(PREFETCHSIZE) * 2 - 128 + PREOFFSET(X1)
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	 -8 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm13, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	movddup	 -7 * SIZE(A1), %xmm9
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	 -8 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	MOVUPS_XL1( -6 * SIZE, X1, %xmm13)
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	 -7 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	subq	 $-8 * SIZE, A1
kusano 2b45e8
	subq	 $-8 * SIZE, A2
kusano 2b45e8
	subq	 $-8 * SIZE, X1
kusano 2b45e8
kusano 2b45e8
	subq	 $1, I
kusano 2b45e8
	BRANCH
kusano 2b45e8
	jg	.L23
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L24:
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-14 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
 	movddup	-13 * SIZE(A1), %xmm9
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-14 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	MOVUPS_XL1(-12 * SIZE, X1, %xmm12)
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	-13 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-12 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm13, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	movddup	-11 * SIZE(A1), %xmm9
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-12 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	MOVUPS_XL1(-10 * SIZE, X1, %xmm13)
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	-11 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-10 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
 	movddup	 -9 * SIZE(A1), %xmm9
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-10 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	MOVUPS_XL1( -8 * SIZE, X1, %xmm12)
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	 -9 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	mulpd	%xmm13, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	MOVUPS_XL1( -6 * SIZE, X1, %xmm13)
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
kusano 2b45e8
	subq	 $-8 * SIZE, A1
kusano 2b45e8
	subq	 $-8 * SIZE, A2
kusano 2b45e8
	subq	 $-8 * SIZE, X1
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L25:
kusano 2b45e8
	testq	$2, M
kusano 2b45e8
	je	.L27
kusano 2b45e8
kusano 2b45e8
	movddup	-16 * SIZE(A1), %xmm8
kusano 2b45e8
	movddup	-15 * SIZE(A1), %xmm9
kusano 2b45e8
	movddup	-16 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	movddup	-15 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-14 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
 	movddup	-13 * SIZE(A1), %xmm9
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-14 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	MOVUPS_XL1(-12 * SIZE, X1, %xmm12)
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	movddup	-13 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	mulpd	%xmm13, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
kusano 2b45e8
	addq	 $4 * SIZE, A1
kusano 2b45e8
	addq	 $4 * SIZE, A2
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L27:
kusano 2b45e8
	testq	$1, M
kusano 2b45e8
	je	.L29
kusano 2b45e8
kusano 2b45e8
	movddup	-16 * SIZE(A1), %xmm8
kusano 2b45e8
	movddup	-15 * SIZE(A1), %xmm9
kusano 2b45e8
	movddup	-16 * SIZE(A1, LDA), %xmm10
kusano 2b45e8
	movddup	-15 * SIZE(A1, LDA), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	mulpd	%xmm12, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	mulpd	%xmm12, %xmm11
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L29:
kusano 2b45e8
	pcmpeqb	%xmm13, %xmm13
kusano 2b45e8
	psllq	$63,    %xmm13
kusano 2b45e8
	shufps	$0x40, %xmm13, %xmm13
kusano 2b45e8
	
kusano 2b45e8
#ifndef XCONJ
kusano 2b45e8
	xorps	%xmm13, %xmm1
kusano 2b45e8
	xorps	%xmm13, %xmm3
kusano 2b45e8
#else
kusano 2b45e8
	xorps	%xmm13, %xmm0
kusano 2b45e8
	xorps	%xmm13, %xmm2
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	pshufd	$0x4e, %xmm1, %xmm1
kusano 2b45e8
	pshufd	$0x4e, %xmm3, %xmm3
kusano 2b45e8
kusano 2b45e8
#ifndef CONJ
kusano 2b45e8
	addpd	%xmm1, %xmm0
kusano 2b45e8
	addpd	%xmm3, %xmm2
kusano 2b45e8
#else
kusano 2b45e8
	subpd	%xmm1, %xmm0
kusano 2b45e8
	subpd	%xmm3, %xmm2
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	pshufd	$0xee, %xmm0, %xmm1
kusano 2b45e8
	movddup	%xmm0, %xmm0
kusano 2b45e8
	pshufd	$0xee, %xmm2, %xmm3
kusano 2b45e8
	movddup	%xmm2, %xmm2
kusano 2b45e8
kusano 2b45e8
	mulpd	ALPHA_R, %xmm0
kusano 2b45e8
	mulpd	ALPHA_I, %xmm1
kusano 2b45e8
	mulpd	ALPHA_R, %xmm2
kusano 2b45e8
	mulpd	ALPHA_I, %xmm3
kusano 2b45e8
kusano 2b45e8
	addpd	%xmm1, %xmm0
kusano 2b45e8
	addpd	%xmm3, %xmm2
kusano 2b45e8
kusano 2b45e8
	movsd	 0 * SIZE(Y), %xmm1
kusano 2b45e8
	movhpd	 1 * SIZE(Y), %xmm1
kusano 2b45e8
	addq	INCY, Y
kusano 2b45e8
	movsd	 0 * SIZE(Y), %xmm3
kusano 2b45e8
	movhpd	 1 * SIZE(Y), %xmm3
kusano 2b45e8
	addq	INCY, Y
kusano 2b45e8
kusano 2b45e8
	addpd	%xmm1, %xmm0
kusano 2b45e8
	addpd	%xmm3, %xmm2
kusano 2b45e8
kusano 2b45e8
	movlpd	%xmm0,  0 * SIZE(Y1)
kusano 2b45e8
	movhpd	%xmm0,  1 * SIZE(Y1)
kusano 2b45e8
	addq	INCY, Y1
kusano 2b45e8
	movlpd	%xmm2,  0 * SIZE(Y1)
kusano 2b45e8
	movhpd	%xmm2,  1 * SIZE(Y1)
kusano 2b45e8
	addq	INCY, Y1
kusano 2b45e8
kusano 2b45e8
#if GEMV_UNROLL == 2
kusano 2b45e8
	cmpq	$2, N
kusano 2b45e8
	jge	.L21
kusano 2b45e8
#endif
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L30:
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	cmpq	$1, N
kusano 2b45e8
	jl	.L999
kusano 2b45e8
kusano 2b45e8
#if GEMV_UNROLL == 1
kusano 2b45e8
.L31:
kusano 2b45e8
	decq	N
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	leaq	16 * SIZE(BUFFER), X1
kusano 2b45e8
kusano 2b45e8
	movq	A, A1
kusano 2b45e8
#if GEMV_UNROLL == 1
kusano 2b45e8
	addq	LDA, A
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	MOVUPS_XL1(-16 * SIZE, X1, %xmm12)
kusano 2b45e8
	xorps	%xmm0, %xmm0
kusano 2b45e8
	xorps	%xmm1, %xmm1
kusano 2b45e8
	MOVUPS_XL1(-14 * SIZE, X1, %xmm13)
kusano 2b45e8
	xorps	%xmm2, %xmm2
kusano 2b45e8
	xorps	%xmm3, %xmm3
kusano 2b45e8
kusano 2b45e8
	movq	M,   I
kusano 2b45e8
	sarq	$2,  I
kusano 2b45e8
	jle	.L35
kusano 2b45e8
kusano 2b45e8
	movddup	-16 * SIZE(A1), %xmm8
kusano 2b45e8
	movddup	-15 * SIZE(A1), %xmm9
kusano 2b45e8
	movddup	-14 * SIZE(A1), %xmm10
kusano 2b45e8
 	movddup	-13 * SIZE(A1), %xmm11
kusano 2b45e8
kusano 2b45e8
	decq	 I
kusano 2b45e8
	jle	 .L34
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L33:
kusano 2b45e8
#ifdef PREFETCH
kusano 2b45e8
	PREFETCH	(PREFETCHSIZE) * 4 - 128 + PREOFFSET(A1)
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-12 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	MOVUPS_XL1(-12 * SIZE, X1, %xmm12)
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	movddup	-11 * SIZE(A1), %xmm9
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-10 * SIZE(A1), %xmm10
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	MOVUPS_XL1(-10 * SIZE, X1, %xmm13)
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
 	movddup	 -9 * SIZE(A1), %xmm11
kusano 2b45e8
kusano 2b45e8
#ifdef PREFETCHW
kusano 2b45e8
	PREFETCH	(PREFETCHSIZE) * 4 - 128 + PREOFFSET(X1)
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	 -8 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	MOVUPS_XL1( -8 * SIZE, X1, %xmm12)
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	movddup	 -7 * SIZE(A1), %xmm9
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	 -6 * SIZE(A1), %xmm10
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	MOVUPS_XL1( -6 * SIZE, X1, %xmm13)
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
 	movddup	 -5 * SIZE(A1), %xmm11
kusano 2b45e8
kusano 2b45e8
	subq	 $-8 * SIZE, A1
kusano 2b45e8
	subq	 $-8 * SIZE, X1
kusano 2b45e8
kusano 2b45e8
	subq	 $1, I
kusano 2b45e8
	BRANCH
kusano 2b45e8
	jg	.L33
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L34:
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	movddup	-12 * SIZE(A1), %xmm8
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	MOVUPS_XL1(-12 * SIZE, X1, %xmm12)
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	movddup	-11 * SIZE(A1), %xmm9
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	movddup	-10 * SIZE(A1), %xmm10
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	MOVUPS_XL1(-10 * SIZE, X1, %xmm13)
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
 	movddup	 -9 * SIZE(A1), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	MOVUPS_XL1( -8 * SIZE, X1, %xmm12)
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	MOVUPS_XL1( -6 * SIZE, X1, %xmm13)
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
kusano 2b45e8
	subq	 $-8 * SIZE, A1
kusano 2b45e8
	subq	 $-8 * SIZE, X1
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L35:
kusano 2b45e8
	testq	$2, M
kusano 2b45e8
	je	.L37
kusano 2b45e8
kusano 2b45e8
	movddup	-16 * SIZE(A1), %xmm8
kusano 2b45e8
	movddup	-15 * SIZE(A1), %xmm9
kusano 2b45e8
	movddup	-14 * SIZE(A1), %xmm10
kusano 2b45e8
 	movddup	-13 * SIZE(A1), %xmm11
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	MOVUPS_XL1(-12 * SIZE, X1, %xmm12)
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm13, %xmm10
kusano 2b45e8
	addpd	%xmm10, %xmm2
kusano 2b45e8
	mulpd	%xmm13, %xmm11
kusano 2b45e8
	addpd	%xmm11, %xmm3
kusano 2b45e8
kusano 2b45e8
	addq	 $4 * SIZE, A1
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L37:
kusano 2b45e8
	testq	$1, M
kusano 2b45e8
	je	.L39
kusano 2b45e8
kusano 2b45e8
	movddup	-16 * SIZE(A1), %xmm8
kusano 2b45e8
	movddup	-15 * SIZE(A1), %xmm9
kusano 2b45e8
kusano 2b45e8
	mulpd	%xmm12, %xmm8
kusano 2b45e8
	addpd	%xmm8,  %xmm0
kusano 2b45e8
	mulpd	%xmm12, %xmm9
kusano 2b45e8
	addpd	%xmm9,  %xmm1
kusano 2b45e8
	ALIGN_3
kusano 2b45e8
kusano 2b45e8
.L39:
kusano 2b45e8
	addpd	%xmm2, %xmm0
kusano 2b45e8
	addpd	%xmm3, %xmm1
kusano 2b45e8
kusano 2b45e8
	pcmpeqb	%xmm13, %xmm13
kusano 2b45e8
	psllq	$63,    %xmm13
kusano 2b45e8
	shufps	$0x40, %xmm13, %xmm13
kusano 2b45e8
	
kusano 2b45e8
#ifndef XCONJ
kusano 2b45e8
	xorps	%xmm13, %xmm1
kusano 2b45e8
#else
kusano 2b45e8
	xorps	%xmm13, %xmm0
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	pshufd	$0x4e, %xmm1, %xmm1
kusano 2b45e8
kusano 2b45e8
#ifndef CONJ
kusano 2b45e8
	addpd	%xmm1, %xmm0
kusano 2b45e8
#else
kusano 2b45e8
	subpd	%xmm1, %xmm0
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	pshufd	$0xee, %xmm0, %xmm1
kusano 2b45e8
	movddup	%xmm0, %xmm0
kusano 2b45e8
kusano 2b45e8
	mulpd	ALPHA_R, %xmm0
kusano 2b45e8
	mulpd	ALPHA_I, %xmm1
kusano 2b45e8
kusano 2b45e8
	addpd	%xmm1, %xmm0
kusano 2b45e8
kusano 2b45e8
	movsd	 0 * SIZE(Y), %xmm1
kusano 2b45e8
	movhpd	 1 * SIZE(Y), %xmm1
kusano 2b45e8
kusano 2b45e8
	addpd	%xmm1, %xmm0
kusano 2b45e8
kusano 2b45e8
	movlpd	%xmm0,  0 * SIZE(Y1)
kusano 2b45e8
	movhpd	%xmm0,  1 * SIZE(Y1)
kusano 2b45e8
kusano 2b45e8
#if GEMV_UNROLL == 1
kusano 2b45e8
	addq	INCY, Y
kusano 2b45e8
	addq	INCY, Y1
kusano 2b45e8
kusano 2b45e8
	cmpq	$1, N
kusano 2b45e8
	jge	.L31
kusano 2b45e8
#endif
kusano 2b45e8
	ALIGN_4
kusano 2b45e8
kusano 2b45e8
.L999:
kusano 2b45e8
	movq	  0(%rsp), %rbx
kusano 2b45e8
	movq	  8(%rsp), %rbp
kusano 2b45e8
	movq	 16(%rsp), %r12
kusano 2b45e8
	movq	 24(%rsp), %r13
kusano 2b45e8
	movq	 32(%rsp), %r14
kusano 2b45e8
	movq	 40(%rsp), %r15
kusano 2b45e8
kusano 2b45e8
#ifdef WINDOWS_ABI
kusano 2b45e8
	movq	 48(%rsp), %rdi
kusano 2b45e8
	movq	 56(%rsp), %rsi
kusano 2b45e8
	movups	 64(%rsp), %xmm6
kusano 2b45e8
	movups	 80(%rsp), %xmm7
kusano 2b45e8
	movups	 96(%rsp), %xmm8
kusano 2b45e8
	movups	112(%rsp), %xmm9
kusano 2b45e8
	movups	128(%rsp), %xmm10
kusano 2b45e8
	movups	144(%rsp), %xmm11
kusano 2b45e8
	movups	160(%rsp), %xmm12
kusano 2b45e8
	movups	176(%rsp), %xmm13
kusano 2b45e8
	movups	192(%rsp), %xmm14
kusano 2b45e8
	movups	208(%rsp), %xmm15
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	addq	$STACKSIZE, %rsp
kusano 2b45e8
	ret
kusano 2b45e8
kusano 2b45e8
	EPILOGUE