|
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 |
|
|
kusano |
2b45e8 |
#ifdef DOUBLE
|
|
kusano |
2b45e8 |
#define PREFETCHSIZE 44
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
#define PREFETCHSIZE 88
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define M %i0
|
|
kusano |
2b45e8 |
#define N %i1
|
|
kusano |
2b45e8 |
#define A %i5
|
|
kusano |
2b45e8 |
#define LDA %i2
|
|
kusano |
2b45e8 |
#define X %i3
|
|
kusano |
2b45e8 |
#define INCX %i4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define Y %l0
|
|
kusano |
2b45e8 |
#define INCY %l1
|
|
kusano |
2b45e8 |
#define BUFFER %l2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define I %l3
|
|
kusano |
2b45e8 |
#define J %l5
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define A1 %o0
|
|
kusano |
2b45e8 |
#define A2 %o1
|
|
kusano |
2b45e8 |
#define A3 %o2
|
|
kusano |
2b45e8 |
#define A4 %o3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define Y1 %l4
|
|
kusano |
2b45e8 |
#define YY %l6
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef DOUBLE
|
|
kusano |
2b45e8 |
#define t1 %f0
|
|
kusano |
2b45e8 |
#define t2 %f2
|
|
kusano |
2b45e8 |
#define t3 %f4
|
|
kusano |
2b45e8 |
#define t4 %f6
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define y1 %f8
|
|
kusano |
2b45e8 |
#define y2 %f10
|
|
kusano |
2b45e8 |
#define y3 %f12
|
|
kusano |
2b45e8 |
#define y4 %f14
|
|
kusano |
2b45e8 |
#define y5 %f16
|
|
kusano |
2b45e8 |
#define y6 %f18
|
|
kusano |
2b45e8 |
#define y7 %f20
|
|
kusano |
2b45e8 |
#define y8 %f22
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define a1 %f24
|
|
kusano |
2b45e8 |
#define a2 %f26
|
|
kusano |
2b45e8 |
#define a3 %f28
|
|
kusano |
2b45e8 |
#define a4 %f30
|
|
kusano |
2b45e8 |
#define a5 %f32
|
|
kusano |
2b45e8 |
#define a6 %f34
|
|
kusano |
2b45e8 |
#define a7 %f36
|
|
kusano |
2b45e8 |
#define a8 %f38
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define a9 %f40
|
|
kusano |
2b45e8 |
#define a10 %f42
|
|
kusano |
2b45e8 |
#define a11 %f44
|
|
kusano |
2b45e8 |
#define a12 %f46
|
|
kusano |
2b45e8 |
#define a13 %f48
|
|
kusano |
2b45e8 |
#define a14 %f50
|
|
kusano |
2b45e8 |
#define a15 %f52
|
|
kusano |
2b45e8 |
#define a16 %f54
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define x1 %f56
|
|
kusano |
2b45e8 |
#define x2 %f58
|
|
kusano |
2b45e8 |
#define x3 %f60
|
|
kusano |
2b45e8 |
#define x4 %f62
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define FZERO %f50
|
|
kusano |
2b45e8 |
#define ALPHA_R %f52
|
|
kusano |
2b45e8 |
#define ALPHA_I %f54
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
#define t1 %f0
|
|
kusano |
2b45e8 |
#define t2 %f1
|
|
kusano |
2b45e8 |
#define t3 %f2
|
|
kusano |
2b45e8 |
#define t4 %f3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define y1 %f4
|
|
kusano |
2b45e8 |
#define y2 %f5
|
|
kusano |
2b45e8 |
#define y3 %f6
|
|
kusano |
2b45e8 |
#define y4 %f7
|
|
kusano |
2b45e8 |
#define y5 %f8
|
|
kusano |
2b45e8 |
#define y6 %f9
|
|
kusano |
2b45e8 |
#define y7 %f10
|
|
kusano |
2b45e8 |
#define y8 %f11
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define a1 %f12
|
|
kusano |
2b45e8 |
#define a2 %f13
|
|
kusano |
2b45e8 |
#define a3 %f14
|
|
kusano |
2b45e8 |
#define a4 %f15
|
|
kusano |
2b45e8 |
#define a5 %f16
|
|
kusano |
2b45e8 |
#define a6 %f17
|
|
kusano |
2b45e8 |
#define a7 %f18
|
|
kusano |
2b45e8 |
#define a8 %f19
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define a9 %f20
|
|
kusano |
2b45e8 |
#define a10 %f21
|
|
kusano |
2b45e8 |
#define a11 %f22
|
|
kusano |
2b45e8 |
#define a12 %f23
|
|
kusano |
2b45e8 |
#define a13 %f24
|
|
kusano |
2b45e8 |
#define a14 %f25
|
|
kusano |
2b45e8 |
#define a15 %f26
|
|
kusano |
2b45e8 |
#define a16 %f27
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define x1 %f28
|
|
kusano |
2b45e8 |
#define x2 %f29
|
|
kusano |
2b45e8 |
#define x3 %f30
|
|
kusano |
2b45e8 |
#define x4 %f31
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define FZERO %f25
|
|
kusano |
2b45e8 |
#define ALPHA_R %f26
|
|
kusano |
2b45e8 |
#define ALPHA_I %f27
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifndef __64BIT__
|
|
kusano |
2b45e8 |
#define STACK_ALPHA_R [%sp + STACK_START + 16]
|
|
kusano |
2b45e8 |
#ifndef DOUBLE
|
|
kusano |
2b45e8 |
#define STACK_ALPHA_I [%sp + STACK_START + 20]
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
#define STACK_ALPHA_I [%sp + STACK_START + 24]
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
#define STACK_ALPHA_R [%sp + STACK_START + 32]
|
|
kusano |
2b45e8 |
#define STACK_ALPHA_I [%sp + STACK_START + 40]
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifndef CONJ
|
|
kusano |
2b45e8 |
#define FSUBX FSUB
|
|
kusano |
2b45e8 |
#define FADDX FADD
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
#define FSUBX FADD
|
|
kusano |
2b45e8 |
#define FADDX FSUB
|
|
kusano |
2b45e8 |
#endif
|
|
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] /* ALPHA_R */
|
|
kusano |
2b45e8 |
st %i4, [%sp + STACK_START + 20]
|
|
kusano |
2b45e8 |
st %i5, [%sp + STACK_START + 24] /* ALPHA_I */
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
ld [%sp + STACK_START + 32], A
|
|
kusano |
2b45e8 |
ld [%sp + STACK_START + 36], LDA
|
|
kusano |
2b45e8 |
ld [%sp + STACK_START + 40], X
|
|
kusano |
2b45e8 |
ld [%sp + STACK_START + 44], INCX
|
|
kusano |
2b45e8 |
ld [%sp + STACK_START + 48], Y
|
|
kusano |
2b45e8 |
ld [%sp + STACK_START + 52], INCY
|
|
kusano |
2b45e8 |
ld [%sp + STACK_START + 56], BUFFER
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
st %i3, [%sp + STACK_START + 16] /* ALPHA_R */
|
|
kusano |
2b45e8 |
st %i4, [%sp + STACK_START + 20] /* ALPHA_I */
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
ld [%sp + STACK_START + 28], LDA
|
|
kusano |
2b45e8 |
ld [%sp + STACK_START + 32], X
|
|
kusano |
2b45e8 |
ld [%sp + STACK_START + 36], INCX
|
|
kusano |
2b45e8 |
ld [%sp + STACK_START + 40], Y
|
|
kusano |
2b45e8 |
ld [%sp + STACK_START + 44], INCY
|
|
kusano |
2b45e8 |
ld [%sp + STACK_START + 48], BUFFER
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
ldx [%sp + STACK_START + 56], LDA
|
|
kusano |
2b45e8 |
ldx [%sp + STACK_START + 64], X
|
|
kusano |
2b45e8 |
ldx [%sp + STACK_START + 72], INCX
|
|
kusano |
2b45e8 |
ldx [%sp + STACK_START + 80], Y
|
|
kusano |
2b45e8 |
ldx [%sp + STACK_START + 88], INCY
|
|
kusano |
2b45e8 |
ldx [%sp + STACK_START + 96], BUFFER
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef DOUBLE
|
|
kusano |
2b45e8 |
std %f6, STACK_ALPHA_R
|
|
kusano |
2b45e8 |
std %f8, STACK_ALPHA_I
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
st %f7, STACK_ALPHA_R
|
|
kusano |
2b45e8 |
st %f9, STACK_ALPHA_I
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
sll LDA, ZBASE_SHIFT, LDA
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
cmp M, 0
|
|
kusano |
2b45e8 |
ble %icc, .LL999
|
|
kusano |
2b45e8 |
sll INCX, ZBASE_SHIFT, INCX
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
cmp N, 0
|
|
kusano |
2b45e8 |
ble %icc, .LL999
|
|
kusano |
2b45e8 |
sll INCY, ZBASE_SHIFT, INCY
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
cmp INCY, 2 * SIZE
|
|
kusano |
2b45e8 |
be %icc, .LL20
|
|
kusano |
2b45e8 |
mov Y, YY
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef DOUBLE
|
|
kusano |
2b45e8 |
FCLR(19)
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
FCLR(25)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
add M, 3, J
|
|
kusano |
2b45e8 |
sra J, 2, J
|
|
kusano |
2b45e8 |
mov BUFFER, YY
|
|
kusano |
2b45e8 |
mov BUFFER, Y1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL01:
|
|
kusano |
2b45e8 |
STF FZERO, [Y1 + 0 * SIZE]
|
|
kusano |
2b45e8 |
nop
|
|
kusano |
2b45e8 |
STF FZERO, [Y1 + 1 * SIZE]
|
|
kusano |
2b45e8 |
STF FZERO, [Y1 + 2 * SIZE]
|
|
kusano |
2b45e8 |
STF FZERO, [Y1 + 3 * SIZE]
|
|
kusano |
2b45e8 |
STF FZERO, [Y1 + 4 * SIZE]
|
|
kusano |
2b45e8 |
nop
|
|
kusano |
2b45e8 |
STF FZERO, [Y1 + 5 * SIZE]
|
|
kusano |
2b45e8 |
deccc J
|
|
kusano |
2b45e8 |
STF FZERO, [Y1 + 6 * SIZE]
|
|
kusano |
2b45e8 |
nop
|
|
kusano |
2b45e8 |
STF FZERO, [Y1 + 7 * SIZE]
|
|
kusano |
2b45e8 |
bg,pn %icc, .LL01
|
|
kusano |
2b45e8 |
add Y1, 8 * SIZE, Y1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL20:
|
|
kusano |
2b45e8 |
sra N, 1, J
|
|
kusano |
2b45e8 |
cmp J, 0
|
|
kusano |
2b45e8 |
ble,pn %icc, .LL30
|
|
kusano |
2b45e8 |
nop
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL21:
|
|
kusano |
2b45e8 |
mov YY, Y1
|
|
kusano |
2b45e8 |
mov A, A1
|
|
kusano |
2b45e8 |
LDF STACK_ALPHA_R, ALPHA_R
|
|
kusano |
2b45e8 |
LDF STACK_ALPHA_I, ALPHA_I
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
add A, LDA, A2
|
|
kusano |
2b45e8 |
add A2, LDA, A
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [X + 0 * SIZE], x1
|
|
kusano |
2b45e8 |
LDF [X + 1 * SIZE], x2
|
|
kusano |
2b45e8 |
add X, INCX, X
|
|
kusano |
2b45e8 |
LDF [X + 0 * SIZE], x3
|
|
kusano |
2b45e8 |
LDF [X + 1 * SIZE], x4
|
|
kusano |
2b45e8 |
add X, INCX, X
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL ALPHA_R, x1, a1
|
|
kusano |
2b45e8 |
FMUL ALPHA_I, x2, a4
|
|
kusano |
2b45e8 |
FMUL ALPHA_I, x1, a2
|
|
kusano |
2b45e8 |
FMUL ALPHA_R, x2, a3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL ALPHA_R, x3, a5
|
|
kusano |
2b45e8 |
FMUL ALPHA_I, x4, a8
|
|
kusano |
2b45e8 |
FMUL ALPHA_I, x3, a6
|
|
kusano |
2b45e8 |
FMUL ALPHA_R, x4, a7
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifndef XCONJ
|
|
kusano |
2b45e8 |
FSUB a1, a4, x1
|
|
kusano |
2b45e8 |
FADD a2, a3, x2
|
|
kusano |
2b45e8 |
FSUB a5, a8, x3
|
|
kusano |
2b45e8 |
FADD a6, a7, x4
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
FADD a1, a4, x1
|
|
kusano |
2b45e8 |
FSUB a2, a3, x2
|
|
kusano |
2b45e8 |
FADD a5, a8, x3
|
|
kusano |
2b45e8 |
FSUB a6, a7, x4
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
sra M, 2, I
|
|
kusano |
2b45e8 |
cmp I, 0
|
|
kusano |
2b45e8 |
ble,pn %icc, .LL27
|
|
kusano |
2b45e8 |
nop
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [A1 + 0 * SIZE], a1
|
|
kusano |
2b45e8 |
LDF [A1 + 1 * SIZE], a2
|
|
kusano |
2b45e8 |
LDF [A1 + 2 * SIZE], a3
|
|
kusano |
2b45e8 |
LDF [A1 + 3 * SIZE], a4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [A1 + 4 * SIZE], a9
|
|
kusano |
2b45e8 |
LDF [A1 + 5 * SIZE], a10
|
|
kusano |
2b45e8 |
LDF [A1 + 6 * SIZE], a11
|
|
kusano |
2b45e8 |
LDF [A1 + 7 * SIZE], a12
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [A2 + 0 * SIZE], a5
|
|
kusano |
2b45e8 |
LDF [A2 + 1 * SIZE], a6
|
|
kusano |
2b45e8 |
LDF [A2 + 2 * SIZE], a7
|
|
kusano |
2b45e8 |
LDF [A2 + 3 * SIZE], a8
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [A2 + 4 * SIZE], a13
|
|
kusano |
2b45e8 |
LDF [A2 + 5 * SIZE], a14
|
|
kusano |
2b45e8 |
LDF [A2 + 6 * SIZE], a15
|
|
kusano |
2b45e8 |
LDF [A2 + 7 * SIZE], a16
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [Y1 + 0 * SIZE], y1
|
|
kusano |
2b45e8 |
LDF [Y1 + 1 * SIZE], y2
|
|
kusano |
2b45e8 |
LDF [Y1 + 2 * SIZE], y3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL a1, x1, t1
|
|
kusano |
2b45e8 |
deccc I
|
|
kusano |
2b45e8 |
FMUL a1, x2, t2
|
|
kusano |
2b45e8 |
LDF [A1 + 8 * SIZE], a1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL a3, x1, t3
|
|
kusano |
2b45e8 |
FMUL a3, x2, t4
|
|
kusano |
2b45e8 |
ble,pn %icc, .LL26
|
|
kusano |
2b45e8 |
LDF [A1 + 10 * SIZE], a3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y1, t1, y1
|
|
kusano |
2b45e8 |
LDF [Y1 + 3 * SIZE], y4
|
|
kusano |
2b45e8 |
FMUL a2, x2, t1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a2, x1, t2
|
|
kusano |
2b45e8 |
LDF [A1 + 9 * SIZE], a2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y3, t3, y3
|
|
kusano |
2b45e8 |
LDF [Y1 + 4 * SIZE], y5
|
|
kusano |
2b45e8 |
FMUL a4, x2, t3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a4, x1, t4
|
|
kusano |
2b45e8 |
LDF [A1 + 11 * SIZE], a4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y1, t1, y1
|
|
kusano |
2b45e8 |
LDF [Y1 + 5 * SIZE], y6
|
|
kusano |
2b45e8 |
FMUL a5, x3, t1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADDX y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a5, x4, t2
|
|
kusano |
2b45e8 |
LDF [A2 + 8 * SIZE], a5
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y3, t3, y3
|
|
kusano |
2b45e8 |
LDF [Y1 + 6 * SIZE], y7
|
|
kusano |
2b45e8 |
FMUL a7, x3, t3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADDX y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a7, x4, t4
|
|
kusano |
2b45e8 |
LDF [A2 + 10 * SIZE], a7
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y1, t1, y1
|
|
kusano |
2b45e8 |
LDF [Y1 + 7 * SIZE], y8
|
|
kusano |
2b45e8 |
FMUL a6, x4, t1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a6, x3, t2
|
|
kusano |
2b45e8 |
LDF [A2 + 9 * SIZE], a6
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y3, t3, y3
|
|
kusano |
2b45e8 |
FMUL a8, x4, t3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a8, x3, t4
|
|
kusano |
2b45e8 |
LDF [A2 + 11 * SIZE], a8
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y1, t1, y1
|
|
kusano |
2b45e8 |
FMUL a9, x1, t1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADDX y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a9, x2, t2
|
|
kusano |
2b45e8 |
LDF [A1 + 12 * SIZE], a9
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y3, t3, y3
|
|
kusano |
2b45e8 |
deccc I
|
|
kusano |
2b45e8 |
FMUL a11, x1, t3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADDX y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a11, x2, t4
|
|
kusano |
2b45e8 |
ble,pn %icc, .LL23
|
|
kusano |
2b45e8 |
LDF [A1 + 14 * SIZE], a11
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL22:
|
|
kusano |
2b45e8 |
FADD y5, t1, y5
|
|
kusano |
2b45e8 |
prefetch [A1 + PREFETCHSIZE * SIZE], 1
|
|
kusano |
2b45e8 |
FMUL a10, x2, t1
|
|
kusano |
2b45e8 |
LDF [Y1 + 7 * SIZE], y8
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y6, t2, y6
|
|
kusano |
2b45e8 |
FMUL a10, x1, t2
|
|
kusano |
2b45e8 |
LDF [A1 + 13 * SIZE], a10
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y7, t3, y7
|
|
kusano |
2b45e8 |
FMUL a12, x2, t3
|
|
kusano |
2b45e8 |
STF y1, [Y1 + 0 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y8, t4, y8
|
|
kusano |
2b45e8 |
FMUL a12, x1, t4
|
|
kusano |
2b45e8 |
LDF [A1 + 15 * SIZE], a12
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y5, t1, y5
|
|
kusano |
2b45e8 |
FMUL a13, x3, t1
|
|
kusano |
2b45e8 |
STF y2, [Y1 + 1 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADDX y6, t2, y6
|
|
kusano |
2b45e8 |
FMUL a13, x4, t2
|
|
kusano |
2b45e8 |
LDF [A2 + 12 * SIZE], a13
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y7, t3, y7
|
|
kusano |
2b45e8 |
FMUL a15, x3, t3
|
|
kusano |
2b45e8 |
STF y3, [Y1 + 2 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADDX y8, t4, y8
|
|
kusano |
2b45e8 |
FMUL a15, x4, t4
|
|
kusano |
2b45e8 |
LDF [A2 + 14 * SIZE], a15
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y5, t1, y5
|
|
kusano |
2b45e8 |
FMUL a14, x4, t1
|
|
kusano |
2b45e8 |
STF y4, [Y1 + 3 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y6, t2, y6
|
|
kusano |
2b45e8 |
FMUL a14, x3, t2
|
|
kusano |
2b45e8 |
LDF [A2 + 13 * SIZE], a14
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y7, t3, y7
|
|
kusano |
2b45e8 |
FMUL a16, x4, t3
|
|
kusano |
2b45e8 |
LDF [Y1 + 8 * SIZE], y1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y8, t4, y8
|
|
kusano |
2b45e8 |
FMUL a16, x3, t4
|
|
kusano |
2b45e8 |
LDF [A2 + 15 * SIZE], a16
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y5, t1, y5
|
|
kusano |
2b45e8 |
FMUL a1, x1, t1
|
|
kusano |
2b45e8 |
LDF [Y1 + 9 * SIZE], y2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADDX y6, t2, y6
|
|
kusano |
2b45e8 |
FMUL a1, x2, t2
|
|
kusano |
2b45e8 |
LDF [A1 + 16 * SIZE], a1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y7, t3, y7
|
|
kusano |
2b45e8 |
FMUL a3, x1, t3
|
|
kusano |
2b45e8 |
LDF [Y1 + 10 * SIZE], y3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADDX y8, t4, y8
|
|
kusano |
2b45e8 |
FMUL a3, x2, t4
|
|
kusano |
2b45e8 |
LDF [A1 + 18 * SIZE], a3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y1, t1, y1
|
|
kusano |
2b45e8 |
prefetch [A2 + PREFETCHSIZE * SIZE], 1
|
|
kusano |
2b45e8 |
FMUL a2, x2, t1
|
|
kusano |
2b45e8 |
LDF [Y1 + 11 * SIZE], y4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a2, x1, t2
|
|
kusano |
2b45e8 |
LDF [A1 + 17 * SIZE], a2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y3, t3, y3
|
|
kusano |
2b45e8 |
FMUL a4, x2, t3
|
|
kusano |
2b45e8 |
STF y5, [Y1 + 4 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a4, x1, t4
|
|
kusano |
2b45e8 |
LDF [A1 + 19 * SIZE], a4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y1, t1, y1
|
|
kusano |
2b45e8 |
FMUL a5, x3, t1
|
|
kusano |
2b45e8 |
STF y6, [Y1 + 5 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADDX y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a5, x4, t2
|
|
kusano |
2b45e8 |
LDF [A2 + 16 * SIZE], a5
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y3, t3, y3
|
|
kusano |
2b45e8 |
FMUL a7, x3, t3
|
|
kusano |
2b45e8 |
STF y7, [Y1 + 6 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADDX y4, t4, y4
|
|
kusano |
2b45e8 |
deccc I
|
|
kusano |
2b45e8 |
FMUL a7, x4, t4
|
|
kusano |
2b45e8 |
LDF [A2 + 18 * SIZE], a7
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y1, t1, y1
|
|
kusano |
2b45e8 |
FMUL a6, x4, t1
|
|
kusano |
2b45e8 |
STF y8, [Y1 + 7 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a6, x3, t2
|
|
kusano |
2b45e8 |
LDF [A2 + 17 * SIZE], a6
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y3, t3, y3
|
|
kusano |
2b45e8 |
add A1, 8 * SIZE, A1
|
|
kusano |
2b45e8 |
FMUL a8, x4, t3
|
|
kusano |
2b45e8 |
LDF [Y1 + 12 * SIZE], y5
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a8, x3, t4
|
|
kusano |
2b45e8 |
LDF [A2 + 19 * SIZE], a8
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y1, t1, y1
|
|
kusano |
2b45e8 |
add A2, 8 * SIZE, A2
|
|
kusano |
2b45e8 |
FMUL a9, x1, t1
|
|
kusano |
2b45e8 |
LDF [Y1 + 13 * SIZE], y6
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADDX y2, t2, y2
|
|
kusano |
2b45e8 |
add Y1, 8 * SIZE, Y1
|
|
kusano |
2b45e8 |
FMUL a9, x2, t2
|
|
kusano |
2b45e8 |
LDF [A1 + 12 * SIZE], a9
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y3, t3, y3
|
|
kusano |
2b45e8 |
FMUL a11, x1, t3
|
|
kusano |
2b45e8 |
LDF [Y1 + 6 * SIZE], y7
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADDX y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a11, x2, t4
|
|
kusano |
2b45e8 |
bg,pn %icc, .LL22
|
|
kusano |
2b45e8 |
LDF [A1 + 14 * SIZE], a11
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL23:
|
|
kusano |
2b45e8 |
FADD y5, t1, y5
|
|
kusano |
2b45e8 |
FMUL a10, x2, t1
|
|
kusano |
2b45e8 |
LDF [Y1 + 7 * SIZE], y8
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y6, t2, y6
|
|
kusano |
2b45e8 |
FMUL a10, x1, t2
|
|
kusano |
2b45e8 |
LDF [A1 + 13 * SIZE], a10
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y7, t3, y7
|
|
kusano |
2b45e8 |
FMUL a12, x2, t3
|
|
kusano |
2b45e8 |
STF y1, [Y1 + 0 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y8, t4, y8
|
|
kusano |
2b45e8 |
FMUL a12, x1, t4
|
|
kusano |
2b45e8 |
LDF [A1 + 15 * SIZE], a12
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y5, t1, y5
|
|
kusano |
2b45e8 |
FMUL a13, x3, t1
|
|
kusano |
2b45e8 |
STF y2, [Y1 + 1 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADDX y6, t2, y6
|
|
kusano |
2b45e8 |
FMUL a13, x4, t2
|
|
kusano |
2b45e8 |
LDF [A2 + 12 * SIZE], a13
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y7, t3, y7
|
|
kusano |
2b45e8 |
FMUL a15, x3, t3
|
|
kusano |
2b45e8 |
STF y3, [Y1 + 2 * SIZE]
|
|
kusano |
2b45e8 |
FADDX y8, t4, y8
|
|
kusano |
2b45e8 |
FMUL a15, x4, t4
|
|
kusano |
2b45e8 |
LDF [A2 + 14 * SIZE], a15
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y5, t1, y5
|
|
kusano |
2b45e8 |
FMUL a14, x4, t1
|
|
kusano |
2b45e8 |
STF y4, [Y1 + 3 * SIZE]
|
|
kusano |
2b45e8 |
FADD y6, t2, y6
|
|
kusano |
2b45e8 |
FMUL a14, x3, t2
|
|
kusano |
2b45e8 |
LDF [A2 + 13 * SIZE], a14
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y7, t3, y7
|
|
kusano |
2b45e8 |
FMUL a16, x4, t3
|
|
kusano |
2b45e8 |
LDF [Y1 + 8 * SIZE], y1
|
|
kusano |
2b45e8 |
FADD y8, t4, y8
|
|
kusano |
2b45e8 |
FMUL a16, x3, t4
|
|
kusano |
2b45e8 |
LDF [A2 + 15 * SIZE], a16
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y5, t1, y5
|
|
kusano |
2b45e8 |
add A1, 8 * SIZE, A1
|
|
kusano |
2b45e8 |
FMUL a1, x1, t1
|
|
kusano |
2b45e8 |
LDF [Y1 + 9 * SIZE], y2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADDX y6, t2, y6
|
|
kusano |
2b45e8 |
add A2, 8 * SIZE, A2
|
|
kusano |
2b45e8 |
FMUL a1, x2, t2
|
|
kusano |
2b45e8 |
LDF [A1 + 8 * SIZE], a1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y7, t3, y7
|
|
kusano |
2b45e8 |
FMUL a3, x1, t3
|
|
kusano |
2b45e8 |
LDF [Y1 + 10 * SIZE], y3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADDX y8, t4, y8
|
|
kusano |
2b45e8 |
add Y1, 8 * SIZE, Y1
|
|
kusano |
2b45e8 |
FMUL a3, x2, t4
|
|
kusano |
2b45e8 |
LDF [A1 + 10 * SIZE], a3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
STF y5, [Y1 - 4 * SIZE]
|
|
kusano |
2b45e8 |
STF y6, [Y1 - 3 * SIZE]
|
|
kusano |
2b45e8 |
STF y7, [Y1 - 2 * SIZE]
|
|
kusano |
2b45e8 |
STF y8, [Y1 - 1 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL26:
|
|
kusano |
2b45e8 |
FADD y1, t1, y1
|
|
kusano |
2b45e8 |
LDF [Y1 + 3 * SIZE], y4
|
|
kusano |
2b45e8 |
FMUL a2, x2, t1
|
|
kusano |
2b45e8 |
FADD y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a2, x1, t2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y3, t3, y3
|
|
kusano |
2b45e8 |
LDF [Y1 + 4 * SIZE], y5
|
|
kusano |
2b45e8 |
FMUL a4, x2, t3
|
|
kusano |
2b45e8 |
FADD y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a4, x1, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y1, t1, y1
|
|
kusano |
2b45e8 |
LDF [Y1 + 5 * SIZE], y6
|
|
kusano |
2b45e8 |
FMUL a5, x3, t1
|
|
kusano |
2b45e8 |
FADDX y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a5, x4, t2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y3, t3, y3
|
|
kusano |
2b45e8 |
LDF [Y1 + 6 * SIZE], y7
|
|
kusano |
2b45e8 |
FADDX y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a7, x4, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y1, t1, y1
|
|
kusano |
2b45e8 |
LDF [Y1 + 7 * SIZE], y8
|
|
kusano |
2b45e8 |
FMUL a7, x3, t3
|
|
kusano |
2b45e8 |
FMUL a6, x4, t1
|
|
kusano |
2b45e8 |
FADD y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a6, x3, t2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y3, t3, y3
|
|
kusano |
2b45e8 |
FMUL a8, x4, t3
|
|
kusano |
2b45e8 |
FADD y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a8, x3, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y1, t1, y1
|
|
kusano |
2b45e8 |
FMUL a9, x1, t1
|
|
kusano |
2b45e8 |
FADDX y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a9, x2, t2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y3, t3, y3
|
|
kusano |
2b45e8 |
FMUL a11, x1, t3
|
|
kusano |
2b45e8 |
FADDX y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a11, x2, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y5, t1, y5
|
|
kusano |
2b45e8 |
FMUL a10, x2, t1
|
|
kusano |
2b45e8 |
FADD y6, t2, y6
|
|
kusano |
2b45e8 |
FMUL a10, x1, t2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y7, t3, y7
|
|
kusano |
2b45e8 |
FMUL a12, x2, t3
|
|
kusano |
2b45e8 |
FADD y8, t4, y8
|
|
kusano |
2b45e8 |
FMUL a12, x1, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y5, t1, y5
|
|
kusano |
2b45e8 |
FMUL a13, x3, t1
|
|
kusano |
2b45e8 |
FADDX y6, t2, y6
|
|
kusano |
2b45e8 |
FMUL a13, x4, t2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y7, t3, y7
|
|
kusano |
2b45e8 |
FMUL a15, x3, t3
|
|
kusano |
2b45e8 |
FADDX y8, t4, y8
|
|
kusano |
2b45e8 |
FMUL a15, x4, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y5, t1, y5
|
|
kusano |
2b45e8 |
FMUL a14, x4, t1
|
|
kusano |
2b45e8 |
FADD y6, t2, y6
|
|
kusano |
2b45e8 |
FMUL a14, x3, t2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y7, t3, y7
|
|
kusano |
2b45e8 |
FMUL a16, x4, t3
|
|
kusano |
2b45e8 |
FADD y8, t4, y8
|
|
kusano |
2b45e8 |
FMUL a16, x3, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
STF y1, [Y1 + 0 * SIZE]
|
|
kusano |
2b45e8 |
FSUBX y5, t1, y5
|
|
kusano |
2b45e8 |
STF y2, [Y1 + 1 * SIZE]
|
|
kusano |
2b45e8 |
FADDX y6, t2, y6
|
|
kusano |
2b45e8 |
STF y3, [Y1 + 2 * SIZE]
|
|
kusano |
2b45e8 |
FSUBX y7, t3, y7
|
|
kusano |
2b45e8 |
STF y4, [Y1 + 3 * SIZE]
|
|
kusano |
2b45e8 |
FADDX y8, t4, y8
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
STF y5, [Y1 + 4 * SIZE]
|
|
kusano |
2b45e8 |
add A1, 8 * SIZE, A1
|
|
kusano |
2b45e8 |
STF y6, [Y1 + 5 * SIZE]
|
|
kusano |
2b45e8 |
add A2, 8 * SIZE, A2
|
|
kusano |
2b45e8 |
STF y7, [Y1 + 6 * SIZE]
|
|
kusano |
2b45e8 |
STF y8, [Y1 + 7 * SIZE]
|
|
kusano |
2b45e8 |
add Y1, 8 * SIZE, Y1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL27:
|
|
kusano |
2b45e8 |
andcc M, 2, I
|
|
kusano |
2b45e8 |
ble,pn %icc, .LL28
|
|
kusano |
2b45e8 |
nop
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [A1 + 0 * SIZE], a1
|
|
kusano |
2b45e8 |
LDF [A1 + 1 * SIZE], a2
|
|
kusano |
2b45e8 |
LDF [A1 + 2 * SIZE], a3
|
|
kusano |
2b45e8 |
LDF [A1 + 3 * SIZE], a4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [Y1 + 0 * SIZE], y1
|
|
kusano |
2b45e8 |
LDF [Y1 + 1 * SIZE], y2
|
|
kusano |
2b45e8 |
LDF [Y1 + 2 * SIZE], y3
|
|
kusano |
2b45e8 |
LDF [Y1 + 3 * SIZE], y4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL a1, x1, t1
|
|
kusano |
2b45e8 |
LDF [A2 + 0 * SIZE], a5
|
|
kusano |
2b45e8 |
FMUL a1, x2, t2
|
|
kusano |
2b45e8 |
LDF [A2 + 1 * SIZE], a6
|
|
kusano |
2b45e8 |
FMUL a3, x1, t3
|
|
kusano |
2b45e8 |
LDF [A2 + 2 * SIZE], a7
|
|
kusano |
2b45e8 |
FMUL a3, x2, t4
|
|
kusano |
2b45e8 |
LDF [A2 + 3 * SIZE], a8
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y1, t1, y1
|
|
kusano |
2b45e8 |
FMUL a2, x2, t1
|
|
kusano |
2b45e8 |
FADD y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a2, x1, t2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y3, t3, y3
|
|
kusano |
2b45e8 |
FMUL a4, x2, t3
|
|
kusano |
2b45e8 |
FADD y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a4, x1, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y1, t1, y1
|
|
kusano |
2b45e8 |
FMUL a5, x3, t1
|
|
kusano |
2b45e8 |
FADDX y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a5, x4, t2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y3, t3, y3
|
|
kusano |
2b45e8 |
FMUL a7, x3, t3
|
|
kusano |
2b45e8 |
FADDX y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a7, x4, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y1, t1, y1
|
|
kusano |
2b45e8 |
FMUL a6, x4, t1
|
|
kusano |
2b45e8 |
FADD y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a6, x3, t2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y3, t3, y3
|
|
kusano |
2b45e8 |
FMUL a8, x4, t3
|
|
kusano |
2b45e8 |
FADD y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a8, x3, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y1, t1, y1
|
|
kusano |
2b45e8 |
FADDX y2, t2, y2
|
|
kusano |
2b45e8 |
FSUBX y3, t3, y3
|
|
kusano |
2b45e8 |
FADDX y4, t4, y4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
STF y1, [Y1 + 0 * SIZE]
|
|
kusano |
2b45e8 |
add A1, 4 * SIZE, A1
|
|
kusano |
2b45e8 |
STF y2, [Y1 + 1 * SIZE]
|
|
kusano |
2b45e8 |
add A2, 4 * SIZE, A2
|
|
kusano |
2b45e8 |
STF y3, [Y1 + 2 * SIZE]
|
|
kusano |
2b45e8 |
nop
|
|
kusano |
2b45e8 |
STF y4, [Y1 + 3 * SIZE]
|
|
kusano |
2b45e8 |
add Y1, 4 * SIZE, Y1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL28:
|
|
kusano |
2b45e8 |
andcc M, 1, I
|
|
kusano |
2b45e8 |
ble,pn %icc, .LL29
|
|
kusano |
2b45e8 |
nop
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [A1 + 0 * SIZE], a1
|
|
kusano |
2b45e8 |
LDF [A1 + 1 * SIZE], a2
|
|
kusano |
2b45e8 |
LDF [A2 + 0 * SIZE], a3
|
|
kusano |
2b45e8 |
LDF [A2 + 1 * SIZE], a4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [Y1 + 0 * SIZE], y1
|
|
kusano |
2b45e8 |
LDF [Y1 + 1 * SIZE], y2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL a1, x1, t1
|
|
kusano |
2b45e8 |
FMUL a1, x2, t2
|
|
kusano |
2b45e8 |
FMUL a2, x2, t3
|
|
kusano |
2b45e8 |
FMUL a2, x1, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y1, t1, y1
|
|
kusano |
2b45e8 |
FMUL a3, x3, t1
|
|
kusano |
2b45e8 |
FADD y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a3, x4, t2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y1, t3, y1
|
|
kusano |
2b45e8 |
FMUL a4, x4, t3
|
|
kusano |
2b45e8 |
FADDX y2, t4, y2
|
|
kusano |
2b45e8 |
FMUL a4, x3, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y1, t1, y1
|
|
kusano |
2b45e8 |
FADD y2, t2, y2
|
|
kusano |
2b45e8 |
FSUBX y1, t3, y1
|
|
kusano |
2b45e8 |
FADDX y2, t4, y2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
STF y1, [Y1 + 0 * SIZE]
|
|
kusano |
2b45e8 |
STF y2, [Y1 + 1 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL29:
|
|
kusano |
2b45e8 |
deccc J
|
|
kusano |
2b45e8 |
bg %icc, .LL21
|
|
kusano |
2b45e8 |
nop
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL30:
|
|
kusano |
2b45e8 |
andcc N, 1, J
|
|
kusano |
2b45e8 |
ble,pn %icc, .LL990
|
|
kusano |
2b45e8 |
nop
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL31:
|
|
kusano |
2b45e8 |
mov YY, Y1
|
|
kusano |
2b45e8 |
mov A, A1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF STACK_ALPHA_R, ALPHA_R
|
|
kusano |
2b45e8 |
LDF STACK_ALPHA_I, ALPHA_I
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [X + 0 * SIZE], x1
|
|
kusano |
2b45e8 |
LDF [X + 1 * SIZE], x2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL ALPHA_R, x1, a1 /* AC */
|
|
kusano |
2b45e8 |
FMUL ALPHA_I, x1, a2 /* AD */
|
|
kusano |
2b45e8 |
FMUL ALPHA_R, x2, a3 /* BC */
|
|
kusano |
2b45e8 |
FMUL ALPHA_I, x2, a4 /* BD */
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifndef XCONJ
|
|
kusano |
2b45e8 |
FSUB a1, a4, x1
|
|
kusano |
2b45e8 |
FADD a2, a3, x2
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
FADD a1, a4, x1
|
|
kusano |
2b45e8 |
FSUB a2, a3, x2
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
sra M, 2, I
|
|
kusano |
2b45e8 |
cmp I, 0
|
|
kusano |
2b45e8 |
ble,pn %icc, .LL37
|
|
kusano |
2b45e8 |
nop
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [A1 + 0 * SIZE], a1
|
|
kusano |
2b45e8 |
LDF [A1 + 1 * SIZE], a2
|
|
kusano |
2b45e8 |
LDF [A1 + 2 * SIZE], a3
|
|
kusano |
2b45e8 |
LDF [A1 + 3 * SIZE], a4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [A1 + 4 * SIZE], a9
|
|
kusano |
2b45e8 |
LDF [A1 + 5 * SIZE], a10
|
|
kusano |
2b45e8 |
LDF [A1 + 6 * SIZE], a11
|
|
kusano |
2b45e8 |
LDF [A1 + 7 * SIZE], a12
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [Y1 + 0 * SIZE], y1
|
|
kusano |
2b45e8 |
LDF [Y1 + 1 * SIZE], y2
|
|
kusano |
2b45e8 |
LDF [Y1 + 2 * SIZE], y3
|
|
kusano |
2b45e8 |
LDF [Y1 + 3 * SIZE], y4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [Y1 + 4 * SIZE], y5
|
|
kusano |
2b45e8 |
LDF [Y1 + 5 * SIZE], y6
|
|
kusano |
2b45e8 |
LDF [Y1 + 6 * SIZE], y7
|
|
kusano |
2b45e8 |
LDF [Y1 + 7 * SIZE], y8
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL a1, x1, t1
|
|
kusano |
2b45e8 |
deccc I
|
|
kusano |
2b45e8 |
FMUL a1, x2, t2
|
|
kusano |
2b45e8 |
LDF [A1 + 8 * SIZE], a1
|
|
kusano |
2b45e8 |
FMUL a3, x1, t3
|
|
kusano |
2b45e8 |
FMUL a3, x2, t4
|
|
kusano |
2b45e8 |
ble,pn %icc, .LL33
|
|
kusano |
2b45e8 |
LDF [A1 + 10 * SIZE], a3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL32:
|
|
kusano |
2b45e8 |
FADD y1, t1, y1
|
|
kusano |
2b45e8 |
prefetch [A1 + PREFETCHSIZE * SIZE], 1
|
|
kusano |
2b45e8 |
FMUL a2, x2, t1
|
|
kusano |
2b45e8 |
FADD y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a2, x1, t2
|
|
kusano |
2b45e8 |
LDF [A1 + 9 * SIZE], a2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y3, t3, y3
|
|
kusano |
2b45e8 |
FMUL a4, x2, t3
|
|
kusano |
2b45e8 |
FADD y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a4, x1, t4
|
|
kusano |
2b45e8 |
LDF [A1 + 11 * SIZE], a4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y1, t1, y1
|
|
kusano |
2b45e8 |
FMUL a9, x1, t1
|
|
kusano |
2b45e8 |
FADDX y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a9, x2, t2
|
|
kusano |
2b45e8 |
LDF [A1 + 12 * SIZE], a9
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y3, t3, y3
|
|
kusano |
2b45e8 |
FMUL a11, x1, t3
|
|
kusano |
2b45e8 |
FADDX y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a11, x2, t4
|
|
kusano |
2b45e8 |
LDF [A1 + 14 * SIZE], a11
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
STF y1, [Y1 + 0 * SIZE]
|
|
kusano |
2b45e8 |
STF y2, [Y1 + 1 * SIZE]
|
|
kusano |
2b45e8 |
STF y3, [Y1 + 2 * SIZE]
|
|
kusano |
2b45e8 |
STF y4, [Y1 + 3 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y5, t1, y5
|
|
kusano |
2b45e8 |
FMUL a10, x2, t1
|
|
kusano |
2b45e8 |
LDF [Y1 + 8 * SIZE], y1
|
|
kusano |
2b45e8 |
FADD y6, t2, y6
|
|
kusano |
2b45e8 |
FMUL a10, x1, t2
|
|
kusano |
2b45e8 |
LDF [A1 + 13 * SIZE], a10
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y7, t3, y7
|
|
kusano |
2b45e8 |
deccc I
|
|
kusano |
2b45e8 |
FMUL a12, x2, t3
|
|
kusano |
2b45e8 |
LDF [Y1 + 9 * SIZE], y2
|
|
kusano |
2b45e8 |
FADD y8, t4, y8
|
|
kusano |
2b45e8 |
FMUL a12, x1, t4
|
|
kusano |
2b45e8 |
LDF [A1 + 15 * SIZE], a12
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y5, t1, y5
|
|
kusano |
2b45e8 |
add A1, 8 * SIZE, A1
|
|
kusano |
2b45e8 |
FMUL a1, x1, t1
|
|
kusano |
2b45e8 |
LDF [Y1 + 10 * SIZE], y3
|
|
kusano |
2b45e8 |
FADDX y6, t2, y6
|
|
kusano |
2b45e8 |
FMUL a1, x2, t2
|
|
kusano |
2b45e8 |
LDF [A1 + 8 * SIZE], a1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y7, t3, y7
|
|
kusano |
2b45e8 |
FMUL a3, x1, t3
|
|
kusano |
2b45e8 |
LDF [Y1 + 11 * SIZE], y4
|
|
kusano |
2b45e8 |
FADDX y8, t4, y8
|
|
kusano |
2b45e8 |
FMUL a3, x2, t4
|
|
kusano |
2b45e8 |
LDF [A1 + 10 * SIZE], a3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
STF y5, [Y1 + 4 * SIZE]
|
|
kusano |
2b45e8 |
STF y6, [Y1 + 5 * SIZE]
|
|
kusano |
2b45e8 |
STF y7, [Y1 + 6 * SIZE]
|
|
kusano |
2b45e8 |
STF y8, [Y1 + 7 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [Y1 + 12 * SIZE], y5
|
|
kusano |
2b45e8 |
LDF [Y1 + 13 * SIZE], y6
|
|
kusano |
2b45e8 |
LDF [Y1 + 14 * SIZE], y7
|
|
kusano |
2b45e8 |
add Y1, 8 * SIZE, Y1
|
|
kusano |
2b45e8 |
bg,pn %icc, .LL32
|
|
kusano |
2b45e8 |
LDF [Y1 + 7 * SIZE], y8
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL33:
|
|
kusano |
2b45e8 |
FADD y1, t1, y1
|
|
kusano |
2b45e8 |
FMUL a2, x2, t1
|
|
kusano |
2b45e8 |
FADD y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a2, x1, t2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y3, t3, y3
|
|
kusano |
2b45e8 |
FMUL a4, x2, t3
|
|
kusano |
2b45e8 |
FADD y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a4, x1, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y1, t1, y1
|
|
kusano |
2b45e8 |
FMUL a9, x1, t1
|
|
kusano |
2b45e8 |
FADDX y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a9, x2, t2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y3, t3, y3
|
|
kusano |
2b45e8 |
FMUL a11, x1, t3
|
|
kusano |
2b45e8 |
FADDX y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a11, x2, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y5, t1, y5
|
|
kusano |
2b45e8 |
FMUL a10, x2, t1
|
|
kusano |
2b45e8 |
FADD y6, t2, y6
|
|
kusano |
2b45e8 |
FMUL a10, x1, t2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y7, t3, y7
|
|
kusano |
2b45e8 |
FMUL a12, x2, t3
|
|
kusano |
2b45e8 |
FADD y8, t4, y8
|
|
kusano |
2b45e8 |
FMUL a12, x1, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y5, t1, y5
|
|
kusano |
2b45e8 |
FADDX y6, t2, y6
|
|
kusano |
2b45e8 |
FSUBX y7, t3, y7
|
|
kusano |
2b45e8 |
FADDX y8, t4, y8
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
STF y1, [Y1 + 0 * SIZE]
|
|
kusano |
2b45e8 |
STF y2, [Y1 + 1 * SIZE]
|
|
kusano |
2b45e8 |
STF y3, [Y1 + 2 * SIZE]
|
|
kusano |
2b45e8 |
STF y4, [Y1 + 3 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
STF y5, [Y1 + 4 * SIZE]
|
|
kusano |
2b45e8 |
STF y6, [Y1 + 5 * SIZE]
|
|
kusano |
2b45e8 |
STF y7, [Y1 + 6 * SIZE]
|
|
kusano |
2b45e8 |
STF y8, [Y1 + 7 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
add A1, 8 * SIZE, A1
|
|
kusano |
2b45e8 |
add Y1, 8 * SIZE, Y1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL37:
|
|
kusano |
2b45e8 |
andcc M, 2, I
|
|
kusano |
2b45e8 |
ble,pn %icc, .LL38
|
|
kusano |
2b45e8 |
nop
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [A1 + 0 * SIZE], a1
|
|
kusano |
2b45e8 |
LDF [A1 + 1 * SIZE], a2
|
|
kusano |
2b45e8 |
LDF [A1 + 2 * SIZE], a3
|
|
kusano |
2b45e8 |
LDF [A1 + 3 * SIZE], a4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [Y1 + 0 * SIZE], y1
|
|
kusano |
2b45e8 |
FMUL a1, x1, t1
|
|
kusano |
2b45e8 |
LDF [Y1 + 1 * SIZE], y2
|
|
kusano |
2b45e8 |
FMUL a1, x2, t2
|
|
kusano |
2b45e8 |
LDF [Y1 + 2 * SIZE], y3
|
|
kusano |
2b45e8 |
FMUL a3, x1, t3
|
|
kusano |
2b45e8 |
LDF [Y1 + 3 * SIZE], y4
|
|
kusano |
2b45e8 |
FMUL a3, x2, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y1, t1, y1
|
|
kusano |
2b45e8 |
FMUL a2, x2, t1
|
|
kusano |
2b45e8 |
FADD y2, t2, y2
|
|
kusano |
2b45e8 |
FMUL a2, x1, t2
|
|
kusano |
2b45e8 |
FADD y3, t3, y3
|
|
kusano |
2b45e8 |
FMUL a4, x2, t3
|
|
kusano |
2b45e8 |
FADD y4, t4, y4
|
|
kusano |
2b45e8 |
FMUL a4, x1, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FSUBX y1, t1, y1
|
|
kusano |
2b45e8 |
FADDX y2, t2, y2
|
|
kusano |
2b45e8 |
FSUBX y3, t3, y3
|
|
kusano |
2b45e8 |
FADDX y4, t4, y4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
STF y1, [Y1 + 0 * SIZE]
|
|
kusano |
2b45e8 |
STF y2, [Y1 + 1 * SIZE]
|
|
kusano |
2b45e8 |
STF y3, [Y1 + 2 * SIZE]
|
|
kusano |
2b45e8 |
STF y4, [Y1 + 3 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
add A1, 4 * SIZE, A1
|
|
kusano |
2b45e8 |
add Y1, 4 * SIZE, Y1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL38:
|
|
kusano |
2b45e8 |
andcc M, 1, I
|
|
kusano |
2b45e8 |
ble,pn %icc, .LL990
|
|
kusano |
2b45e8 |
nop
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [A1 + 0 * SIZE], a1
|
|
kusano |
2b45e8 |
LDF [A1 + 1 * SIZE], a2
|
|
kusano |
2b45e8 |
LDF [Y1 + 0 * SIZE], y1
|
|
kusano |
2b45e8 |
LDF [Y1 + 1 * SIZE], y2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL a1, x1, t1
|
|
kusano |
2b45e8 |
FMUL a1, x2, t2
|
|
kusano |
2b45e8 |
FMUL a2, x2, t3
|
|
kusano |
2b45e8 |
FMUL a2, x1, t4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y1, t1, y1
|
|
kusano |
2b45e8 |
FADD y2, t2, y2
|
|
kusano |
2b45e8 |
FSUBX y1, t3, y1
|
|
kusano |
2b45e8 |
FADDX y2, t4, y2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
STF y1, [Y1 + 0 * SIZE]
|
|
kusano |
2b45e8 |
STF y2, [Y1 + 1 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL990:
|
|
kusano |
2b45e8 |
cmp INCY, 2 * SIZE
|
|
kusano |
2b45e8 |
be %icc, .LL999
|
|
kusano |
2b45e8 |
mov Y, Y1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
sra M, 2, I
|
|
kusano |
2b45e8 |
cmp I, 0
|
|
kusano |
2b45e8 |
ble,pn %icc, .LL995
|
|
kusano |
2b45e8 |
nop
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL991:
|
|
kusano |
2b45e8 |
LDF [BUFFER + 0 * SIZE], a1
|
|
kusano |
2b45e8 |
LDF [BUFFER + 1 * SIZE], a2
|
|
kusano |
2b45e8 |
LDF [Y + 0 * SIZE], y1
|
|
kusano |
2b45e8 |
LDF [Y + 1 * SIZE], y2
|
|
kusano |
2b45e8 |
add Y, INCY, Y
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [BUFFER + 2 * SIZE], a3
|
|
kusano |
2b45e8 |
LDF [BUFFER + 3 * SIZE], a4
|
|
kusano |
2b45e8 |
LDF [Y + 0 * SIZE], y3
|
|
kusano |
2b45e8 |
LDF [Y + 1 * SIZE], y4
|
|
kusano |
2b45e8 |
add Y, INCY, Y
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [BUFFER + 4 * SIZE], a5
|
|
kusano |
2b45e8 |
LDF [BUFFER + 5 * SIZE], a6
|
|
kusano |
2b45e8 |
LDF [Y + 0 * SIZE], y5
|
|
kusano |
2b45e8 |
LDF [Y + 1 * SIZE], y6
|
|
kusano |
2b45e8 |
add Y, INCY, Y
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [BUFFER + 6 * SIZE], a7
|
|
kusano |
2b45e8 |
LDF [BUFFER + 7 * SIZE], a8
|
|
kusano |
2b45e8 |
LDF [Y + 0 * SIZE], y7
|
|
kusano |
2b45e8 |
LDF [Y + 1 * SIZE], y8
|
|
kusano |
2b45e8 |
add Y, INCY, Y
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y1, a1, y1
|
|
kusano |
2b45e8 |
FADD y2, a2, y2
|
|
kusano |
2b45e8 |
FADD y3, a3, y3
|
|
kusano |
2b45e8 |
FADD y4, a4, y4
|
|
kusano |
2b45e8 |
FADD y5, a5, y5
|
|
kusano |
2b45e8 |
FADD y6, a6, y6
|
|
kusano |
2b45e8 |
FADD y7, a7, y7
|
|
kusano |
2b45e8 |
FADD y8, a8, y8
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
STF y1, [Y1 + 0 * SIZE]
|
|
kusano |
2b45e8 |
STF y2, [Y1 + 1 * SIZE]
|
|
kusano |
2b45e8 |
add Y1, INCY, Y1
|
|
kusano |
2b45e8 |
STF y3, [Y1 + 0 * SIZE]
|
|
kusano |
2b45e8 |
STF y4, [Y1 + 1 * SIZE]
|
|
kusano |
2b45e8 |
add Y1, INCY, Y1
|
|
kusano |
2b45e8 |
STF y5, [Y1 + 0 * SIZE]
|
|
kusano |
2b45e8 |
STF y6, [Y1 + 1 * SIZE]
|
|
kusano |
2b45e8 |
add Y1, INCY, Y1
|
|
kusano |
2b45e8 |
STF y7, [Y1 + 0 * SIZE]
|
|
kusano |
2b45e8 |
STF y8, [Y1 + 1 * SIZE]
|
|
kusano |
2b45e8 |
add Y1, INCY, Y1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
deccc I
|
|
kusano |
2b45e8 |
bg,pn %icc, .LL991
|
|
kusano |
2b45e8 |
add BUFFER, 8 * SIZE, BUFFER
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL995:
|
|
kusano |
2b45e8 |
andcc M, 2, I
|
|
kusano |
2b45e8 |
ble,pn %icc, .LL996
|
|
kusano |
2b45e8 |
nop
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [BUFFER + 0 * SIZE], a1
|
|
kusano |
2b45e8 |
LDF [BUFFER + 1 * SIZE], a2
|
|
kusano |
2b45e8 |
LDF [Y + 0 * SIZE], y1
|
|
kusano |
2b45e8 |
LDF [Y + 1 * SIZE], y2
|
|
kusano |
2b45e8 |
add Y, INCY, Y
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [BUFFER + 2 * SIZE], a3
|
|
kusano |
2b45e8 |
LDF [BUFFER + 3 * SIZE], a4
|
|
kusano |
2b45e8 |
LDF [Y + 0 * SIZE], y3
|
|
kusano |
2b45e8 |
LDF [Y + 1 * SIZE], y4
|
|
kusano |
2b45e8 |
add Y, INCY, Y
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y1, a1, y1
|
|
kusano |
2b45e8 |
FADD y2, a2, y2
|
|
kusano |
2b45e8 |
FADD y3, a3, y3
|
|
kusano |
2b45e8 |
FADD y4, a4, y4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
STF y1, [Y1 + 0 * SIZE]
|
|
kusano |
2b45e8 |
STF y2, [Y1 + 1 * SIZE]
|
|
kusano |
2b45e8 |
add Y1, INCY, Y1
|
|
kusano |
2b45e8 |
STF y3, [Y1 + 0 * SIZE]
|
|
kusano |
2b45e8 |
STF y4, [Y1 + 1 * SIZE]
|
|
kusano |
2b45e8 |
add Y1, INCY, Y1
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
add BUFFER, 4 * SIZE, BUFFER
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL996:
|
|
kusano |
2b45e8 |
andcc M, 1, I
|
|
kusano |
2b45e8 |
ble,pn %icc, .LL999
|
|
kusano |
2b45e8 |
nop
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
LDF [BUFFER + 0 * SIZE], a1
|
|
kusano |
2b45e8 |
LDF [BUFFER + 1 * SIZE], a2
|
|
kusano |
2b45e8 |
LDF [Y + 0 * SIZE], y1
|
|
kusano |
2b45e8 |
LDF [Y + 1 * SIZE], y2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FADD y1, a1, y1
|
|
kusano |
2b45e8 |
FADD y2, a2, y2
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
STF y1, [Y1 + 0 * SIZE]
|
|
kusano |
2b45e8 |
STF y2, [Y1 + 1 * SIZE]
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.LL999:
|
|
kusano |
2b45e8 |
return %i7 + 8
|
|
kusano |
2b45e8 |
clr %o0
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
EPILOGUE
|