|
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 X r14
|
|
kusano |
2b45e8 |
#define INCX r15
|
|
kusano |
2b45e8 |
#define Y r16
|
|
kusano |
2b45e8 |
#define INCY r17
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
#define N r32
|
|
kusano |
2b45e8 |
#define X r37
|
|
kusano |
2b45e8 |
#define INCX r38
|
|
kusano |
2b45e8 |
#define Y r39
|
|
kusano |
2b45e8 |
#define INCY r36
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define PRE1 r2
|
|
kusano |
2b45e8 |
#define PRE2 r3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define I r18
|
|
kusano |
2b45e8 |
#define J r19
|
|
kusano |
2b45e8 |
#define YY r20
|
|
kusano |
2b45e8 |
#define XX r21
|
|
kusano |
2b45e8 |
#define INCXM1 r22
|
|
kusano |
2b45e8 |
#define INCYM1 r23
|
|
kusano |
2b45e8 |
#define INCX8 r24
|
|
kusano |
2b45e8 |
#define INCY8 r25
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define PR r30
|
|
kusano |
2b45e8 |
#define ARLC r31
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
PROLOGUE
|
|
kusano |
2b45e8 |
.prologue
|
|
kusano |
2b45e8 |
PROFCODE
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
adds r14 = 16, SP
|
|
kusano |
2b45e8 |
adds r15 = 24, SP
|
|
kusano |
2b45e8 |
adds r16 = 32, SP
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
adds r17 = 40, SP
|
|
kusano |
2b45e8 |
cmp.gt p15, p0 = r0, N
|
|
kusano |
2b45e8 |
(p15) br.ret.sptk.many b0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
#ifdef XDOUBLE
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
ld8 X = [r14]
|
|
kusano |
2b45e8 |
ld8 INCX = [r15]
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
ld8 Y = [r16]
|
|
kusano |
2b45e8 |
ld8 INCY = [r17]
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
ld8 INCY = [r14]
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
nop __LINE__
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
{ .mii
|
|
kusano |
2b45e8 |
.save ar.lc, ARLC
|
|
kusano |
2b45e8 |
mov ARLC = ar.lc
|
|
kusano |
2b45e8 |
shl INCX = INCX, ZBASE_SHIFT
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
.body
|
|
kusano |
2b45e8 |
{ .mii
|
|
kusano |
2b45e8 |
and J = 7, N
|
|
kusano |
2b45e8 |
mov PR = pr
|
|
kusano |
2b45e8 |
shl INCY = INCY, ZBASE_SHIFT
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
mov XX = X
|
|
kusano |
2b45e8 |
mov YY = Y
|
|
kusano |
2b45e8 |
shr I = N, 3
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
adds I = -1, I
|
|
kusano |
2b45e8 |
cmp.eq p9, p0 = r0, J
|
|
kusano |
2b45e8 |
mov pr.rot = 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
shladd INCX8 = INCX, 3, r0
|
|
kusano |
2b45e8 |
shladd INCY8 = INCY, 3, r0
|
|
kusano |
2b45e8 |
mov ar.ec= 3
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
adds INCXM1 = -SIZE, INCX
|
|
kusano |
2b45e8 |
adds INCYM1 = -SIZE, INCY
|
|
kusano |
2b45e8 |
cmp.eq p16, p0 = r0, r0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
adds PRE1 = PREFETCH_SIZE * SIZE, X
|
|
kusano |
2b45e8 |
adds PRE2 = PREFETCH_SIZE * SIZE, Y
|
|
kusano |
2b45e8 |
mov ar.lc = I
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mib
|
|
kusano |
2b45e8 |
cmp.eq p8 ,p0 = -1, I
|
|
kusano |
2b45e8 |
tbit.z p0, p12 = J, 2
|
|
kusano |
2b45e8 |
(p8) br.cond.dpnt .L55
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
.align 32
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L52:
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p18) STFD [XX] = f37, 1 * SIZE
|
|
kusano |
2b45e8 |
(p18) STFD [YY] = f34, 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f32 = [X], 1 * SIZE
|
|
kusano |
2b45e8 |
(p16) LDFD f35 = [Y], 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p18) STFD [XX] = f43
|
|
kusano |
2b45e8 |
(p18) STFD [YY] = f40
|
|
kusano |
2b45e8 |
(p18) add XX = XX, INCXM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f38 = [X], INCXM1
|
|
kusano |
2b45e8 |
(p16) LDFD f41 = [Y], INCYM1
|
|
kusano |
2b45e8 |
(p18) add YY = YY, INCYM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p18) STFD [XX] = f49, 1 * SIZE
|
|
kusano |
2b45e8 |
(p18) STFD [YY] = f46, 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f44 = [X], 1 * SIZE
|
|
kusano |
2b45e8 |
(p16) LDFD f47 = [Y], 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p18) STFD [XX] = f55
|
|
kusano |
2b45e8 |
(p18) STFD [YY] = f52
|
|
kusano |
2b45e8 |
(p18) add XX = XX, INCXM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f50 = [X], INCXM1
|
|
kusano |
2b45e8 |
(p16) LDFD f53 = [Y], INCYM1
|
|
kusano |
2b45e8 |
(p18) add YY = YY, INCYM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p18) STFD [XX] = f61, 1 * SIZE
|
|
kusano |
2b45e8 |
(p18) STFD [YY] = f58, 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f56 = [X], 1 * SIZE
|
|
kusano |
2b45e8 |
(p16) LDFD f59 = [Y], 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p18) STFD [XX] = f67
|
|
kusano |
2b45e8 |
(p18) STFD [YY] = f64
|
|
kusano |
2b45e8 |
(p18) add XX = XX, INCXM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f62 = [X], INCXM1
|
|
kusano |
2b45e8 |
(p16) LDFD f65 = [Y], INCYM1
|
|
kusano |
2b45e8 |
(p18) add YY = YY, INCYM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p18) STFD [XX] = f73, 1 * SIZE
|
|
kusano |
2b45e8 |
(p18) STFD [YY] = f70, 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f68 = [X], 1 * SIZE
|
|
kusano |
2b45e8 |
(p16) LDFD f71 = [Y], 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p18) STFD [XX] = f79
|
|
kusano |
2b45e8 |
(p18) STFD [YY] = f76
|
|
kusano |
2b45e8 |
(p18) add XX = XX, INCXM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f74 = [X], INCXM1
|
|
kusano |
2b45e8 |
(p16) LDFD f77 = [Y], INCYM1
|
|
kusano |
2b45e8 |
(p18) add YY = YY, INCYM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p18) STFD [XX] = f85, 1 * SIZE
|
|
kusano |
2b45e8 |
(p18) STFD [YY] = f82, 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f80 = [X], 1 * SIZE
|
|
kusano |
2b45e8 |
(p16) LDFD f83 = [Y], 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p18) STFD [XX] = f91
|
|
kusano |
2b45e8 |
(p18) STFD [YY] = f88
|
|
kusano |
2b45e8 |
(p18) add XX = XX, INCXM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f86 = [X], INCXM1
|
|
kusano |
2b45e8 |
(p16) LDFD f89 = [Y], INCYM1
|
|
kusano |
2b45e8 |
(p18) add YY = YY, INCYM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p18) STFD [XX] = f97, 1 * SIZE
|
|
kusano |
2b45e8 |
(p18) STFD [YY] = f94, 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f92 = [X], 1 * SIZE
|
|
kusano |
2b45e8 |
(p16) LDFD f95 = [Y], 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p18) STFD [XX] = f103
|
|
kusano |
2b45e8 |
(p18) STFD [YY] = f100
|
|
kusano |
2b45e8 |
(p18) add XX = XX, INCXM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f98 = [X], INCXM1
|
|
kusano |
2b45e8 |
(p16) LDFD f101 = [Y], INCYM1
|
|
kusano |
2b45e8 |
(p18) add YY = YY, INCYM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p18) STFD [XX] = f109, 1 * SIZE
|
|
kusano |
2b45e8 |
(p18) STFD [YY] = f106, 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f104 = [X], 1 * SIZE
|
|
kusano |
2b45e8 |
(p16) LDFD f107 = [Y], 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p18) STFD [XX] = f115
|
|
kusano |
2b45e8 |
(p18) STFD [YY] = f112
|
|
kusano |
2b45e8 |
(p18) add XX = XX, INCXM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f110 = [X], INCXM1
|
|
kusano |
2b45e8 |
(p16) LDFD f113 = [Y], INCYM1
|
|
kusano |
2b45e8 |
(p18) add YY = YY, INCYM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p18) STFD [XX] = f121, 1 * SIZE
|
|
kusano |
2b45e8 |
(p18) STFD [YY] = f118, 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f116 = [X], 1 * SIZE
|
|
kusano |
2b45e8 |
(p16) LDFD f119 = [Y], 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p18) STFD [XX] = f127
|
|
kusano |
2b45e8 |
(p18) STFD [YY] = f124
|
|
kusano |
2b45e8 |
(p18) add XX = XX, INCXM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p16) LDFD f122 = [X], INCXM1
|
|
kusano |
2b45e8 |
(p16) LDFD f125 = [Y], INCYM1
|
|
kusano |
2b45e8 |
(p18) add YY = YY, INCYM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p16) lfetch.excl.nt1 [PRE1], INCX8
|
|
kusano |
2b45e8 |
(p16) lfetch.excl.nt1 [PRE2], INCY8
|
|
kusano |
2b45e8 |
br.ctop.sptk.few .L52
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
.align 32
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L55:
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) LDFD f32 = [X], 1 * SIZE
|
|
kusano |
2b45e8 |
(p12) LDFD f80 = [Y], 1 * SIZE
|
|
kusano |
2b45e8 |
mov ar.lc = ARLC
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) LDFD f33 = [X], INCXM1
|
|
kusano |
2b45e8 |
(p12) LDFD f81 = [Y], INCYM1
|
|
kusano |
2b45e8 |
mov pr = PR, -65474
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmb
|
|
kusano |
2b45e8 |
(p12) LDFD f34 = [X], 1 * SIZE
|
|
kusano |
2b45e8 |
(p12) LDFD f82 = [Y], 1 * SIZE
|
|
kusano |
2b45e8 |
(p9) br.ret.sptk.many b0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) LDFD f35 = [X], INCXM1
|
|
kusano |
2b45e8 |
(p12) LDFD f83 = [Y], INCYM1
|
|
kusano |
2b45e8 |
tbit.z p0, p13 = N, 1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) LDFD f36 = [X], 1 * SIZE
|
|
kusano |
2b45e8 |
(p12) LDFD f84 = [Y], 1 * SIZE
|
|
kusano |
2b45e8 |
tbit.z p0, p14 = N, 0
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) LDFD f37 = [X], INCXM1
|
|
kusano |
2b45e8 |
(p12) LDFD f85 = [Y], INCYM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) STFD [XX] = f80, 1 * SIZE
|
|
kusano |
2b45e8 |
(p12) STFD [YY] = f32, 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) LDFD f38 = [X], 1 * SIZE
|
|
kusano |
2b45e8 |
(p12) LDFD f86 = [Y], 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) STFD [XX] = f81
|
|
kusano |
2b45e8 |
(p12) STFD [YY] = f33
|
|
kusano |
2b45e8 |
(p12) add XX = XX, INCXM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) LDFD f39 = [X], INCXM1
|
|
kusano |
2b45e8 |
(p12) LDFD f87 = [Y], INCYM1
|
|
kusano |
2b45e8 |
(p12) add YY = YY, INCYM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) STFD [XX] = f82, 1 * SIZE
|
|
kusano |
2b45e8 |
(p12) STFD [YY] = f34, 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p13) LDFD f40 = [X], 1 * SIZE
|
|
kusano |
2b45e8 |
(p13) LDFD f88 = [Y], 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) STFD [XX] = f83
|
|
kusano |
2b45e8 |
(p12) STFD [YY] = f35
|
|
kusano |
2b45e8 |
(p12) add XX = XX, INCXM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p13) LDFD f41 = [X], INCXM1
|
|
kusano |
2b45e8 |
(p13) LDFD f89 = [Y], INCYM1
|
|
kusano |
2b45e8 |
(p12) add YY = YY, INCYM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) STFD [XX] = f84, 1 * SIZE
|
|
kusano |
2b45e8 |
(p12) STFD [YY] = f36, 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p13) LDFD f42 = [X], 1 * SIZE
|
|
kusano |
2b45e8 |
(p13) LDFD f90 = [Y], 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) STFD [XX] = f85
|
|
kusano |
2b45e8 |
(p12) STFD [YY] = f37
|
|
kusano |
2b45e8 |
(p12) add XX = XX, INCXM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p13) LDFD f43 = [X], INCXM1
|
|
kusano |
2b45e8 |
(p13) LDFD f91 = [Y], INCYM1
|
|
kusano |
2b45e8 |
(p12) add YY = YY, INCYM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) STFD [XX] = f86, 1 * SIZE
|
|
kusano |
2b45e8 |
(p12) STFD [YY] = f38, 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p14) LDFD f44 = [X], 1 * SIZE
|
|
kusano |
2b45e8 |
(p14) LDFD f92 = [Y], 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p12) STFD [XX] = f87
|
|
kusano |
2b45e8 |
(p12) STFD [YY] = f39
|
|
kusano |
2b45e8 |
(p12) add XX = XX, INCXM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p14) LDFD f45 = [X]
|
|
kusano |
2b45e8 |
(p14) LDFD f93 = [Y]
|
|
kusano |
2b45e8 |
(p12) add YY = YY, INCYM1
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
{ .mmi
|
|
kusano |
2b45e8 |
(p13) STFD [XX] = f88, 1 * SIZE
|
|
kusano |
2b45e8 |
(p13) STFD [YY] = f40, 1 * SIZE
|
|
kusano |
2b45e8 |
}
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) STFD [XX] = f89
|
|
kusano |
2b45e8 |
(p13) add XX = XX, INCXM1
|
|
kusano |
2b45e8 |
(p13) STFD [YY] = f41
|
|
kusano |
2b45e8 |
(p13) add YY = YY, INCYM1
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) STFD [XX] = f90, 1 * SIZE
|
|
kusano |
2b45e8 |
(p13) STFD [YY] = f42, 1 * SIZE
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p13) STFD [XX] = f91
|
|
kusano |
2b45e8 |
(p13) add XX = XX, INCXM1
|
|
kusano |
2b45e8 |
(p13) STFD [YY] = f43
|
|
kusano |
2b45e8 |
(p13) add YY = YY, INCYM1
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p14) STFD [XX] = f92, 1 * SIZE
|
|
kusano |
2b45e8 |
(p14) STFD [YY] = f44, 1 * SIZE
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
(p14) STFD [XX] = f93
|
|
kusano |
2b45e8 |
(p14) STFD [YY] = f45
|
|
kusano |
2b45e8 |
br.ret.sptk.many b0
|
|
kusano |
2b45e8 |
;;
|
|
kusano |
2b45e8 |
EPILOGUE
|
|
kusano |
2b45e8 |
|