Blame thirdparty/openblas/xianyi-OpenBLAS-e6e87a2/kernel/sparc/zgemm_kernel_1x4.S

kusano 2b45e8
/*********************************************************************/
kusano 2b45e8
/* Copyright 2005-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
kusano 2b45e8
#define APREFETCHSIZE 24
kusano 2b45e8
#define APREFETCH_CATEGORY 0
kusano 2b45e8
kusano 2b45e8
#define M	%i0
kusano 2b45e8
#define N	%i1
kusano 2b45e8
#define K	%i2
kusano 2b45e8
#define A	%i5
kusano 2b45e8
#define B	%i3
kusano 2b45e8
#define C	%i4
kusano 2b45e8
kusano 2b45e8
#define LDC	%o0
kusano 2b45e8
#define AO	%o1
kusano 2b45e8
#define BO	%o2
kusano 2b45e8
#define I	%o3
kusano 2b45e8
#define J	%o4
kusano 2b45e8
#define L	%o5
kusano 2b45e8
kusano 2b45e8
#define BB	%o7
kusano 2b45e8
kusano 2b45e8
#define C1	%l0
kusano 2b45e8
#define C2	%l1
kusano 2b45e8
#define C3	%l2
kusano 2b45e8
#define C4	%l3
kusano 2b45e8
kusano 2b45e8
#define OFFSET	%l4
kusano 2b45e8
#define	KK	%l5
kusano 2b45e8
#define TEMP1	%l6
kusano 2b45e8
#define TEMP2	%l7
kusano 2b45e8
kusano 2b45e8
#ifdef DOUBLE
kusano 2b45e8
#define c01	%f0
kusano 2b45e8
#define c02	%f2
kusano 2b45e8
#define c03	%f4
kusano 2b45e8
#define c04	%f6
kusano 2b45e8
#define c05	%f8
kusano 2b45e8
#define c06	%f10
kusano 2b45e8
#define c07	%f12
kusano 2b45e8
#define c08	%f14
kusano 2b45e8
#define c09	%f16
kusano 2b45e8
#define c10	%f18
kusano 2b45e8
#define c11	%f20
kusano 2b45e8
#define c12	%f22
kusano 2b45e8
#define c13	%f24
kusano 2b45e8
#define c14	%f26
kusano 2b45e8
#define c15	%f28
kusano 2b45e8
#define c16	%f30
kusano 2b45e8
kusano 2b45e8
#define a1	%f32
kusano 2b45e8
#define a2	%f34
kusano 2b45e8
#define a3	%f36
kusano 2b45e8
#define a4	%f38
kusano 2b45e8
#define a5	%f40
kusano 2b45e8
kusano 2b45e8
#define b1	%f42
kusano 2b45e8
#define b2	%f44
kusano 2b45e8
#define b3	%f46
kusano 2b45e8
#define b4	%f48
kusano 2b45e8
#define b5	%f50
kusano 2b45e8
#define b6	%f52
kusano 2b45e8
#define b7	%f54
kusano 2b45e8
#define b8	%f56
kusano 2b45e8
#define b9	%f58
kusano 2b45e8
kusano 2b45e8
#define ALPHA_R	%f60
kusano 2b45e8
#define ALPHA_I	%f62
kusano 2b45e8
kusano 2b45e8
#define cc01	0
kusano 2b45e8
#define cc02	2
kusano 2b45e8
#define cc03	4
kusano 2b45e8
#define cc04	6
kusano 2b45e8
#define cc05	8
kusano 2b45e8
#define cc06	10
kusano 2b45e8
#define cc07	12
kusano 2b45e8
#define cc08	14
kusano 2b45e8
#define cc09	16
kusano 2b45e8
#define cc10	18
kusano 2b45e8
#define cc11	20
kusano 2b45e8
#define cc12	22
kusano 2b45e8
#define cc13	24
kusano 2b45e8
#define cc14	26
kusano 2b45e8
#define cc15	28
kusano 2b45e8
#define cc16	30
kusano 2b45e8
kusano 2b45e8
#define aa1	 1
kusano 2b45e8
#define aa2	 3
kusano 2b45e8
#define aa3	 5
kusano 2b45e8
#define aa4	 7
kusano 2b45e8
#define aa5	 9
kusano 2b45e8
kusano 2b45e8
#define bb1	11
kusano 2b45e8
#define bb2	13
kusano 2b45e8
#define bb3	15
kusano 2b45e8
#define bb4	17
kusano 2b45e8
#define bb5	19
kusano 2b45e8
#define bb6	21
kusano 2b45e8
#define bb7	23
kusano 2b45e8
#define bb8	25
kusano 2b45e8
#define bb9	27
kusano 2b45e8
kusano 2b45e8
#define alpha_r	29
kusano 2b45e8
#define alpha_i	31
kusano 2b45e8
#else
kusano 2b45e8
#define c01	%f0
kusano 2b45e8
#define c02	%f1
kusano 2b45e8
#define c03	%f2
kusano 2b45e8
#define c04	%f3
kusano 2b45e8
#define c05	%f4
kusano 2b45e8
#define c06	%f5
kusano 2b45e8
#define c07	%f6
kusano 2b45e8
#define c08	%f7
kusano 2b45e8
#define c09	%f8
kusano 2b45e8
#define c10	%f9
kusano 2b45e8
#define c11	%f10
kusano 2b45e8
#define c12	%f11
kusano 2b45e8
#define c13	%f12
kusano 2b45e8
#define c14	%f13
kusano 2b45e8
#define c15	%f14
kusano 2b45e8
#define c16	%f15
kusano 2b45e8
kusano 2b45e8
#define a1	%f16
kusano 2b45e8
#define a2	%f17
kusano 2b45e8
#define a3	%f18
kusano 2b45e8
#define a4	%f19
kusano 2b45e8
#define a5	%f20
kusano 2b45e8
kusano 2b45e8
#define b1	%f21
kusano 2b45e8
#define b2	%f22
kusano 2b45e8
#define b3	%f23
kusano 2b45e8
#define b4	%f24
kusano 2b45e8
#define b5	%f25
kusano 2b45e8
#define b6	%f26
kusano 2b45e8
#define b7	%f27
kusano 2b45e8
#define b8	%f28
kusano 2b45e8
#define b9	%f29
kusano 2b45e8
kusano 2b45e8
#define ALPHA_R	%f30
kusano 2b45e8
#define ALPHA_I	%f31
kusano 2b45e8
kusano 2b45e8
#define cc01	0
kusano 2b45e8
#define cc02	1
kusano 2b45e8
#define cc03	2
kusano 2b45e8
#define cc04	3
kusano 2b45e8
#define cc05	4
kusano 2b45e8
#define cc06	5
kusano 2b45e8
#define cc07	6
kusano 2b45e8
#define cc08	7
kusano 2b45e8
#define cc09	8
kusano 2b45e8
#define cc10	9
kusano 2b45e8
#define cc11	10
kusano 2b45e8
#define cc12	11
kusano 2b45e8
#define cc13	12
kusano 2b45e8
#define cc14	13
kusano 2b45e8
#define cc15	14
kusano 2b45e8
#define cc16	15
kusano 2b45e8
kusano 2b45e8
#define aa1	16
kusano 2b45e8
#define aa2	17
kusano 2b45e8
#define aa3	18
kusano 2b45e8
#define aa4	19
kusano 2b45e8
#define aa5	20
kusano 2b45e8
kusano 2b45e8
#define bb1	21
kusano 2b45e8
#define bb2	22
kusano 2b45e8
#define bb3	23
kusano 2b45e8
#define bb4	24
kusano 2b45e8
#define bb5	25
kusano 2b45e8
#define bb6	26
kusano 2b45e8
#define bb7	27
kusano 2b45e8
#define bb8	28
kusano 2b45e8
#define bb9	29
kusano 2b45e8
kusano 2b45e8
#define alpha_r	30
kusano 2b45e8
#define alpha_i	31
kusano 2b45e8
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
#if   defined(NN) || defined(NT) || defined(TN) || defined(TT)
kusano 2b45e8
#define FMADD1	FMADD
kusano 2b45e8
#define FMADD2	FMADD
kusano 2b45e8
#define FMADD3	FMADD
kusano 2b45e8
#define FMADD4	FNMSUB
kusano 2b45e8
#elif defined(NR) || defined(NC) || defined(TR) || defined(TC)
kusano 2b45e8
#define FMADD1	FMADD
kusano 2b45e8
#define FMADD2	FMADD
kusano 2b45e8
#define FMADD3	FNMSUB
kusano 2b45e8
#define FMADD4	FMADD
kusano 2b45e8
#elif defined(RN) || defined(RT) || defined(CN) || defined(CT)
kusano 2b45e8
#define FMADD1	FMADD
kusano 2b45e8
#define FMADD2	FNMSUB
kusano 2b45e8
#define FMADD3	FMADD
kusano 2b45e8
#define FMADD4	FMADD
kusano 2b45e8
#else
kusano 2b45e8
#define FMADD1	FMADD
kusano 2b45e8
#define FMADD2	FNMSUB
kusano 2b45e8
#define FMADD3	FNMSUB
kusano 2b45e8
#define FMADD4	FNMSUB
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
        .register %g2, #scratch
kusano 2b45e8
        .register %g3, #scratch
kusano 2b45e8
	
kusano 2b45e8
	PROLOGUE
kusano 2b45e8
	SAVESP
kusano 2b45e8
	
kusano 2b45e8
#ifndef __64BIT__
kusano 2b45e8
#ifdef DOUBLE
kusano 2b45e8
	st	%i3, [%sp + STACK_START + 16]
kusano 2b45e8
	st	%i4, [%sp + STACK_START + 20]
kusano 2b45e8
	st	%i5, [%sp + STACK_START + 24]
kusano 2b45e8
kusano 2b45e8
	ld	[%sp + STACK_START + 32], A
kusano 2b45e8
	ld	[%sp + STACK_START + 36], B
kusano 2b45e8
	ld	[%sp + STACK_START + 40], C
kusano 2b45e8
	ld	[%sp + STACK_START + 44], LDC
kusano 2b45e8
#ifdef TRMMKERNEL
kusano 2b45e8
	ld	[%sp + STACK_START + 48], OFFSET
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	ldd	[%sp + STACK_START + 16], ALPHA_R
kusano 2b45e8
	ldd	[%sp + STACK_START + 24], ALPHA_I
kusano 2b45e8
#else
kusano 2b45e8
	st	%i3, [%sp + STACK_START + 16]
kusano 2b45e8
	st	%i4, [%sp + STACK_START + 20]
kusano 2b45e8
kusano 2b45e8
	ld	[%sp + STACK_START + 28], B
kusano 2b45e8
	ld	[%sp + STACK_START + 32], C
kusano 2b45e8
	ld	[%sp + STACK_START + 36], LDC
kusano 2b45e8
#ifdef TRMMKERNEL
kusano 2b45e8
	ld	[%sp + STACK_START + 40], OFFSET
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	ld	[%sp + STACK_START + 16], ALPHA_R
kusano 2b45e8
	ld	[%sp + STACK_START + 20], ALPHA_I
kusano 2b45e8
#endif
kusano 2b45e8
#else
kusano 2b45e8
	ldx	[%sp + STACK_START + 56], B
kusano 2b45e8
	ldx	[%sp + STACK_START + 64], C
kusano 2b45e8
	ldx	[%sp + STACK_START + 72], LDC
kusano 2b45e8
#ifdef TRMMKERNEL
kusano 2b45e8
	ldx	[%sp + STACK_START + 80], OFFSET
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
#ifdef DOUBLE
kusano 2b45e8
	FMOV	%f6, ALPHA_R
kusano 2b45e8
	FMOV	%f8, ALPHA_I
kusano 2b45e8
#else
kusano 2b45e8
	FMOV	%f7, ALPHA_R
kusano 2b45e8
	FMOV	%f9, ALPHA_I
kusano 2b45e8
#endif
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
#if defined(TRMMKERNEL) && !defined(LEFT)
kusano 2b45e8
	neg	OFFSET, KK
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	cmp	M, 0
kusano 2b45e8
	ble,pn	%icc, .LL999
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
	sra	N, 2, J
kusano 2b45e8
	cmp	J, 0
kusano 2b45e8
	ble,pn	%icc, .LL20
kusano 2b45e8
	sll	LDC, ZBASE_SHIFT, LDC
kusano 2b45e8
kusano 2b45e8
.LL11:
kusano 2b45e8
	mov	C,  C1
kusano 2b45e8
	add	C,  LDC, C2
kusano 2b45e8
	add	C2, LDC, C3
kusano 2b45e8
	add	C3, LDC, C4
kusano 2b45e8
	add	C4,  LDC, C
kusano 2b45e8
kusano 2b45e8
	sll	K, ZBASE_SHIFT + 2, BB
kusano 2b45e8
kusano 2b45e8
#if defined(TRMMKERNEL) &&  defined(LEFT)
kusano 2b45e8
	mov	OFFSET, KK
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	mov	A, AO
kusano 2b45e8
kusano 2b45e8
	mov	M, I
kusano 2b45e8
	add	B, BB, BB
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL12:
kusano 2b45e8
	prefetch [BB +  0 * SIZE], 1
kusano 2b45e8
#if !defined(TRMMKERNEL) || (defined(TRMMKERNEL) && ((defined(LEFT) && defined(TRANSA)) || (!defined(LEFT) && !defined(TRANSA))))
kusano 2b45e8
	mov	B, BO
kusano 2b45e8
#else
kusano 2b45e8
	sll	KK, ZBASE_SHIFT + 0, TEMP1
kusano 2b45e8
	sll	KK, ZBASE_SHIFT + 2, TEMP2
kusano 2b45e8
kusano 2b45e8
	add	AO, TEMP1, AO
kusano 2b45e8
	add	B,  TEMP2, BO
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	LDF	[AO +  0 * SIZE], a1
kusano 2b45e8
	FCLR	(cc01)
kusano 2b45e8
	LDF	[AO +  1 * SIZE], a2
kusano 2b45e8
	FCLR	(cc05)
kusano 2b45e8
	LDF	[AO +  8 * SIZE], a5
kusano 2b45e8
	FCLR	(cc09)
kusano 2b45e8
	LDF	[BO +  0 * SIZE], b1
kusano 2b45e8
	FCLR	(cc13)
kusano 2b45e8
kusano 2b45e8
	LDF	[BO +  1 * SIZE], b2
kusano 2b45e8
	FCLR	(cc02)
kusano 2b45e8
	LDF	[BO +  2 * SIZE], b3
kusano 2b45e8
	FCLR	(cc06)
kusano 2b45e8
	LDF	[BO +  3 * SIZE], b4
kusano 2b45e8
	FCLR	(cc10)
kusano 2b45e8
	LDF	[BO +  4 * SIZE], b5
kusano 2b45e8
	FCLR	(cc14)
kusano 2b45e8
kusano 2b45e8
	LDF	[BO +  5 * SIZE], b6
kusano 2b45e8
	FCLR	(cc03)
kusano 2b45e8
	LDF	[BO +  6 * SIZE], b7
kusano 2b45e8
	FCLR	(cc07)
kusano 2b45e8
	LDF	[BO +  7 * SIZE], b8
kusano 2b45e8
	FCLR	(cc11)
kusano 2b45e8
	LDF	[BO +  8 * SIZE], b9
kusano 2b45e8
	FCLR	(cc15)
kusano 2b45e8
kusano 2b45e8
	prefetch [C1 + 1 * SIZE], 3
kusano 2b45e8
	FCLR	(cc04)
kusano 2b45e8
	prefetch [C2 + 2 * SIZE], 3
kusano 2b45e8
	FCLR	(cc08)
kusano 2b45e8
	prefetch [C3 + 1 * SIZE], 3
kusano 2b45e8
	FCLR	(cc12)
kusano 2b45e8
	prefetch [C4 + 2 * SIZE], 3
kusano 2b45e8
	FCLR	(cc16)
kusano 2b45e8
kusano 2b45e8
#ifndef TRMMKERNEL
kusano 2b45e8
	sra	K,  3, L
kusano 2b45e8
#else
kusano 2b45e8
#if (defined(LEFT) && !defined(TRANSA)) || (!defined(LEFT) && defined(TRANSA))
kusano 2b45e8
	sub	K, KK, L
kusano 2b45e8
#elif defined(LEFT)
kusano 2b45e8
	add	KK, 1, L
kusano 2b45e8
#else
kusano 2b45e8
	add	KK, 4, L
kusano 2b45e8
#endif
kusano 2b45e8
	sra	L,  3, L
kusano 2b45e8
#endif
kusano 2b45e8
	cmp	L,  0
kusano 2b45e8
	ble,pn	%icc, .LL15
kusano 2b45e8
	add	 BB, 32 * SIZE, BB
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL13:
kusano 2b45e8
	FMADD1	(aa1, bb1, cc01, cc01)
kusano 2b45e8
	FMADD2	(aa2, bb1, cc02, cc02)
kusano 2b45e8
	FMADD3	(aa1, bb2, cc03, cc03)
kusano 2b45e8
	FMADD4	(aa2, bb2, cc04, cc04)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb3, cc05, cc05)
kusano 2b45e8
	LDF	[BO + 16 * SIZE], b1
kusano 2b45e8
	FMADD2	(aa2, bb3, cc06, cc06)
kusano 2b45e8
	LDF	[BO +  9 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO + 10 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa2, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO + 11 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb5, cc09, cc09)
kusano 2b45e8
	LDF	[AO +  2 * SIZE], a3
kusano 2b45e8
	FMADD2	(aa2, bb5, cc10, cc10)
kusano 2b45e8
	LDF	[AO +  3 * SIZE], a4
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb6, cc11, cc11)
kusano 2b45e8
	prefetch [AO + (APREFETCHSIZE +  0) * SIZE], APREFETCH_CATEGORY
kusano 2b45e8
	FMADD4	(aa2, bb6, cc12, cc12)
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb7, cc13, cc13)
kusano 2b45e8
	LDF	[BO + 12 * SIZE], b5
kusano 2b45e8
	FMADD2	(aa2, bb7, cc14, cc14)
kusano 2b45e8
	LDF	[BO + 13 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb8, cc15, cc15)
kusano 2b45e8
	LDF	[BO + 14 * SIZE], b7
kusano 2b45e8
	FMADD4	(aa2, bb8, cc16, cc16)
kusano 2b45e8
	LDF	[BO + 15 * SIZE], b8
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb9, cc01, cc01)
kusano 2b45e8
	FMADD2	(aa4, bb9, cc02, cc02)
kusano 2b45e8
	FMADD3	(aa3, bb2, cc03, cc03)
kusano 2b45e8
	FMADD4	(aa4, bb2, cc04, cc04)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb3, cc05, cc05)
kusano 2b45e8
	LDF	[BO + 24 * SIZE], b9
kusano 2b45e8
	FMADD2	(aa4, bb3, cc06, cc06)
kusano 2b45e8
	LDF	[BO + 17 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO + 18 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa4, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO + 19 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb5, cc09, cc09)
kusano 2b45e8
	LDF	[AO +  4 * SIZE], a1
kusano 2b45e8
	FMADD2	(aa4, bb5, cc10, cc10)
kusano 2b45e8
	LDF	[AO +  5 * SIZE], a2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb6, cc11, cc11)
kusano 2b45e8
	add	L, -1, L
kusano 2b45e8
	FMADD4	(aa4, bb6, cc12, cc12)
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb7, cc13, cc13)
kusano 2b45e8
	LDF	[BO + 20 * SIZE], b5
kusano 2b45e8
	FMADD2	(aa4, bb7, cc14, cc14)
kusano 2b45e8
	LDF	[BO + 21 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb8, cc15, cc15)
kusano 2b45e8
	LDF	[BO + 22 * SIZE], b7
kusano 2b45e8
	FMADD4	(aa4, bb8, cc16, cc16)
kusano 2b45e8
	LDF	[BO + 23 * SIZE], b8
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb1, cc01, cc01)
kusano 2b45e8
	FMADD2	(aa2, bb1, cc02, cc02)
kusano 2b45e8
	FMADD3	(aa1, bb2, cc03, cc03)
kusano 2b45e8
	FMADD4	(aa2, bb2, cc04, cc04)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb3, cc05, cc05)
kusano 2b45e8
	LDF	[BO + 32 * SIZE], b1
kusano 2b45e8
	FMADD2	(aa2, bb3, cc06, cc06)
kusano 2b45e8
	LDF	[BO + 25 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO + 26 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa2, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO + 27 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb5, cc09, cc09)
kusano 2b45e8
	LDF	[AO +  6 * SIZE], a3
kusano 2b45e8
	FMADD2	(aa2, bb5, cc10, cc10)
kusano 2b45e8
	LDF	[AO +  7 * SIZE], a4
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb6, cc11, cc11)
kusano 2b45e8
	nop
kusano 2b45e8
	FMADD4	(aa2, bb6, cc12, cc12)
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb7, cc13, cc13)
kusano 2b45e8
	LDF	[BO + 28 * SIZE], b5
kusano 2b45e8
	FMADD2	(aa2, bb7, cc14, cc14)
kusano 2b45e8
	LDF	[BO + 29 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb8, cc15, cc15)
kusano 2b45e8
	LDF	[BO + 30 * SIZE], b7
kusano 2b45e8
	FMADD4	(aa2, bb8, cc16, cc16)
kusano 2b45e8
	LDF	[BO + 31 * SIZE], b8
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb9, cc01, cc01)
kusano 2b45e8
	FMADD2	(aa4, bb9, cc02, cc02)
kusano 2b45e8
	FMADD3	(aa3, bb2, cc03, cc03)
kusano 2b45e8
	FMADD4	(aa4, bb2, cc04, cc04)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb3, cc05, cc05)
kusano 2b45e8
	LDF	[BO + 40 * SIZE], b9
kusano 2b45e8
	FMADD2	(aa4, bb3, cc06, cc06)
kusano 2b45e8
	LDF	[BO + 33 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO + 34 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa4, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO + 35 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb5, cc09, cc09)
kusano 2b45e8
	LDF	[AO + 16 * SIZE], a1  /****/
kusano 2b45e8
	FMADD2	(aa4, bb5, cc10, cc10)
kusano 2b45e8
	LDF	[AO +  9 * SIZE], a2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb6, cc11, cc11)
kusano 2b45e8
	nop
kusano 2b45e8
	FMADD4	(aa4, bb6, cc12, cc12)
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb7, cc13, cc13)
kusano 2b45e8
	LDF	[BO + 36 * SIZE], b5
kusano 2b45e8
	FMADD2	(aa4, bb7, cc14, cc14)
kusano 2b45e8
	LDF	[BO + 37 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb8, cc15, cc15)
kusano 2b45e8
	LDF	[BO + 38 * SIZE], b7
kusano 2b45e8
	FMADD4	(aa4, bb8, cc16, cc16)
kusano 2b45e8
	LDF	[BO + 39 * SIZE], b8
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa5, bb1, cc01, cc01)
kusano 2b45e8
	FMADD2	(aa2, bb1, cc02, cc02)
kusano 2b45e8
	FMADD3	(aa5, bb2, cc03, cc03)
kusano 2b45e8
	FMADD4	(aa2, bb2, cc04, cc04)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa5, bb3, cc05, cc05)
kusano 2b45e8
	LDF	[BO + 48 * SIZE], b1
kusano 2b45e8
	FMADD2	(aa2, bb3, cc06, cc06)
kusano 2b45e8
	LDF	[BO + 41 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa5, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO + 42 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa2, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO + 43 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa5, bb5, cc09, cc09)
kusano 2b45e8
	LDF	[AO + 10 * SIZE], a3
kusano 2b45e8
	FMADD2	(aa2, bb5, cc10, cc10)
kusano 2b45e8
	LDF	[AO + 11 * SIZE], a4
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa5, bb6, cc11, cc11)
kusano 2b45e8
	prefetch [AO + (APREFETCHSIZE +  8) * SIZE], APREFETCH_CATEGORY
kusano 2b45e8
	FMADD4	(aa2, bb6, cc12, cc12)
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa5, bb7, cc13, cc13)
kusano 2b45e8
	LDF	[BO + 44 * SIZE], b5
kusano 2b45e8
	FMADD2	(aa2, bb7, cc14, cc14)
kusano 2b45e8
	LDF	[BO + 45 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa5, bb8, cc15, cc15)
kusano 2b45e8
	LDF	[BO + 46 * SIZE], b7
kusano 2b45e8
	FMADD4	(aa2, bb8, cc16, cc16)
kusano 2b45e8
	LDF	[BO + 47 * SIZE], b8
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb9, cc01, cc01)
kusano 2b45e8
	FMADD2	(aa4, bb9, cc02, cc02)
kusano 2b45e8
	FMADD3	(aa3, bb2, cc03, cc03)
kusano 2b45e8
	FMADD4	(aa4, bb2, cc04, cc04)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb3, cc05, cc05)
kusano 2b45e8
	LDF	[BO + 56 * SIZE], b9
kusano 2b45e8
	FMADD2	(aa4, bb3, cc06, cc06)
kusano 2b45e8
	LDF	[BO + 49 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO + 50 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa4, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO + 51 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb5, cc09, cc09)
kusano 2b45e8
	LDF	[AO + 12 * SIZE], a5
kusano 2b45e8
	FMADD2	(aa4, bb5, cc10, cc10)
kusano 2b45e8
	LDF	[AO + 13 * SIZE], a2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb6, cc11, cc11)
kusano 2b45e8
	cmp	L, 0
kusano 2b45e8
	FMADD4	(aa4, bb6, cc12, cc12)
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb7, cc13, cc13)
kusano 2b45e8
	LDF	[BO + 52 * SIZE], b5
kusano 2b45e8
	FMADD2	(aa4, bb7, cc14, cc14)
kusano 2b45e8
	LDF	[BO + 53 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb8, cc15, cc15)
kusano 2b45e8
	LDF	[BO + 54 * SIZE], b7
kusano 2b45e8
	FMADD4	(aa4, bb8, cc16, cc16)
kusano 2b45e8
	LDF	[BO + 55 * SIZE], b8
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa5, bb1, cc01, cc01)
kusano 2b45e8
	FMADD2	(aa2, bb1, cc02, cc02)
kusano 2b45e8
	FMADD3	(aa5, bb2, cc03, cc03)
kusano 2b45e8
	FMADD4	(aa2, bb2, cc04, cc04)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa5, bb3, cc05, cc05)
kusano 2b45e8
	LDF	[BO + 64 * SIZE], b1
kusano 2b45e8
	FMADD2	(aa2, bb3, cc06, cc06)
kusano 2b45e8
	LDF	[BO + 57 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa5, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO + 58 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa2, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO + 59 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa5, bb5, cc09, cc09)
kusano 2b45e8
	LDF	[AO + 14 * SIZE], a3
kusano 2b45e8
	FMADD2	(aa2, bb5, cc10, cc10)
kusano 2b45e8
	LDF	[AO + 15 * SIZE], a4
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa5, bb6, cc11, cc11)
kusano 2b45e8
	add	BO, 64 * SIZE, BO
kusano 2b45e8
	FMADD4	(aa2, bb6, cc12, cc12)
kusano 2b45e8
	add	AO, 16 * SIZE, AO
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa5, bb7, cc13, cc13)
kusano 2b45e8
	LDF	[BO -  4 * SIZE], b5
kusano 2b45e8
	FMADD2	(aa2, bb7, cc14, cc14)
kusano 2b45e8
	LDF	[BO -  3 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa5, bb8, cc15, cc15)
kusano 2b45e8
	LDF	[BO -  2 * SIZE], b7
kusano 2b45e8
	FMADD4	(aa2, bb8, cc16, cc16)
kusano 2b45e8
	LDF	[BO -  1 * SIZE], b8
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb9, cc01, cc01)
kusano 2b45e8
	FMADD2	(aa4, bb9, cc02, cc02)
kusano 2b45e8
	FMADD3	(aa3, bb2, cc03, cc03)
kusano 2b45e8
	FMADD4	(aa4, bb2, cc04, cc04)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb3, cc05, cc05)
kusano 2b45e8
	LDF	[BO +  8 * SIZE], b9
kusano 2b45e8
	FMADD2	(aa4, bb3, cc06, cc06)
kusano 2b45e8
	LDF	[BO +  1 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO +  2 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa4, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO +  3 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb5, cc09, cc09)
kusano 2b45e8
	LDF	[AO +  8 * SIZE], a5  /****/
kusano 2b45e8
	FMADD2	(aa4, bb5, cc10, cc10)
kusano 2b45e8
	LDF	[AO +  1 * SIZE], a2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb6, cc11, cc11)
kusano 2b45e8
	FMADD4	(aa4, bb6, cc12, cc12)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb7, cc13, cc13)
kusano 2b45e8
	LDF	[BO +  4 * SIZE], b5
kusano 2b45e8
	FMADD2	(aa4, bb7, cc14, cc14)
kusano 2b45e8
	LDF	[BO +  5 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb8, cc15, cc15)
kusano 2b45e8
	LDF	[BO +  6 * SIZE], b7
kusano 2b45e8
	FMADD4	(aa4, bb8, cc16, cc16)
kusano 2b45e8
	ble,pn	%icc, .LL15
kusano 2b45e8
	LDF	[BO +  7 * SIZE], b8
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb1, cc01, cc01)
kusano 2b45e8
	FMADD2	(aa2, bb1, cc02, cc02)
kusano 2b45e8
	FMADD3	(aa1, bb2, cc03, cc03)
kusano 2b45e8
	FMADD4	(aa2, bb2, cc04, cc04)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb3, cc05, cc05)
kusano 2b45e8
	LDF	[BO + 16 * SIZE], b1
kusano 2b45e8
	FMADD2	(aa2, bb3, cc06, cc06)
kusano 2b45e8
	LDF	[BO +  9 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO + 10 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa2, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO + 11 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb5, cc09, cc09)
kusano 2b45e8
	LDF	[AO +  2 * SIZE], a3
kusano 2b45e8
	FMADD2	(aa2, bb5, cc10, cc10)
kusano 2b45e8
	LDF	[AO +  3 * SIZE], a4
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb6, cc11, cc11)
kusano 2b45e8
	prefetch [AO + (APREFETCHSIZE +  0) * SIZE], APREFETCH_CATEGORY
kusano 2b45e8
	FMADD4	(aa2, bb6, cc12, cc12)
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb7, cc13, cc13)
kusano 2b45e8
	LDF	[BO + 12 * SIZE], b5
kusano 2b45e8
	FMADD2	(aa2, bb7, cc14, cc14)
kusano 2b45e8
	LDF	[BO + 13 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb8, cc15, cc15)
kusano 2b45e8
	LDF	[BO + 14 * SIZE], b7
kusano 2b45e8
	FMADD4	(aa2, bb8, cc16, cc16)
kusano 2b45e8
	LDF	[BO + 15 * SIZE], b8
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb9, cc01, cc01)
kusano 2b45e8
	FMADD2	(aa4, bb9, cc02, cc02)
kusano 2b45e8
	FMADD3	(aa3, bb2, cc03, cc03)
kusano 2b45e8
	FMADD4	(aa4, bb2, cc04, cc04)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb3, cc05, cc05)
kusano 2b45e8
	LDF	[BO + 24 * SIZE], b9
kusano 2b45e8
	FMADD2	(aa4, bb3, cc06, cc06)
kusano 2b45e8
	LDF	[BO + 17 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO + 18 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa4, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO + 19 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb5, cc09, cc09)
kusano 2b45e8
	LDF	[AO +  4 * SIZE], a1
kusano 2b45e8
	FMADD2	(aa4, bb5, cc10, cc10)
kusano 2b45e8
	LDF	[AO +  5 * SIZE], a2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb6, cc11, cc11)
kusano 2b45e8
	add	L, -1, L
kusano 2b45e8
	FMADD4	(aa4, bb6, cc12, cc12)
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb7, cc13, cc13)
kusano 2b45e8
	LDF	[BO + 20 * SIZE], b5
kusano 2b45e8
	FMADD2	(aa4, bb7, cc14, cc14)
kusano 2b45e8
	LDF	[BO + 21 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb8, cc15, cc15)
kusano 2b45e8
	LDF	[BO + 22 * SIZE], b7
kusano 2b45e8
	FMADD4	(aa4, bb8, cc16, cc16)
kusano 2b45e8
	LDF	[BO + 23 * SIZE], b8
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb1, cc01, cc01)
kusano 2b45e8
	FMADD2	(aa2, bb1, cc02, cc02)
kusano 2b45e8
	FMADD3	(aa1, bb2, cc03, cc03)
kusano 2b45e8
	FMADD4	(aa2, bb2, cc04, cc04)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb3, cc05, cc05)
kusano 2b45e8
	LDF	[BO + 32 * SIZE], b1
kusano 2b45e8
	FMADD2	(aa2, bb3, cc06, cc06)
kusano 2b45e8
	LDF	[BO + 25 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO + 26 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa2, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO + 27 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb5, cc09, cc09)
kusano 2b45e8
	LDF	[AO +  6 * SIZE], a3
kusano 2b45e8
	FMADD2	(aa2, bb5, cc10, cc10)
kusano 2b45e8
	LDF	[AO +  7 * SIZE], a4
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb6, cc11, cc11)
kusano 2b45e8
	nop
kusano 2b45e8
	FMADD4	(aa2, bb6, cc12, cc12)
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb7, cc13, cc13)
kusano 2b45e8
	LDF	[BO + 28 * SIZE], b5
kusano 2b45e8
	FMADD2	(aa2, bb7, cc14, cc14)
kusano 2b45e8
	LDF	[BO + 29 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb8, cc15, cc15)
kusano 2b45e8
	LDF	[BO + 30 * SIZE], b7
kusano 2b45e8
	FMADD4	(aa2, bb8, cc16, cc16)
kusano 2b45e8
	LDF	[BO + 31 * SIZE], b8
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb9, cc01, cc01)
kusano 2b45e8
	FMADD2	(aa4, bb9, cc02, cc02)
kusano 2b45e8
	FMADD3	(aa3, bb2, cc03, cc03)
kusano 2b45e8
	FMADD4	(aa4, bb2, cc04, cc04)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb3, cc05, cc05)
kusano 2b45e8
	LDF	[BO + 40 * SIZE], b9
kusano 2b45e8
	FMADD2	(aa4, bb3, cc06, cc06)
kusano 2b45e8
	LDF	[BO + 33 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO + 34 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa4, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO + 35 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb5, cc09, cc09)
kusano 2b45e8
	LDF	[AO + 16 * SIZE], a1  /****/
kusano 2b45e8
	FMADD2	(aa4, bb5, cc10, cc10)
kusano 2b45e8
	LDF	[AO +  9 * SIZE], a2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb6, cc11, cc11)
kusano 2b45e8
	nop
kusano 2b45e8
	FMADD4	(aa4, bb6, cc12, cc12)
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb7, cc13, cc13)
kusano 2b45e8
	LDF	[BO + 36 * SIZE], b5
kusano 2b45e8
	FMADD2	(aa4, bb7, cc14, cc14)
kusano 2b45e8
	LDF	[BO + 37 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb8, cc15, cc15)
kusano 2b45e8
	LDF	[BO + 38 * SIZE], b7
kusano 2b45e8
	FMADD4	(aa4, bb8, cc16, cc16)
kusano 2b45e8
	LDF	[BO + 39 * SIZE], b8
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa5, bb1, cc01, cc01)
kusano 2b45e8
	FMADD2	(aa2, bb1, cc02, cc02)
kusano 2b45e8
	FMADD3	(aa5, bb2, cc03, cc03)
kusano 2b45e8
	FMADD4	(aa2, bb2, cc04, cc04)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa5, bb3, cc05, cc05)
kusano 2b45e8
	LDF	[BO + 48 * SIZE], b1
kusano 2b45e8
	FMADD2	(aa2, bb3, cc06, cc06)
kusano 2b45e8
	LDF	[BO + 41 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa5, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO + 42 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa2, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO + 43 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa5, bb5, cc09, cc09)
kusano 2b45e8
	LDF	[AO + 10 * SIZE], a3
kusano 2b45e8
	FMADD2	(aa2, bb5, cc10, cc10)
kusano 2b45e8
	LDF	[AO + 11 * SIZE], a4
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa5, bb6, cc11, cc11)
kusano 2b45e8
	prefetch [AO + (APREFETCHSIZE +  8) * SIZE], APREFETCH_CATEGORY
kusano 2b45e8
	FMADD4	(aa2, bb6, cc12, cc12)
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa5, bb7, cc13, cc13)
kusano 2b45e8
	LDF	[BO + 44 * SIZE], b5
kusano 2b45e8
	FMADD2	(aa2, bb7, cc14, cc14)
kusano 2b45e8
	LDF	[BO + 45 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa5, bb8, cc15, cc15)
kusano 2b45e8
	LDF	[BO + 46 * SIZE], b7
kusano 2b45e8
	FMADD4	(aa2, bb8, cc16, cc16)
kusano 2b45e8
	LDF	[BO + 47 * SIZE], b8
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb9, cc01, cc01)
kusano 2b45e8
	FMADD2	(aa4, bb9, cc02, cc02)
kusano 2b45e8
	FMADD3	(aa3, bb2, cc03, cc03)
kusano 2b45e8
	FMADD4	(aa4, bb2, cc04, cc04)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb3, cc05, cc05)
kusano 2b45e8
	LDF	[BO + 56 * SIZE], b9
kusano 2b45e8
	FMADD2	(aa4, bb3, cc06, cc06)
kusano 2b45e8
	LDF	[BO + 49 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO + 50 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa4, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO + 51 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb5, cc09, cc09)
kusano 2b45e8
	LDF	[AO + 12 * SIZE], a5
kusano 2b45e8
	FMADD2	(aa4, bb5, cc10, cc10)
kusano 2b45e8
	LDF	[AO + 13 * SIZE], a2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb6, cc11, cc11)
kusano 2b45e8
	cmp	L, 0
kusano 2b45e8
	FMADD4	(aa4, bb6, cc12, cc12)
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb7, cc13, cc13)
kusano 2b45e8
	LDF	[BO + 52 * SIZE], b5
kusano 2b45e8
	FMADD2	(aa4, bb7, cc14, cc14)
kusano 2b45e8
	LDF	[BO + 53 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb8, cc15, cc15)
kusano 2b45e8
	LDF	[BO + 54 * SIZE], b7
kusano 2b45e8
	FMADD4	(aa4, bb8, cc16, cc16)
kusano 2b45e8
	LDF	[BO + 55 * SIZE], b8
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa5, bb1, cc01, cc01)
kusano 2b45e8
	FMADD2	(aa2, bb1, cc02, cc02)
kusano 2b45e8
	FMADD3	(aa5, bb2, cc03, cc03)
kusano 2b45e8
	FMADD4	(aa2, bb2, cc04, cc04)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa5, bb3, cc05, cc05)
kusano 2b45e8
	LDF	[BO + 64 * SIZE], b1
kusano 2b45e8
	FMADD2	(aa2, bb3, cc06, cc06)
kusano 2b45e8
	LDF	[BO + 57 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa5, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO + 58 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa2, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO + 59 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa5, bb5, cc09, cc09)
kusano 2b45e8
	LDF	[AO + 14 * SIZE], a3
kusano 2b45e8
	FMADD2	(aa2, bb5, cc10, cc10)
kusano 2b45e8
	LDF	[AO + 15 * SIZE], a4
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa5, bb6, cc11, cc11)
kusano 2b45e8
	add	BO, 64 * SIZE, BO
kusano 2b45e8
	FMADD4	(aa2, bb6, cc12, cc12)
kusano 2b45e8
	add	AO, 16 * SIZE, AO
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa5, bb7, cc13, cc13)
kusano 2b45e8
	LDF	[BO -  4 * SIZE], b5
kusano 2b45e8
	FMADD2	(aa2, bb7, cc14, cc14)
kusano 2b45e8
	LDF	[BO -  3 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa5, bb8, cc15, cc15)
kusano 2b45e8
	LDF	[BO -  2 * SIZE], b7
kusano 2b45e8
	FMADD4	(aa2, bb8, cc16, cc16)
kusano 2b45e8
	LDF	[BO -  1 * SIZE], b8
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb9, cc01, cc01)
kusano 2b45e8
	FMADD2	(aa4, bb9, cc02, cc02)
kusano 2b45e8
	FMADD3	(aa3, bb2, cc03, cc03)
kusano 2b45e8
	FMADD4	(aa4, bb2, cc04, cc04)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb3, cc05, cc05)
kusano 2b45e8
	LDF	[BO +  8 * SIZE], b9
kusano 2b45e8
	FMADD2	(aa4, bb3, cc06, cc06)
kusano 2b45e8
	LDF	[BO +  1 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO +  2 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa4, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO +  3 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb5, cc09, cc09)
kusano 2b45e8
	LDF	[AO +  8 * SIZE], a5  /****/
kusano 2b45e8
	FMADD2	(aa4, bb5, cc10, cc10)
kusano 2b45e8
	LDF	[AO +  1 * SIZE], a2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb6, cc11, cc11)
kusano 2b45e8
	FMADD4	(aa4, bb6, cc12, cc12)
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb7, cc13, cc13)
kusano 2b45e8
	LDF	[BO +  4 * SIZE], b5
kusano 2b45e8
	FMADD2	(aa4, bb7, cc14, cc14)
kusano 2b45e8
	LDF	[BO +  5 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb8, cc15, cc15)
kusano 2b45e8
	LDF	[BO +  6 * SIZE], b7
kusano 2b45e8
	FMADD4	(aa4, bb8, cc16, cc16)
kusano 2b45e8
	bg,pt	%icc, .LL13
kusano 2b45e8
	LDF	[BO +  7 * SIZE], b8
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL15:
kusano 2b45e8
#ifndef TRMMKERNEL
kusano 2b45e8
	and	K,  7, L
kusano 2b45e8
#else
kusano 2b45e8
#if (defined(LEFT) && !defined(TRANSA)) || (!defined(LEFT) && defined(TRANSA))
kusano 2b45e8
	sub	K, KK, L
kusano 2b45e8
#elif defined(LEFT)
kusano 2b45e8
	add	KK, 1, L
kusano 2b45e8
#else
kusano 2b45e8
	add	KK, 4, L
kusano 2b45e8
#endif
kusano 2b45e8
	and	L,  7, L
kusano 2b45e8
#endif
kusano 2b45e8
	cmp	L,  0
kusano 2b45e8
	ble,a,pn %icc, .LL18
kusano 2b45e8
	nop
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL17:
kusano 2b45e8
	FMADD1	(aa1, bb1, cc01, cc01)
kusano 2b45e8
	add	L, -1, L
kusano 2b45e8
	FMADD2	(aa2, bb1, cc02, cc02)
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb2, cc03, cc03)
kusano 2b45e8
	LDF	[BO +  8 * SIZE], b1
kusano 2b45e8
	FMADD4	(aa2, bb2, cc04, cc04)
kusano 2b45e8
	LDF	[BO +  9 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb3, cc05, cc05)
kusano 2b45e8
	cmp	L, 0
kusano 2b45e8
	FMADD2	(aa2, bb3, cc06, cc06)
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO + 10 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa2, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO + 11 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb5, cc09, cc09)
kusano 2b45e8
	nop
kusano 2b45e8
	FMADD2	(aa2, bb5, cc10, cc10)
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb6, cc11, cc11)
kusano 2b45e8
	LDF	[BO + 12 * SIZE], b5
kusano 2b45e8
	FMADD4	(aa2, bb6, cc12, cc12)
kusano 2b45e8
	LDF	[BO + 13 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb7, cc13, cc13)
kusano 2b45e8
	add	AO, 2 * SIZE, AO
kusano 2b45e8
	FMADD2	(aa2, bb7, cc14, cc14)
kusano 2b45e8
	add	BO, 8 * SIZE, BO
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb8, cc15, cc15)
kusano 2b45e8
	LDF	[AO +  0 * SIZE], a1
kusano 2b45e8
	FMADD4	(aa2, bb8, cc16, cc16)
kusano 2b45e8
	LDF	[AO +  1 * SIZE], a2
kusano 2b45e8
kusano 2b45e8
	LDF	[BO +  6 * SIZE], b7
kusano 2b45e8
	bg,pt	%icc, .LL17
kusano 2b45e8
	LDF	[BO +  7 * SIZE], b8
kusano 2b45e8
	nop
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL18:
kusano 2b45e8
#ifndef TRMMKERNEL
kusano 2b45e8
	LDF	[C1 + 0 * SIZE], a1
kusano 2b45e8
	FADD	  c01, c04, c01
kusano 2b45e8
	LDF	[C1 + 1 * SIZE], a2
kusano 2b45e8
	FADD	  c02, c03, c02
kusano 2b45e8
	LDF	[C2 + 0 * SIZE], a3
kusano 2b45e8
	FADD	  c05, c08, c05
kusano 2b45e8
	LDF	[C2 + 1 * SIZE], a4
kusano 2b45e8
	FADD	  c06, c07, c06
kusano 2b45e8
kusano 2b45e8
	LDF	[C3 + 0 * SIZE], b1
kusano 2b45e8
	FADD	  c09, c12, c09
kusano 2b45e8
	LDF	[C3 + 1 * SIZE], b2
kusano 2b45e8
	FADD	  c10, c11, c10
kusano 2b45e8
	LDF	[C4 + 0 * SIZE], b3
kusano 2b45e8
	FADD	  c13, c16, c13
kusano 2b45e8
	LDF	[C4 + 1 * SIZE], b4
kusano 2b45e8
	FADD	  c14, c15, c14
kusano 2b45e8
kusano 2b45e8
	FMADD	(alpha_r, cc01, aa1, aa1)
kusano 2b45e8
	FMADD	(alpha_r, cc02, aa2, aa2)
kusano 2b45e8
	FMADD	(alpha_r, cc05, aa3, aa3)
kusano 2b45e8
	FMADD	(alpha_r, cc06, aa4, aa4)
kusano 2b45e8
kusano 2b45e8
	FMADD	(alpha_r, cc09, bb1, bb1)
kusano 2b45e8
	FMADD	(alpha_r, cc10, bb2, bb2)
kusano 2b45e8
	FMADD	(alpha_r, cc13, bb3, bb3)
kusano 2b45e8
	FMADD	(alpha_r, cc14, bb4, bb4)
kusano 2b45e8
kusano 2b45e8
#else
kusano 2b45e8
	FADD	c01, c04, c01
kusano 2b45e8
	FADD	c02, c03, c02
kusano 2b45e8
	FADD	c05, c08, c05
kusano 2b45e8
	FADD	c06, c07, c06
kusano 2b45e8
kusano 2b45e8
	FADD	c09, c12, c09
kusano 2b45e8
	FADD	c10, c11, c10
kusano 2b45e8
	FADD	c13, c16, c13
kusano 2b45e8
	FADD	c14, c15, c14
kusano 2b45e8
kusano 2b45e8
	FMUL	ALPHA_R, c01, a1
kusano 2b45e8
	FMUL	ALPHA_R, c02, a2
kusano 2b45e8
	FMUL	ALPHA_R, c05, a3
kusano 2b45e8
	FMUL	ALPHA_R, c06, a4
kusano 2b45e8
kusano 2b45e8
	FMUL	ALPHA_R, c09, b1
kusano 2b45e8
	FMUL	ALPHA_R, c10, b2
kusano 2b45e8
	FMUL	ALPHA_R, c13, b3
kusano 2b45e8
	FMUL	ALPHA_R, c14, b4
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	FNMSUB	(alpha_i, cc02, aa1, aa1)
kusano 2b45e8
	FMADD	(alpha_i, cc01, aa2, aa2)
kusano 2b45e8
	FNMSUB	(alpha_i, cc06, aa3, aa3)
kusano 2b45e8
	FMADD	(alpha_i, cc05, aa4, aa4)
kusano 2b45e8
kusano 2b45e8
	FNMSUB	(alpha_i, cc10, bb1, bb1)
kusano 2b45e8
	STF	a1, [C1 + 0 * SIZE]
kusano 2b45e8
	FMADD	(alpha_i, cc09, bb2, bb2)
kusano 2b45e8
	STF	a2, [C1 + 1 * SIZE]
kusano 2b45e8
	FNMSUB	(alpha_i, cc14, bb3, bb3)
kusano 2b45e8
	STF	a3, [C2 + 0 * SIZE]
kusano 2b45e8
	FMADD	(alpha_i, cc13, bb4, bb4)
kusano 2b45e8
	STF	a4, [C2 + 1 * SIZE]
kusano 2b45e8
kusano 2b45e8
	STF	b1, [C3 + 0 * SIZE]
kusano 2b45e8
	add	C1, 2 * SIZE, C1
kusano 2b45e8
	STF	b2, [C3 + 1 * SIZE]
kusano 2b45e8
	add	C2, 2 * SIZE, C2
kusano 2b45e8
	STF	b3, [C4 + 0 * SIZE]
kusano 2b45e8
	add	C3, 2 * SIZE, C3
kusano 2b45e8
	STF	b4, [C4 + 1 * SIZE]
kusano 2b45e8
	add	C4, 2 * SIZE, C4
kusano 2b45e8
kusano 2b45e8
#ifdef TRMMKERNEL
kusano 2b45e8
#if ( defined(LEFT) &&  defined(TRANSA)) || \
kusano 2b45e8
    (!defined(LEFT) && !defined(TRANSA))
kusano 2b45e8
	sub	K, KK, TEMP1
kusano 2b45e8
#ifdef LEFT
kusano 2b45e8
	add	TEMP1, -1, TEMP1
kusano 2b45e8
#else
kusano 2b45e8
	add	TEMP1, -4, TEMP1
kusano 2b45e8
#endif
kusano 2b45e8
	sll	TEMP1, ZBASE_SHIFT + 0, TEMP2
kusano 2b45e8
	sll	TEMP1, ZBASE_SHIFT + 2, TEMP1
kusano 2b45e8
kusano 2b45e8
	add	AO, TEMP2, AO
kusano 2b45e8
	add	BO, TEMP1, BO
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
#ifdef LEFT
kusano 2b45e8
	add	KK, 1, KK
kusano 2b45e8
#endif
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	add	I, -1, I
kusano 2b45e8
	cmp	I, 0
kusano 2b45e8
	bg,pt	%icc, .LL12
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
#if defined(TRMMKERNEL) && !defined(LEFT)
kusano 2b45e8
	add	KK, 4, KK
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	add	J, -1, J
kusano 2b45e8
	cmp	J, 0
kusano 2b45e8
	bg,pt	%icc, .LL11
kusano 2b45e8
	mov	BO, B
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL20: 
kusano 2b45e8
	and	N, 2, J
kusano 2b45e8
	cmp	J, 0
kusano 2b45e8
	ble,pn	%icc, .LL30
kusano 2b45e8
	mov	C,  C1
kusano 2b45e8
kusano 2b45e8
	add	C,  LDC, C2
kusano 2b45e8
	add	C2, LDC, C
kusano 2b45e8
kusano 2b45e8
#if defined(TRMMKERNEL) &&  defined(LEFT)
kusano 2b45e8
	mov	OFFSET, KK
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	mov	M, I
kusano 2b45e8
	mov	A, AO
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL22:
kusano 2b45e8
#if !defined(TRMMKERNEL) || (defined(TRMMKERNEL) && ((defined(LEFT) && defined(TRANSA)) || (!defined(LEFT) && !defined(TRANSA))))
kusano 2b45e8
	mov	B, BO
kusano 2b45e8
#else
kusano 2b45e8
	sll	KK, ZBASE_SHIFT + 0, TEMP1
kusano 2b45e8
	sll	KK, ZBASE_SHIFT + 1, TEMP2
kusano 2b45e8
kusano 2b45e8
	add	AO, TEMP1, AO
kusano 2b45e8
	add	B,  TEMP2, BO
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	LDF	[AO +  0 * SIZE], a1
kusano 2b45e8
	LDF	[AO +  1 * SIZE], a2
kusano 2b45e8
kusano 2b45e8
	LDF	[BO +  0 * SIZE], b1
kusano 2b45e8
	LDF	[BO +  1 * SIZE], b2
kusano 2b45e8
	LDF	[BO +  2 * SIZE], b3
kusano 2b45e8
	LDF	[BO +  3 * SIZE], b4
kusano 2b45e8
	LDF	[BO +  4 * SIZE], b5
kusano 2b45e8
	FCLR	(cc01)
kusano 2b45e8
kusano 2b45e8
	LDF	[BO +  5 * SIZE], b6
kusano 2b45e8
	FCLR	(cc02)
kusano 2b45e8
	LDF	[BO +  6 * SIZE], b7
kusano 2b45e8
	FCLR	(cc03)
kusano 2b45e8
	LDF	[BO +  7 * SIZE], b8
kusano 2b45e8
	FCLR	(cc04)
kusano 2b45e8
	LDF	[BO +  8 * SIZE], b9
kusano 2b45e8
	FCLR	(cc05)
kusano 2b45e8
kusano 2b45e8
	prefetch [C1 + 2 * SIZE], 3
kusano 2b45e8
	FCLR	(cc06)
kusano 2b45e8
	prefetch [C2 + 2 * SIZE], 3
kusano 2b45e8
	FCLR	(cc07)
kusano 2b45e8
kusano 2b45e8
#ifndef TRMMKERNEL
kusano 2b45e8
	sra	K,  2, L
kusano 2b45e8
#else
kusano 2b45e8
#if (defined(LEFT) && !defined(TRANSA)) || (!defined(LEFT) && defined(TRANSA))
kusano 2b45e8
	sub	K, KK, L
kusano 2b45e8
#elif defined(LEFT)
kusano 2b45e8
	add	KK, 1, L
kusano 2b45e8
#else
kusano 2b45e8
	add	KK, 2, L
kusano 2b45e8
#endif
kusano 2b45e8
	sra	L,  2, L
kusano 2b45e8
#endif
kusano 2b45e8
	cmp	L,  0
kusano 2b45e8
	ble,pn	%icc, .LL25
kusano 2b45e8
	FCLR	(cc08)
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL23:
kusano 2b45e8
	FMADD1	(aa1, bb1, cc01, cc01)
kusano 2b45e8
	LDF	[AO +  2 * SIZE], a3
kusano 2b45e8
	FMADD2	(aa2, bb1, cc02, cc02)
kusano 2b45e8
	LDF	[AO +  3 * SIZE], a4
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb2, cc03, cc03)
kusano 2b45e8
	LDF	[BO + 16 * SIZE], b1
kusano 2b45e8
	FMADD4	(aa2, bb2, cc04, cc04)
kusano 2b45e8
	LDF	[BO +  9 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb3, cc05, cc05)
kusano 2b45e8
	prefetch [AO + (APREFETCHSIZE +  0) * SIZE], APREFETCH_CATEGORY
kusano 2b45e8
	FMADD2	(aa2, bb3, cc06, cc06)
kusano 2b45e8
	add	L, -1, L
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO + 10 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa2, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO + 11 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb5, cc01, cc01)
kusano 2b45e8
	LDF	[AO +  4 * SIZE], a1
kusano 2b45e8
	FMADD2	(aa4, bb5, cc02, cc02)
kusano 2b45e8
	LDF	[AO +  5 * SIZE], a2
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb6, cc03, cc03)
kusano 2b45e8
	LDF	[BO + 12 * SIZE], b5
kusano 2b45e8
	FMADD4	(aa4, bb6, cc04, cc04)
kusano 2b45e8
	LDF	[BO + 13 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb7, cc05, cc05)
kusano 2b45e8
	cmp	L, 0
kusano 2b45e8
	FMADD2	(aa4, bb7, cc06, cc06)
kusano 2b45e8
	add	AO,  8 * SIZE, AO
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb8, cc07, cc07)
kusano 2b45e8
	LDF	[BO + 14 * SIZE], b7
kusano 2b45e8
	FMADD4	(aa4, bb8, cc08, cc08)
kusano 2b45e8
	LDF	[BO + 15 * SIZE], b8
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb9, cc01, cc01)
kusano 2b45e8
	LDF	[AO -  2 * SIZE], a3
kusano 2b45e8
	FMADD2	(aa2, bb9, cc02, cc02)
kusano 2b45e8
	LDF	[AO -  1 * SIZE], a4
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb2, cc03, cc03)
kusano 2b45e8
	LDF	[BO + 24 * SIZE], b9
kusano 2b45e8
	FMADD4	(aa2, bb2, cc04, cc04)
kusano 2b45e8
	LDF	[BO + 17 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb3, cc05, cc05)
kusano 2b45e8
	add	BO, 16 * SIZE, BO
kusano 2b45e8
	FMADD2	(aa2, bb3, cc06, cc06)
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[BO +  2 * SIZE], b3
kusano 2b45e8
	FMADD4	(aa2, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[BO +  3 * SIZE], b4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb5, cc01, cc01)
kusano 2b45e8
	LDF	[AO +  0 * SIZE], a1
kusano 2b45e8
	FMADD2	(aa4, bb5, cc02, cc02)
kusano 2b45e8
	LDF	[AO +  1 * SIZE], a2
kusano 2b45e8
	FMADD3	(aa3, bb6, cc03, cc03)
kusano 2b45e8
	LDF	[BO +  4 * SIZE], b5
kusano 2b45e8
	FMADD4	(aa4, bb6, cc04, cc04)
kusano 2b45e8
	LDF	[BO +  5 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb7, cc05, cc05)
kusano 2b45e8
	nop
kusano 2b45e8
	FMADD2	(aa4, bb7, cc06, cc06)
kusano 2b45e8
	LDF	[BO +  6 * SIZE], b7
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb8, cc07, cc07)
kusano 2b45e8
	FMADD4	(aa4, bb8, cc08, cc08)
kusano 2b45e8
	bg,pt	%icc, .LL23
kusano 2b45e8
	LDF	[BO +  7 * SIZE], b8
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL25:
kusano 2b45e8
#ifndef TRMMKERNEL
kusano 2b45e8
	and	K,  3, L
kusano 2b45e8
#else
kusano 2b45e8
#if (defined(LEFT) && !defined(TRANSA)) || (!defined(LEFT) && defined(TRANSA))
kusano 2b45e8
	sub	K, KK, L
kusano 2b45e8
#elif defined(LEFT)
kusano 2b45e8
	add	KK, 1, L
kusano 2b45e8
#else
kusano 2b45e8
	add	KK, 2, L
kusano 2b45e8
#endif
kusano 2b45e8
	and	L,  3, L
kusano 2b45e8
#endif
kusano 2b45e8
	cmp	L,  0
kusano 2b45e8
	ble,a,pn %icc, .LL28
kusano 2b45e8
	nop
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL27:
kusano 2b45e8
	FMADD1	(aa1, bb1, cc01, cc01)
kusano 2b45e8
	add	L, -1, L
kusano 2b45e8
	FMADD2	(aa2, bb1, cc02, cc02)
kusano 2b45e8
	LDF	[BO + 4 * SIZE], b1
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb2, cc03, cc03)
kusano 2b45e8
	add	AO, 2 * SIZE, AO
kusano 2b45e8
	FMADD4	(aa2, bb2, cc04, cc04)
kusano 2b45e8
	LDF	[BO + 5 * SIZE], b2
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb3, cc05, cc05)
kusano 2b45e8
	cmp	L, 0
kusano 2b45e8
	FMADD2	(aa2, bb3, cc06, cc06)
kusano 2b45e8
	LDF	[BO + 6 * SIZE], b3
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb4, cc07, cc07)
kusano 2b45e8
	LDF	[AO + 0 * SIZE], a1
kusano 2b45e8
	FMADD4	(aa2, bb4, cc08, cc08)
kusano 2b45e8
	LDF	[AO + 1 * SIZE], a2
kusano 2b45e8
kusano 2b45e8
	LDF	[BO + 7 * SIZE], b4
kusano 2b45e8
	bg,pt	%icc, .LL27
kusano 2b45e8
	add	BO, 4 * SIZE, BO
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL28:
kusano 2b45e8
#ifndef TRMMKERNEL
kusano 2b45e8
	LDF	[C1 + 0 * SIZE], a1
kusano 2b45e8
	FADD	  c01, c04, c01
kusano 2b45e8
	LDF	[C1 + 1 * SIZE], a2
kusano 2b45e8
	FADD	  c02, c03, c02
kusano 2b45e8
	LDF	[C2 + 0 * SIZE], a3
kusano 2b45e8
	FADD	  c05, c08, c05
kusano 2b45e8
	LDF	[C2 + 1 * SIZE], a4
kusano 2b45e8
	FADD	  c06, c07, c06
kusano 2b45e8
kusano 2b45e8
	FMADD	(alpha_r, cc01, aa1, aa1)
kusano 2b45e8
	FMADD	(alpha_r, cc02, aa2, aa2)
kusano 2b45e8
	FMADD	(alpha_r, cc05, aa3, aa3)
kusano 2b45e8
	FMADD	(alpha_r, cc06, aa4, aa4)
kusano 2b45e8
#else
kusano 2b45e8
	FADD	  c01, c04, c01
kusano 2b45e8
	FADD	  c02, c03, c02
kusano 2b45e8
	FADD	  c05, c08, c05
kusano 2b45e8
	FADD	  c06, c07, c06
kusano 2b45e8
kusano 2b45e8
	FMUL	ALPHA_R, c01, a1
kusano 2b45e8
	FMUL	ALPHA_R, c02, a2
kusano 2b45e8
	FMUL	ALPHA_R, c05, a3
kusano 2b45e8
	FMUL	ALPHA_R, c06, a4
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	FNMSUB	(alpha_i, cc02, aa1, aa1)
kusano 2b45e8
	FMADD	(alpha_i, cc01, aa2, aa2)
kusano 2b45e8
	FNMSUB	(alpha_i, cc06, aa3, aa3)
kusano 2b45e8
	FMADD	(alpha_i, cc05, aa4, aa4)
kusano 2b45e8
kusano 2b45e8
	STF	a1, [C1 + 0 * SIZE]
kusano 2b45e8
	add	I, -1, I
kusano 2b45e8
	STF	a2, [C1 + 1 * SIZE]
kusano 2b45e8
	cmp	I, 0
kusano 2b45e8
	STF	a3, [C2 + 0 * SIZE]
kusano 2b45e8
	add	C1, 2 * SIZE, C1
kusano 2b45e8
	STF	a4, [C2 + 1 * SIZE]
kusano 2b45e8
	add	C2, 2 * SIZE, C2
kusano 2b45e8
kusano 2b45e8
#ifdef TRMMKERNEL
kusano 2b45e8
#if ( defined(LEFT) &&  defined(TRANSA)) || \
kusano 2b45e8
    (!defined(LEFT) && !defined(TRANSA))
kusano 2b45e8
	sub	K, KK, TEMP1
kusano 2b45e8
#ifdef LEFT
kusano 2b45e8
	add	TEMP1, -1, TEMP1
kusano 2b45e8
#else
kusano 2b45e8
	add	TEMP1, -2, TEMP1
kusano 2b45e8
#endif
kusano 2b45e8
	sll	TEMP1, ZBASE_SHIFT + 0, TEMP2
kusano 2b45e8
	sll	TEMP1, ZBASE_SHIFT + 1, TEMP1
kusano 2b45e8
kusano 2b45e8
	add	AO, TEMP2, AO
kusano 2b45e8
	add	BO, TEMP1, BO
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
#ifdef LEFT
kusano 2b45e8
	add	KK, 1, KK
kusano 2b45e8
#endif
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	bg,pt	%icc, .LL22
kusano 2b45e8
	nop
kusano 2b45e8
kusano 2b45e8
#if defined(TRMMKERNEL) && !defined(LEFT)
kusano 2b45e8
	add	KK, 2, KK
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	mov	BO, B
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL30:
kusano 2b45e8
	and	N, 1, J
kusano 2b45e8
	cmp	J, 0
kusano 2b45e8
	ble,pn	%icc, .LL999
kusano 2b45e8
	mov	C,  C1
kusano 2b45e8
kusano 2b45e8
#if defined(TRMMKERNEL) &&  defined(LEFT)
kusano 2b45e8
	mov	OFFSET, KK
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	mov	M, I
kusano 2b45e8
	mov	A, AO
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL32:
kusano 2b45e8
#if !defined(TRMMKERNEL) || (defined(TRMMKERNEL) && ((defined(LEFT) && defined(TRANSA)) || (!defined(LEFT) && !defined(TRANSA))))
kusano 2b45e8
	mov	B, BO
kusano 2b45e8
#else
kusano 2b45e8
	sll	KK, ZBASE_SHIFT + 0, TEMP1
kusano 2b45e8
	sll	KK, ZBASE_SHIFT + 0, TEMP2
kusano 2b45e8
kusano 2b45e8
	add	AO, TEMP1, AO
kusano 2b45e8
	add	B,  TEMP2, BO
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	LDF	[AO +  0 * SIZE], a1
kusano 2b45e8
	LDF	[AO +  1 * SIZE], a2
kusano 2b45e8
	LDF	[AO +  2 * SIZE], a3
kusano 2b45e8
	LDF	[AO +  3 * SIZE], a4
kusano 2b45e8
kusano 2b45e8
	LDF	[BO +  0 * SIZE], b1
kusano 2b45e8
	LDF	[BO +  1 * SIZE], b2
kusano 2b45e8
	LDF	[BO +  2 * SIZE], b3
kusano 2b45e8
	FCLR	(cc01)
kusano 2b45e8
	LDF	[BO +  3 * SIZE], b4
kusano 2b45e8
	FCLR	(cc02)
kusano 2b45e8
kusano 2b45e8
	LDF	[BO +  4 * SIZE], b5
kusano 2b45e8
	FCLR	(cc03)
kusano 2b45e8
	LDF	[BO +  5 * SIZE], b6
kusano 2b45e8
	FCLR	(cc04)
kusano 2b45e8
	LDF	[BO +  6 * SIZE], b7
kusano 2b45e8
	FCLR	(cc05)
kusano 2b45e8
	LDF	[BO +  7 * SIZE], b8
kusano 2b45e8
	FCLR	(cc06)
kusano 2b45e8
kusano 2b45e8
	prefetch [C1 + 2 * SIZE], 3
kusano 2b45e8
	FCLR	(cc07)
kusano 2b45e8
kusano 2b45e8
#ifndef TRMMKERNEL
kusano 2b45e8
	sra	K,  2, L
kusano 2b45e8
#else
kusano 2b45e8
#if (defined(LEFT) && !defined(TRANSA)) || (!defined(LEFT) && defined(TRANSA))
kusano 2b45e8
	sub	K, KK, L
kusano 2b45e8
#elif defined(LEFT)
kusano 2b45e8
	add	KK, 1, L
kusano 2b45e8
#else
kusano 2b45e8
	add	KK, 1, L
kusano 2b45e8
#endif
kusano 2b45e8
	sra	L,  2, L
kusano 2b45e8
#endif
kusano 2b45e8
	cmp	L,  0
kusano 2b45e8
	ble,pn	%icc, .LL35
kusano 2b45e8
	FCLR	(cc08)
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL33:
kusano 2b45e8
	FMADD1	(aa1, bb1, cc01, cc01)
kusano 2b45e8
	prefetch [AO + (APREFETCHSIZE +  0) * SIZE], APREFETCH_CATEGORY
kusano 2b45e8
	FMADD2	(aa2, bb1, cc02, cc02)
kusano 2b45e8
	LDF	[BO +  8 * SIZE], b1
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb2, cc03, cc03)
kusano 2b45e8
	LDF	[AO +  4 * SIZE], a1
kusano 2b45e8
	FMADD4	(aa2, bb2, cc04, cc04)
kusano 2b45e8
	LDF	[AO +  5 * SIZE], a2
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb3, cc01, cc01)
kusano 2b45e8
	LDF	[BO +  9 * SIZE], b2
kusano 2b45e8
	FMADD2	(aa4, bb3, cc02, cc02)
kusano 2b45e8
	LDF	[BO + 10 * SIZE], b3
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb4, cc03, cc03)
kusano 2b45e8
	LDF	[AO +  6 * SIZE], a3
kusano 2b45e8
	FMADD4	(aa4, bb4, cc04, cc04)
kusano 2b45e8
	LDF	[AO +  7 * SIZE], a4
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa1, bb5, cc01, cc01)
kusano 2b45e8
	LDF	[BO + 11 * SIZE], b4
kusano 2b45e8
	FMADD2	(aa2, bb5, cc02, cc02)
kusano 2b45e8
	LDF	[BO + 12 * SIZE], b5
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb6, cc03, cc03)
kusano 2b45e8
	LDF	[AO +  8 * SIZE], a1
kusano 2b45e8
	FMADD4	(aa2, bb6, cc04, cc04)
kusano 2b45e8
	LDF	[AO +  9 * SIZE], a2
kusano 2b45e8
kusano 2b45e8
	FMADD1	(aa3, bb7, cc01, cc01)
kusano 2b45e8
	LDF	[BO + 13 * SIZE], b6
kusano 2b45e8
kusano 2b45e8
	FMADD2	(aa4, bb7, cc02, cc02)
kusano 2b45e8
	LDF	[BO + 14 * SIZE], b7
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa3, bb8, cc03, cc03)
kusano 2b45e8
	LDF	[AO + 10 * SIZE], a3
kusano 2b45e8
	FMADD4	(aa4, bb8, cc04, cc04)
kusano 2b45e8
	LDF	[AO + 11 * SIZE], a4
kusano 2b45e8
kusano 2b45e8
	add	AO,  8 * SIZE, AO
kusano 2b45e8
	add	L, -1, L
kusano 2b45e8
	add	BO,  8 * SIZE, BO
kusano 2b45e8
	cmp	L, 0
kusano 2b45e8
kusano 2b45e8
	bg,pt	%icc, .LL33
kusano 2b45e8
	LDF	[BO +  7 * SIZE], b8
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL35:
kusano 2b45e8
#ifndef TRMMKERNEL
kusano 2b45e8
	and	K,  3, L
kusano 2b45e8
#else
kusano 2b45e8
#if (defined(LEFT) && !defined(TRANSA)) || (!defined(LEFT) && defined(TRANSA))
kusano 2b45e8
	sub	K, KK, L
kusano 2b45e8
#elif defined(LEFT)
kusano 2b45e8
	add	KK, 1, L
kusano 2b45e8
#else
kusano 2b45e8
	add	KK, 1, L
kusano 2b45e8
#endif
kusano 2b45e8
	and	L,  3, L
kusano 2b45e8
#endif
kusano 2b45e8
	cmp	L,  0
kusano 2b45e8
	ble,a,pn %icc, .LL38
kusano 2b45e8
	nop
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL37:
kusano 2b45e8
	FMADD1	(aa1, bb1, cc01, cc01)
kusano 2b45e8
	add	L, -1, L
kusano 2b45e8
	FMADD2	(aa2, bb1, cc02, cc02)
kusano 2b45e8
	LDF	[BO + 2 * SIZE], b1
kusano 2b45e8
kusano 2b45e8
	FMADD3	(aa1, bb2, cc03, cc03)
kusano 2b45e8
	LDF	[AO + 2 * SIZE], a1
kusano 2b45e8
	FMADD4	(aa2, bb2, cc04, cc04)
kusano 2b45e8
	LDF	[AO + 3 * SIZE], a2
kusano 2b45e8
kusano 2b45e8
	add	AO, 2 * SIZE, AO
kusano 2b45e8
	cmp	L, 0
kusano 2b45e8
	add	BO, 2 * SIZE, BO
kusano 2b45e8
	bg,pt	%icc, .LL37
kusano 2b45e8
	LDF	[BO + 1 * SIZE], b2
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL38:
kusano 2b45e8
#ifndef TRMMKERNEL
kusano 2b45e8
	LDF	[C1 + 0 * SIZE], a1
kusano 2b45e8
	FADD	  c01, c04, c01
kusano 2b45e8
	LDF	[C1 + 1 * SIZE], a2
kusano 2b45e8
	FADD	  c02, c03, c02
kusano 2b45e8
kusano 2b45e8
	FMADD	(alpha_r, cc01, aa1, aa1)
kusano 2b45e8
	FMADD	(alpha_r, cc02, aa2, aa2)
kusano 2b45e8
#else
kusano 2b45e8
	FADD	  c01, c04, c01
kusano 2b45e8
	FADD	  c02, c03, c02
kusano 2b45e8
kusano 2b45e8
	FMUL	ALPHA_R, c01, a1
kusano 2b45e8
	FMUL	ALPHA_R, c02, a2
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	FNMSUB	(alpha_i, cc02, aa1, aa1)
kusano 2b45e8
	FMADD	(alpha_i, cc01, aa2, aa2)
kusano 2b45e8
kusano 2b45e8
	STF	a1, [C1 + 0 * SIZE]
kusano 2b45e8
	STF	a2, [C1 + 1 * SIZE]
kusano 2b45e8
kusano 2b45e8
#ifdef TRMMKERNEL
kusano 2b45e8
#if ( defined(LEFT) &&  defined(TRANSA)) || \
kusano 2b45e8
    (!defined(LEFT) && !defined(TRANSA))
kusano 2b45e8
	sub	K, KK, TEMP1
kusano 2b45e8
#ifdef LEFT
kusano 2b45e8
	add	TEMP1, -1, TEMP1
kusano 2b45e8
#else
kusano 2b45e8
	add	TEMP1, -1, TEMP1
kusano 2b45e8
#endif
kusano 2b45e8
	sll	TEMP1, ZBASE_SHIFT + 0, TEMP2
kusano 2b45e8
	sll	TEMP1, ZBASE_SHIFT + 0, TEMP1
kusano 2b45e8
kusano 2b45e8
	add	AO, TEMP2, AO
kusano 2b45e8
	add	BO, TEMP1, BO
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
#ifdef LEFT
kusano 2b45e8
	add	KK, 1, KK
kusano 2b45e8
#endif
kusano 2b45e8
#endif
kusano 2b45e8
kusano 2b45e8
	add	I, -1, I
kusano 2b45e8
	cmp	I, 0
kusano 2b45e8
	bg,pt	%icc, .LL32
kusano 2b45e8
	add	C1, 2 * SIZE, C1
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
.LL999:
kusano 2b45e8
	return	%i7 + 8
kusano 2b45e8
	clr	%o0
kusano 2b45e8
kusano 2b45e8
	EPILOGUE