|
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 XDOUBLE
|
|
kusano |
2b45e8 |
#define PREFETCH_SIZE ( 8 * 16)
|
|
kusano |
2b45e8 |
#elif defined(DOUBLE)
|
|
kusano |
2b45e8 |
#define PREFETCH_SIZE (16 * 16)
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
#define PREFETCH_SIZE (32 * 16)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define SP r12
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef XDOUBLE
|
|
kusano |
2b45e8 |
#define N r32
|
|
kusano |
2b45e8 |
#define X1 r14
|
|
kusano |
2b45e8 |
#define INCX r15
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
#define N r32
|
|
kusano |
2b45e8 |
#define X1 r37
|
|
kusano |
2b45e8 |
#define INCX r38
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define X2 r16
|
|
kusano |
2b45e8 |
#define Y1 r17
|
|
kusano |
2b45e8 |
#define INCX3 r18
|
|
kusano |
2b45e8 |
#define PRE r19
|
|
kusano |
2b45e8 |
#define INCX8 r20
|
|
kusano |
2b45e8 |
#define I r29
|
|
kusano |
2b45e8 |
#define J r28
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define PR r30
|
|
kusano |
2b45e8 |
#define ARLC r31
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define ALPHA_R f8
|
|
kusano |
2b45e8 |
#define ALPHA_I f9
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
PROLOGUE
|
|
kusano |
2b45e8 |
.prologue
|
|
kusano |
2b45e8 |
PROFCODE
|
|
kusano |
2b45e8 |
{.mmi
|
|
kusano |
2b45e8 |
adds r22 = 16, SP
|
|
kusano |
2b45e8 |
adds r23 = 24, SP
|
|
kusano |
2b45e8 |
mov PR = pr
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mib
|
|
kusano |
2b45e8 |
cmp.ge p7, p0 = 0, N
|
|
kusano |
2b45e8 |
shr I = N, 3
|
|
kusano |
2b45e8 |
(p7) br.ret.sptk.many b0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
#ifdef XDOUBLE
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
ld8 X1 = [r22]
|
|
kusano |
2b45e8 |
ld8 INCX = [r23]
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
{ .mfi
|
|
kusano |
2b45e8 |
and J = 7, N
|
|
kusano |
2b45e8 |
fcmp.eq p0, p11 = ALPHA_I, f0
|
|
kusano |
2b45e8 |
.save ar.lc, ARLC
|
|
kusano |
2b45e8 |
mov ARLC = ar.lc
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mfi
|
|
kusano |
2b45e8 |
adds I = -1, I
|
|
kusano |
2b45e8 |
fcmp.eq p0, p10 = ALPHA_R, f0
|
|
kusano |
2b45e8 |
shl INCX = INCX, ZBASE_SHIFT
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
.body
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
shladd INCX8 = INCX, 3, r0
|
|
kusano |
2b45e8 |
shladd X2 = INCX, 1, X1
|
|
kusano |
2b45e8 |
mov pr.rot= 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
shladd INCX3 = INCX, 1, INCX
|
|
kusano |
2b45e8 |
adds PRE = PREFETCH_SIZE * SIZE, X1
|
|
kusano |
2b45e8 |
mov Y1 = X1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
cmp.gt p8, p0 = 0, I
|
|
kusano |
2b45e8 |
cmp.ge p9, p0 = 0, J
|
|
kusano |
2b45e8 |
mov ar.lc = I
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
adds INCX = -1 * SIZE, INCX
|
|
kusano |
2b45e8 |
adds INCX3 = -1 * SIZE, INCX3
|
|
kusano |
2b45e8 |
tbit.z p0, p13 = N, 2
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .bbb
|
|
kusano |
2b45e8 |
(p10) br.cond.dptk .L100
|
|
kusano |
2b45e8 |
(p11) br.cond.dptk .L100
|
|
kusano |
2b45e8 |
(p8) br.cond.dpnt .L20
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
.align 32
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L10:
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
STFD [X1] = f0, 1 * SIZE
|
|
kusano |
2b45e8 |
STFD [X2] = f0, 1 * SIZE
|
|
kusano |
2b45e8 |
nop.b 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
lfetch.excl.nt1 [PRE], INCX8
|
|
kusano |
2b45e8 |
nop.m 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
STFD [X1] = f0
|
|
kusano |
2b45e8 |
add X1 = INCX, X1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
STFD [X2] = f0
|
|
kusano |
2b45e8 |
add X2 = INCX, X2
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
STFD [X1] = f0, 1 * SIZE
|
|
kusano |
2b45e8 |
STFD [X2] = f0, 1 * SIZE
|
|
kusano |
2b45e8 |
nop.b 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
STFD [X1] = f0
|
|
kusano |
2b45e8 |
add X1 = INCX3, X1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
STFD [X2] = f0
|
|
kusano |
2b45e8 |
add X2 = INCX3, X2
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
STFD [X1] = f0, 1 * SIZE
|
|
kusano |
2b45e8 |
STFD [X2] = f0, 1 * SIZE
|
|
kusano |
2b45e8 |
nop.b 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
STFD [X1] = f0
|
|
kusano |
2b45e8 |
add X1 = INCX, X1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
STFD [X2] = f0
|
|
kusano |
2b45e8 |
add X2 = INCX, X2
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
STFD [X1] = f0, 1 * SIZE
|
|
kusano |
2b45e8 |
STFD [X2] = f0, 1 * SIZE
|
|
kusano |
2b45e8 |
nop.b 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
STFD [X1] = f0
|
|
kusano |
2b45e8 |
add X1 = INCX3, X1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
STFD [X2] = f0
|
|
kusano |
2b45e8 |
add X2 = INCX3, X2
|
|
kusano |
2b45e8 |
br.cloop.sptk.few .L10
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
.align 32
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L20:
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p13) STFD [X1] = f0, 1 * SIZE
|
|
kusano |
2b45e8 |
(p13) STFD [X2] = f0, 1 * SIZE
|
|
kusano |
2b45e8 |
mov ar.lc = ARLC
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p13) STFD [X1] = f0
|
|
kusano |
2b45e8 |
(p13) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
tbit.z p0, p14 = N, 1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p13) STFD [X2] = f0
|
|
kusano |
2b45e8 |
(p13) add X2 = INCX, X2
|
|
kusano |
2b45e8 |
tbit.z p0, p15 = N, 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p13) STFD [X1] = f0, 1 * SIZE
|
|
kusano |
2b45e8 |
(p13) STFD [X2] = f0, 1 * SIZE
|
|
kusano |
2b45e8 |
nop.b 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mib
|
|
kusano |
2b45e8 |
nop.m 0
|
|
kusano |
2b45e8 |
mov pr = PR, -65474
|
|
kusano |
2b45e8 |
(p9) br.ret.sptk.many b0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p13) STFD [X1] = f0
|
|
kusano |
2b45e8 |
(p13) add X1 = INCX3, X1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p13) STFD [X2] = f0
|
|
kusano |
2b45e8 |
(p13) add X2 = INCX3, X2
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p14) STFD [X1] = f0, 1 * SIZE
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p14) STFD [X1] = f0
|
|
kusano |
2b45e8 |
(p14) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p14) STFD [X1] = f0, 1 * SIZE
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p14) STFD [X1] = f0
|
|
kusano |
2b45e8 |
(p14) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p15) STFD [X1] = f0, 1 * SIZE
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mib
|
|
kusano |
2b45e8 |
(p15) STFD [X1] = f0
|
|
kusano |
2b45e8 |
mov pr = PR, -65474
|
|
kusano |
2b45e8 |
br.ret.sptk.many b0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
.align 32
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L100:
|
|
kusano |
2b45e8 |
cmp.eq p16, p0 = r0, r0
|
|
kusano |
2b45e8 |
mov.i ar.ec = 6
|
|
kusano |
2b45e8 |
(p8) br.cond.dpnt .L170
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
.align 32
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L160:
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [X1] = f6, 1 * SIZE
|
|
kusano |
2b45e8 |
(p16) lfetch.excl.nt1 [PRE], INCX8
|
|
kusano |
2b45e8 |
(p21) FMS f12 = ALPHA_R, f85, f12
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mfb
|
|
kusano |
2b45e8 |
(p16) LDFD f32 = [Y1], 1 * SIZE
|
|
kusano |
2b45e8 |
(p20) FMPY f6 = ALPHA_I, f42
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [X1] = f43
|
|
kusano |
2b45e8 |
(p21) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
(p21) FMA f91 = ALPHA_I, f85, f91
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mfb
|
|
kusano |
2b45e8 |
(p16) LDFD f38 = [Y1], INCX
|
|
kusano |
2b45e8 |
(p20) FMPY f42 = ALPHA_R, f42
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [X1] = f7, 1 * SIZE
|
|
kusano |
2b45e8 |
(p21) FMS f13 = ALPHA_R, f97, f13
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mfb
|
|
kusano |
2b45e8 |
(p16) LDFD f44 = [Y1], 1 * SIZE
|
|
kusano |
2b45e8 |
(p20) FMPY f7 = ALPHA_I, f54
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [X1] = f55
|
|
kusano |
2b45e8 |
(p21) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
(p21) FMA f103 = ALPHA_I, f97, f103
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mfb
|
|
kusano |
2b45e8 |
(p16) LDFD f50 = [Y1], INCX
|
|
kusano |
2b45e8 |
(p20) FMPY f54 = ALPHA_R, f54
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [X1] = f10, 1 * SIZE
|
|
kusano |
2b45e8 |
(p21) FMS f14 = ALPHA_R, f109, f14
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mfb
|
|
kusano |
2b45e8 |
(p16) LDFD f56 = [Y1], 1 * SIZE
|
|
kusano |
2b45e8 |
(p20) FMPY f10 = ALPHA_I, f66
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [X1] = f67
|
|
kusano |
2b45e8 |
(p21) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
(p21) FMA f115 = ALPHA_I, f109, f115
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mfb
|
|
kusano |
2b45e8 |
(p16) LDFD f62 = [Y1], INCX
|
|
kusano |
2b45e8 |
(p20) FMPY f66 = ALPHA_R, f66
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [X1] = f11, 1 * SIZE
|
|
kusano |
2b45e8 |
(p21) FMS f15 = ALPHA_R, f121, f15
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mfb
|
|
kusano |
2b45e8 |
(p16) LDFD f68 = [Y1], 1 * SIZE
|
|
kusano |
2b45e8 |
(p20) FMPY f11 = ALPHA_I, f78
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [X1] = f79
|
|
kusano |
2b45e8 |
(p21) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
(p21) FMA f127 = ALPHA_I, f121, f127
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mfb
|
|
kusano |
2b45e8 |
(p16) LDFD f74 = [Y1], INCX
|
|
kusano |
2b45e8 |
(p20) FMPY f78 = ALPHA_R, f78
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [X1] = f12, 1 * SIZE
|
|
kusano |
2b45e8 |
(p20) FMS f6 = ALPHA_R, f36, f6
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mfb
|
|
kusano |
2b45e8 |
(p16) LDFD f80 = [Y1], 1 * SIZE
|
|
kusano |
2b45e8 |
(p20) FMPY f12 = ALPHA_I, f90
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [X1] = f91
|
|
kusano |
2b45e8 |
(p21) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
(p20) FMA f42 = ALPHA_I, f36, f42
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mfb
|
|
kusano |
2b45e8 |
(p16) LDFD f86 = [Y1], INCX
|
|
kusano |
2b45e8 |
(p20) FMPY f90 = ALPHA_R, f90
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [X1] = f13, 1 * SIZE
|
|
kusano |
2b45e8 |
(p20) FMS f7 = ALPHA_R, f48, f7
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mfb
|
|
kusano |
2b45e8 |
(p16) LDFD f92 = [Y1], 1 * SIZE
|
|
kusano |
2b45e8 |
(p20) FMPY f13 = ALPHA_I, f102
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [X1] = f103
|
|
kusano |
2b45e8 |
(p21) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
(p20) FMA f54 = ALPHA_I, f48, f54
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mfb
|
|
kusano |
2b45e8 |
(p16) LDFD f98 = [Y1], INCX
|
|
kusano |
2b45e8 |
(p20) FMPY f102 = ALPHA_R, f102
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [X1] = f14, 1 * SIZE
|
|
kusano |
2b45e8 |
(p20) FMS f10 = ALPHA_R, f60, f10
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mfb
|
|
kusano |
2b45e8 |
(p16) LDFD f104 = [Y1], 1 * SIZE
|
|
kusano |
2b45e8 |
(p20) FMPY f14 = ALPHA_I, f114
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [X1] = f115
|
|
kusano |
2b45e8 |
(p21) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
(p20) FMA f66 = ALPHA_I, f60, f66
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mfb
|
|
kusano |
2b45e8 |
(p16) LDFD f110 = [Y1], INCX
|
|
kusano |
2b45e8 |
(p20) FMPY f114 = ALPHA_R, f114
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [X1] = f15, 1 * SIZE
|
|
kusano |
2b45e8 |
(p20) FMS f11 = ALPHA_R, f72, f11
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mfb
|
|
kusano |
2b45e8 |
(p16) LDFD f116 = [Y1], 1 * SIZE
|
|
kusano |
2b45e8 |
(p20) FMPY f15 = ALPHA_I, f126
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [X1] = f127
|
|
kusano |
2b45e8 |
(p21) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
(p20) FMA f78 = ALPHA_I, f72, f78
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mfb
|
|
kusano |
2b45e8 |
(p16) LDFD f122 = [Y1], INCX
|
|
kusano |
2b45e8 |
(p20) FMPY f126 = ALPHA_R, f126
|
|
kusano |
2b45e8 |
br.ctop.sptk.few .L160
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
.align 16
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L170:
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p13) LDFD f48 = [Y1], 1 * SIZE
|
|
kusano |
2b45e8 |
mov ar.lc = ARLC
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mib
|
|
kusano |
2b45e8 |
(p13) LDFD f49 = [Y1], INCX
|
|
kusano |
2b45e8 |
mov pr = PR, -65474
|
|
kusano |
2b45e8 |
(p9) br.ret.sptk.many b0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) LDFD f50 = [Y1], 1 * SIZE
|
|
kusano |
2b45e8 |
tbit.z p0, p14 = N, 1
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) LDFD f51 = [Y1], INCX
|
|
kusano |
2b45e8 |
tbit.z p0, p15 = N, 0
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) LDFD f52 = [Y1], 1 * SIZE
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) LDFD f53 = [Y1], INCX
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) LDFD f54 = [Y1], 1 * SIZE
|
|
kusano |
2b45e8 |
(p13) FMPY f112 = ALPHA_I, f48
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) LDFD f55 = [Y1], INCX
|
|
kusano |
2b45e8 |
(p13) FMPY f111 = ALPHA_I, f49
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p14) LDFD f56 = [Y1], 1 * SIZE
|
|
kusano |
2b45e8 |
(p13) FMPY f114 = ALPHA_I, f50
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p14) LDFD f57 = [Y1], INCX
|
|
kusano |
2b45e8 |
(p13) FMPY f113 = ALPHA_I, f51
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p14) LDFD f58 = [Y1], 1 * SIZE
|
|
kusano |
2b45e8 |
(p13) FMPY f116 = ALPHA_I, f52
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p14) LDFD f59 = [Y1], INCX
|
|
kusano |
2b45e8 |
(p13) FMPY f115 = ALPHA_I, f53
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p15) LDFD f60 = [Y1], 1 * SIZE
|
|
kusano |
2b45e8 |
(p13) FMPY f118 = ALPHA_I, f54
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p15) LDFD f61 = [Y1], INCX
|
|
kusano |
2b45e8 |
(p13) FMPY f117 = ALPHA_I, f55
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p14) FMPY f120 = ALPHA_I, f56
|
|
kusano |
2b45e8 |
(p14) FMPY f119 = ALPHA_I, f57
|
|
kusano |
2b45e8 |
(p14) FMPY f122 = ALPHA_I, f58
|
|
kusano |
2b45e8 |
(p14) FMPY f121 = ALPHA_I, f59
|
|
kusano |
2b45e8 |
(p15) FMPY f124 = ALPHA_I, f60
|
|
kusano |
2b45e8 |
(p15) FMPY f123 = ALPHA_I, f61
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) FMS f48 = ALPHA_R, f48, f111
|
|
kusano |
2b45e8 |
(p13) FMA f49 = ALPHA_R, f49, f112
|
|
kusano |
2b45e8 |
(p13) FMS f50 = ALPHA_R, f50, f113
|
|
kusano |
2b45e8 |
(p13) FMA f51 = ALPHA_R, f51, f114
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) STFD [X1] = f48, 1 * SIZE
|
|
kusano |
2b45e8 |
(p13) FMS f52 = ALPHA_R, f52, f115
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) STFD [X1] = f49
|
|
kusano |
2b45e8 |
(p13) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
(p13) FMA f53 = ALPHA_R, f53, f116
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) STFD [X1] = f50, 1 * SIZE
|
|
kusano |
2b45e8 |
(p13) FMS f54 = ALPHA_R, f54, f117
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) STFD [X1] = f51
|
|
kusano |
2b45e8 |
(p13) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
(p13) FMA f55 = ALPHA_R, f55, f118
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) STFD [X1] = f52, 1 * SIZE
|
|
kusano |
2b45e8 |
(p14) FMS f56 = ALPHA_R, f56, f119
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) STFD [X1] = f53
|
|
kusano |
2b45e8 |
(p13) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
(p14) FMA f57 = ALPHA_R, f57, f120
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) STFD [X1] = f54, 1 * SIZE
|
|
kusano |
2b45e8 |
(p14) FMS f58 = ALPHA_R, f58, f121
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) STFD [X1] = f55
|
|
kusano |
2b45e8 |
(p13) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
(p14) FMA f59 = ALPHA_R, f59, f122
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p14) STFD [X1] = f56, 1 * SIZE
|
|
kusano |
2b45e8 |
(p15) FMS f60 = ALPHA_R, f60, f123
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p14) STFD [X1] = f57
|
|
kusano |
2b45e8 |
(p14) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
(p15) FMA f61 = ALPHA_R, f61, f124
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p14) STFD [X1] = f58, 1 * SIZE
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p14) STFD [X1] = f59
|
|
kusano |
2b45e8 |
(p14) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p15) STFD [X1] = f60, 1 * SIZE
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p15) STFD [X1] = f61
|
|
kusano |
2b45e8 |
mov pr = PR, -65474
|
|
kusano |
2b45e8 |
br.ret.sptk.many b0
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
EPILOGUE
|