|
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 |
#define PREFETCH_SIZE (16 * 16)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define ALPHA f8
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define N r32
|
|
kusano |
2b45e8 |
#define X1 r38
|
|
kusano |
2b45e8 |
#define INCX r39
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define X2 r14
|
|
kusano |
2b45e8 |
#define Y1 r15
|
|
kusano |
2b45e8 |
#define Y2 r16
|
|
kusano |
2b45e8 |
#define PRE1 r17
|
|
kusano |
2b45e8 |
#define I r18
|
|
kusano |
2b45e8 |
#define NAND15 r19
|
|
kusano |
2b45e8 |
#define INCX5 r20
|
|
kusano |
2b45e8 |
#define INCX8 r21
|
|
kusano |
2b45e8 |
#define XX r22
|
|
kusano |
2b45e8 |
#define PR r30
|
|
kusano |
2b45e8 |
#define ARLC r31
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
PROLOGUE
|
|
kusano |
2b45e8 |
.prologue
|
|
kusano |
2b45e8 |
PROFCODE
|
|
kusano |
2b45e8 |
{ .mfi
|
|
kusano |
2b45e8 |
shladd INCX = INCX, BASE_SHIFT, r0
|
|
kusano |
2b45e8 |
fcmp.eq p0, p6 = ALPHA, f0
|
|
kusano |
2b45e8 |
.save ar.lc, ARLC
|
|
kusano |
2b45e8 |
mov ARLC = ar.lc
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
.body
|
|
kusano |
2b45e8 |
{ .mib
|
|
kusano |
2b45e8 |
cmp.ge p7, p0 = 0, N
|
|
kusano |
2b45e8 |
(p7) br.ret.sptk.many b0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
mov XX = X1
|
|
kusano |
2b45e8 |
mov PR = pr
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
shladd INCX5 = INCX, 2, INCX
|
|
kusano |
2b45e8 |
shladd INCX8 = INCX, 3, r0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
shladd X2 = INCX, 2, X1
|
|
kusano |
2b45e8 |
nop.m 0
|
|
kusano |
2b45e8 |
mov ar.ec = 5
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
and NAND15 = 15, N
|
|
kusano |
2b45e8 |
nop.m 0
|
|
kusano |
2b45e8 |
shr I = N, 4
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
adds I = -1, I
|
|
kusano |
2b45e8 |
nop.m 0
|
|
kusano |
2b45e8 |
tbit.z p0, p12 = N, 3
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
cmp.ge p9, p0 = 0, NAND15
|
|
kusano |
2b45e8 |
nop.m 0
|
|
kusano |
2b45e8 |
(p6) br.cond.dptk .L100 // if (alpha != 0) goto L3
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
adds PRE1 = (PREFETCH_SIZE + 4) * SIZE, X1
|
|
kusano |
2b45e8 |
mov ar.lc = I
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
cmp.gt p8, p0 = 0, I
|
|
kusano |
2b45e8 |
(p8) br.cond.dpnt .L30
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
.align 32
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L20:
|
|
kusano |
2b45e8 |
{.mmi
|
|
kusano |
2b45e8 |
STFD [X1] = f0
|
|
kusano |
2b45e8 |
STFD [X2] = f0
|
|
kusano |
2b45e8 |
nop.i 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{.mmi
|
|
kusano |
2b45e8 |
lfetch.excl.nt1 [PRE1], INCX8
|
|
kusano |
2b45e8 |
add X1 = INCX, X1
|
|
kusano |
2b45e8 |
add X2 = INCX, X2
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{.mmi
|
|
kusano |
2b45e8 |
STFD [X1] = f0
|
|
kusano |
2b45e8 |
STFD [X2] = f0
|
|
kusano |
2b45e8 |
nop.i 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{.mmi
|
|
kusano |
2b45e8 |
add X1 = INCX, X1
|
|
kusano |
2b45e8 |
add X2 = INCX, X2
|
|
kusano |
2b45e8 |
nop.i 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{.mmi
|
|
kusano |
2b45e8 |
STFD [X1] = f0
|
|
kusano |
2b45e8 |
STFD [X2] = f0
|
|
kusano |
2b45e8 |
nop.i 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{.mmi
|
|
kusano |
2b45e8 |
add X1 = INCX, X1
|
|
kusano |
2b45e8 |
add X2 = INCX, X2
|
|
kusano |
2b45e8 |
nop.i 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{.mmi
|
|
kusano |
2b45e8 |
STFD [X1] = f0
|
|
kusano |
2b45e8 |
STFD [X2] = f0
|
|
kusano |
2b45e8 |
nop.i 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{.mmi
|
|
kusano |
2b45e8 |
add X1 = INCX5, X1
|
|
kusano |
2b45e8 |
add X2 = INCX5, X2
|
|
kusano |
2b45e8 |
nop.i 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{.mmi
|
|
kusano |
2b45e8 |
STFD [X1] = f0
|
|
kusano |
2b45e8 |
STFD [X2] = f0
|
|
kusano |
2b45e8 |
nop.i 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{.mmi
|
|
kusano |
2b45e8 |
lfetch.excl.nt1 [PRE1], INCX8
|
|
kusano |
2b45e8 |
add X1 = INCX, X1
|
|
kusano |
2b45e8 |
add X2 = INCX, X2
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{.mmi
|
|
kusano |
2b45e8 |
STFD [X1] = f0
|
|
kusano |
2b45e8 |
STFD [X2] = f0
|
|
kusano |
2b45e8 |
nop.i 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{.mmi
|
|
kusano |
2b45e8 |
add X1 = INCX, X1
|
|
kusano |
2b45e8 |
add X2 = INCX, X2
|
|
kusano |
2b45e8 |
nop.i 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{.mmi
|
|
kusano |
2b45e8 |
STFD [X1] = f0
|
|
kusano |
2b45e8 |
STFD [X2] = f0
|
|
kusano |
2b45e8 |
nop.i 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{.mmi
|
|
kusano |
2b45e8 |
add X1 = INCX, X1
|
|
kusano |
2b45e8 |
add X2 = INCX, X2
|
|
kusano |
2b45e8 |
nop.i 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{.mmi
|
|
kusano |
2b45e8 |
STFD [X1] = f0
|
|
kusano |
2b45e8 |
STFD [X2] = f0
|
|
kusano |
2b45e8 |
nop.i 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{.mmb
|
|
kusano |
2b45e8 |
add X1 = INCX5, X1
|
|
kusano |
2b45e8 |
add X2 = INCX5, X2
|
|
kusano |
2b45e8 |
br.cloop.sptk.few .L20
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
.align 16
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L30:
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) STFD [X1] = f0
|
|
kusano |
2b45e8 |
(p12) STFD [X2] = f0
|
|
kusano |
2b45e8 |
mov ar.lc = ARLC
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p12) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
(p12) add X2 = INCX, X2
|
|
kusano |
2b45e8 |
(p9) br.ret.sptk.many b0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) STFD [X1] = f0
|
|
kusano |
2b45e8 |
(p12) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
tbit.z p0, p13 = N, 2
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) STFD [X2] = f0
|
|
kusano |
2b45e8 |
(p12) add X2 = INCX, X2
|
|
kusano |
2b45e8 |
tbit.z p0, p14 = N, 1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) STFD [X1] = f0
|
|
kusano |
2b45e8 |
(p12) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
tbit.z p0, p15 = N, 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p12) STFD [X2] = f0
|
|
kusano |
2b45e8 |
(p12) add X2 = INCX, X2
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p12) STFD [X1] = f0
|
|
kusano |
2b45e8 |
(p12) add X1 = INCX5, X1
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p12) STFD [X2] = f0
|
|
kusano |
2b45e8 |
(p12) add X2 = INCX5, X2
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p13) STFD [X1] = f0
|
|
kusano |
2b45e8 |
(p13) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p13) STFD [X1] = f0
|
|
kusano |
2b45e8 |
(p13) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p13) STFD [X1] = f0
|
|
kusano |
2b45e8 |
(p13) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p13) STFD [X1] = f0
|
|
kusano |
2b45e8 |
(p13) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p14) STFD [X1] = f0
|
|
kusano |
2b45e8 |
(p14) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p14) STFD [X1] = f0
|
|
kusano |
2b45e8 |
(p14) add X1 = INCX, X1
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p15) STFD [X1] = f0
|
|
kusano |
2b45e8 |
nop.m 0
|
|
kusano |
2b45e8 |
br.ret.sptk.many b0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
.align 32
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L100:
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
mov Y1 = X1
|
|
kusano |
2b45e8 |
shladd Y2 = INCX, 2, X1
|
|
kusano |
2b45e8 |
mov pr.rot= 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
mov ar.lc = I
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
cmp.eq p16, p0 = r0, r0
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
adds PRE1 = (PREFETCH_SIZE + 4) * SIZE, X1
|
|
kusano |
2b45e8 |
nop.m 0
|
|
kusano |
2b45e8 |
mov.i ar.ec = 6
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
cmp.gt p8, p0 = 0, I
|
|
kusano |
2b45e8 |
nop.m 0
|
|
kusano |
2b45e8 |
(p8) br.cond.dpnt .L320
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
.align 32
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L310:
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p16) lfetch.excl.nt1 [PRE1], INCX8
|
|
kusano |
2b45e8 |
(p22) STFD [Y1] = f12
|
|
kusano |
2b45e8 |
(p21) FMPY f6 = ALPHA, f37
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f32 = [X1], INCX
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p22) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p22) STFD [Y1] = f13
|
|
kusano |
2b45e8 |
(p16) LDFD f38 = [X1], INCX
|
|
kusano |
2b45e8 |
(p21) FMPY f7 = ALPHA, f43
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p22) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p22) STFD [Y1] = f14
|
|
kusano |
2b45e8 |
(p16) LDFD f44 = [X1], INCX
|
|
kusano |
2b45e8 |
(p21) FMPY f10 = ALPHA, f49
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p22) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p22) STFD [Y1] = f15
|
|
kusano |
2b45e8 |
(p16) LDFD f50 = [X1], INCX
|
|
kusano |
2b45e8 |
(p21) FMPY f11 = ALPHA, f55
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p22) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [Y1] = f6
|
|
kusano |
2b45e8 |
(p16) LDFD f56 = [X1], INCX
|
|
kusano |
2b45e8 |
(p21) FMPY f12 = ALPHA, f61
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p21) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p16) lfetch.excl.nt1 [PRE1], INCX8
|
|
kusano |
2b45e8 |
(p21) STFD [Y1] = f7
|
|
kusano |
2b45e8 |
(p21) FMPY f13 = ALPHA, f67
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f62 = [X1], INCX
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p21) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [Y1] = f10
|
|
kusano |
2b45e8 |
(p16) LDFD f68 = [X1], INCX
|
|
kusano |
2b45e8 |
(p21) FMPY f14 = ALPHA, f73
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p21) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [Y1] = f11
|
|
kusano |
2b45e8 |
(p16) LDFD f74 = [X1], INCX
|
|
kusano |
2b45e8 |
(p21) FMPY f15 = ALPHA, f79
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p21) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [Y1] = f12
|
|
kusano |
2b45e8 |
(p16) LDFD f80 = [X1], INCX
|
|
kusano |
2b45e8 |
(p21) FMPY f6 = ALPHA, f85
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p21) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [Y1] = f13
|
|
kusano |
2b45e8 |
(p16) LDFD f86 = [X1], INCX
|
|
kusano |
2b45e8 |
(p21) FMPY f7 = ALPHA, f91
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p21) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [Y1] = f14
|
|
kusano |
2b45e8 |
(p16) LDFD f92 = [X1], INCX
|
|
kusano |
2b45e8 |
(p21) FMPY f10 = ALPHA, f97
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p21) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [Y1] = f15
|
|
kusano |
2b45e8 |
(p16) LDFD f98 = [X1], INCX
|
|
kusano |
2b45e8 |
(p21) FMPY f11 = ALPHA, f103
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p21) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [Y1] = f6
|
|
kusano |
2b45e8 |
(p16) LDFD f104 = [X1], INCX
|
|
kusano |
2b45e8 |
(p21) FMPY f12 = ALPHA, f109
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p21) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [Y1] = f7
|
|
kusano |
2b45e8 |
(p16) LDFD f110 = [X1], INCX
|
|
kusano |
2b45e8 |
(p21) FMPY f13 = ALPHA, f115
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p21) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [Y1] = f10
|
|
kusano |
2b45e8 |
(p16) LDFD f116 = [X1], INCX
|
|
kusano |
2b45e8 |
(p21) FMPY f14 = ALPHA, f121
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p21) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p21) STFD [Y1] = f11
|
|
kusano |
2b45e8 |
(p16) LDFD f122 = [X1], INCX
|
|
kusano |
2b45e8 |
(p21) FMPY f15 = ALPHA, f127
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p21) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
br.ctop.sptk.few .L310
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
STFD [Y1] = f12
|
|
kusano |
2b45e8 |
add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
shladd Y2 = INCX, 2, X1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
STFD [Y1] = f13
|
|
kusano |
2b45e8 |
add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
shladd X2 = INCX, 2, X1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
STFD [Y1] = f14
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
STFD [Y1] = f15
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
.align 16
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L320:
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) LDFD f48 = [X1], INCX
|
|
kusano |
2b45e8 |
(p12) LDFD f52 = [X2], INCX
|
|
kusano |
2b45e8 |
mov ar.lc = ARLC
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) LDFD f49 = [X1], INCX
|
|
kusano |
2b45e8 |
(p12) LDFD f53 = [X2], INCX
|
|
kusano |
2b45e8 |
mov pr = PR, -65474
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p9) br.ret.sptk.many b0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) LDFD f50 = [X1], INCX
|
|
kusano |
2b45e8 |
(p12) LDFD f54 = [X2], INCX
|
|
kusano |
2b45e8 |
tbit.z p0, p13 = N, 2
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) LDFD f51 = [X1], INCX5
|
|
kusano |
2b45e8 |
(p12) LDFD f55 = [X2], INCX5
|
|
kusano |
2b45e8 |
tbit.z p0, p14 = N, 1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) LDFD f56 = [X1], INCX
|
|
kusano |
2b45e8 |
tbit.z p0, p15 = N, 0
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) LDFD f57 = [X1], INCX
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p13) LDFD f58 = [X1], INCX
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p12) FMPY f48 = ALPHA, f48
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p12) FMPY f52 = ALPHA, f52
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p13) LDFD f59 = [X1], INCX
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p12) FMPY f49 = ALPHA, f49
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p12) FMPY f53 = ALPHA, f53
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p14) LDFD f60 = [X1], INCX
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p12) FMPY f50 = ALPHA, f50
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p12) FMPY f54 = ALPHA, f54
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p14) LDFD f61 = [X1], INCX
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p12) FMPY f51 = ALPHA, f51
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p12) FMPY f55 = ALPHA, f55
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p12) STFD [Y1] = f48
|
|
kusano |
2b45e8 |
(p12) STFD [Y2] = f52
|
|
kusano |
2b45e8 |
(p13) FMPY f56 = ALPHA, f56
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p15) LDFD f62 = [X1]
|
|
kusano |
2b45e8 |
(p12) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
(p12) add Y2 = INCX, Y2
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p12) STFD [Y1] = f49
|
|
kusano |
2b45e8 |
(p12) STFD [Y2] = f53
|
|
kusano |
2b45e8 |
(p13) FMPY f57 = ALPHA, f57
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
(p12) add Y2 = INCX, Y2
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p12) STFD [Y1] = f50
|
|
kusano |
2b45e8 |
(p12) STFD [Y2] = f54
|
|
kusano |
2b45e8 |
(p13) FMPY f58 = ALPHA, f58
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
(p12) add Y2 = INCX, Y2
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmf
|
|
kusano |
2b45e8 |
(p12) STFD [Y1] = f51
|
|
kusano |
2b45e8 |
(p12) STFD [Y2] = f55
|
|
kusano |
2b45e8 |
(p13) FMPY f59 = ALPHA, f59
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) add Y1 = INCX5, Y1
|
|
kusano |
2b45e8 |
(p12) add Y2 = INCX5, Y2
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mfi
|
|
kusano |
2b45e8 |
(p13) STFD [Y1] = f56
|
|
kusano |
2b45e8 |
(p14) FMPY f60 = ALPHA, f60
|
|
kusano |
2b45e8 |
(p13) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mfi
|
|
kusano |
2b45e8 |
(p13) STFD [Y1] = f57
|
|
kusano |
2b45e8 |
(p14) FMPY f61 = ALPHA, f61
|
|
kusano |
2b45e8 |
(p13) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mfi
|
|
kusano |
2b45e8 |
(p13) STFD [Y1] = f58
|
|
kusano |
2b45e8 |
(p15) FMPY f62 = ALPHA, f62
|
|
kusano |
2b45e8 |
(p13) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p13) STFD [Y1] = f59
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p13) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p14) STFD [Y1] = f60
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p14) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p14) STFD [Y1] = f61
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
(p14) add Y1 = INCX, Y1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mib
|
|
kusano |
2b45e8 |
(p15) STFD [Y1] = f62
|
|
kusano |
2b45e8 |
mov pr = PR, -65474
|
|
kusano |
2b45e8 |
br.ret.sptk.many b0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
EPILOGUE
|
|
kusano |
2b45e8 |
|