|
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 STACK 16
|
|
kusano |
2b45e8 |
#define ARGS 32
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define J 0 + STACK(%esp)
|
|
kusano |
2b45e8 |
#define I 4 + STACK(%esp)
|
|
kusano |
2b45e8 |
#define KK 8 + STACK(%esp)
|
|
kusano |
2b45e8 |
#define KKK 12 + STACK(%esp)
|
|
kusano |
2b45e8 |
#define AORIG 16 + STACK(%esp)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define M 4 + STACK + ARGS(%esp)
|
|
kusano |
2b45e8 |
#define N 8 + STACK + ARGS(%esp)
|
|
kusano |
2b45e8 |
#define K 12 + STACK + ARGS(%esp)
|
|
kusano |
2b45e8 |
#define ALPHA 16 + STACK + ARGS(%esp)
|
|
kusano |
2b45e8 |
#ifdef DOUBLE
|
|
kusano |
2b45e8 |
#define STACK_A 24 + STACK + ARGS(%esp)
|
|
kusano |
2b45e8 |
#define STACK_B 28 + STACK + ARGS(%esp)
|
|
kusano |
2b45e8 |
#define C 32 + STACK + ARGS(%esp)
|
|
kusano |
2b45e8 |
#define STACK_LDC 36 + STACK + ARGS(%esp)
|
|
kusano |
2b45e8 |
#define OFFSET 40 + STACK + ARGS(%esp)
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
#define STACK_A 20 + STACK + ARGS(%esp)
|
|
kusano |
2b45e8 |
#define STACK_B 24 + STACK + ARGS(%esp)
|
|
kusano |
2b45e8 |
#define C 28 + STACK + ARGS(%esp)
|
|
kusano |
2b45e8 |
#define STACK_LDC 32 + STACK + ARGS(%esp)
|
|
kusano |
2b45e8 |
#define OFFSET 36 + STACK + ARGS(%esp)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define A %edx
|
|
kusano |
2b45e8 |
#define B %ecx
|
|
kusano |
2b45e8 |
#define B_ORIG %ebx
|
|
kusano |
2b45e8 |
#define LDC %ebp
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#define PREFETCHSIZE (5 + 8 * 10)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
PROLOGUE
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
subl $ARGS, %esp # Generate Stack Frame
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
pushl %ebp
|
|
kusano |
2b45e8 |
pushl %edi
|
|
kusano |
2b45e8 |
pushl %esi
|
|
kusano |
2b45e8 |
pushl %ebx
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
PROFCODE
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
movl STACK_B, B_ORIG
|
|
kusano |
2b45e8 |
movl STACK_LDC, LDC
|
|
kusano |
2b45e8 |
leal (, LDC, SIZE), LDC
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
movl M, %eax
|
|
kusano |
2b45e8 |
leal (, %eax, SIZE), %eax
|
|
kusano |
2b45e8 |
addl %eax, C
|
|
kusano |
2b45e8 |
imull K, %eax
|
|
kusano |
2b45e8 |
addl %eax, STACK_A
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RT
|
|
kusano |
2b45e8 |
movl N, %eax
|
|
kusano |
2b45e8 |
leal (, %eax, SIZE), %eax
|
|
kusano |
2b45e8 |
imull K, %eax
|
|
kusano |
2b45e8 |
addl %eax, B_ORIG
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
movl N, %eax
|
|
kusano |
2b45e8 |
imull LDC, %eax
|
|
kusano |
2b45e8 |
addl %eax, C
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RN
|
|
kusano |
2b45e8 |
movl OFFSET, %eax
|
|
kusano |
2b45e8 |
negl %eax
|
|
kusano |
2b45e8 |
movl %eax, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RT
|
|
kusano |
2b45e8 |
movl N, %eax
|
|
kusano |
2b45e8 |
subl OFFSET, %eax
|
|
kusano |
2b45e8 |
movl %eax, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
subl $-16 * SIZE, B_ORIG
|
|
kusano |
2b45e8 |
subl $-16 * SIZE, STACK_A
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
movl M, %eax
|
|
kusano |
2b45e8 |
testl %eax, %eax
|
|
kusano |
2b45e8 |
jle .L999
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
movl N, %eax
|
|
kusano |
2b45e8 |
testl %eax, %eax
|
|
kusano |
2b45e8 |
jle .L999
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
testl %eax, %eax
|
|
kusano |
2b45e8 |
jle .L999
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
movl N, %eax
|
|
kusano |
2b45e8 |
sarl $2, %eax
|
|
kusano |
2b45e8 |
movl %eax, J
|
|
kusano |
2b45e8 |
je .L20
|
|
kusano |
2b45e8 |
ALIGN_3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L11:
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl STACK_A, A
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
movl STACK_A, %eax
|
|
kusano |
2b45e8 |
movl %eax, AORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RT
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
sall $2 + BASE_SHIFT, %eax
|
|
kusano |
2b45e8 |
subl %eax, B_ORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
leal (, LDC, 4), %eax
|
|
kusano |
2b45e8 |
#ifdef RT
|
|
kusano |
2b45e8 |
subl %eax, C
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
movl C, %edi
|
|
kusano |
2b45e8 |
#ifndef RT
|
|
kusano |
2b45e8 |
addl %eax, C
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
movl OFFSET, %eax
|
|
kusano |
2b45e8 |
addl M, %eax
|
|
kusano |
2b45e8 |
movl %eax, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LT
|
|
kusano |
2b45e8 |
movl OFFSET, %eax
|
|
kusano |
2b45e8 |
movl %eax, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
movl B_ORIG, B
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl KK, %eax
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
subl KK, %eax
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
sarl $4, %eax
|
|
kusano |
2b45e8 |
jle .L13
|
|
kusano |
2b45e8 |
ALIGN_4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L12:
|
|
kusano |
2b45e8 |
movl -16 * SIZE(B), %esi
|
|
kusano |
2b45e8 |
movl -8 * SIZE(B), %esi
|
|
kusano |
2b45e8 |
movl 0 * SIZE(B), %esi
|
|
kusano |
2b45e8 |
movl 8 * SIZE(B), %esi
|
|
kusano |
2b45e8 |
movl 16 * SIZE(B), %esi
|
|
kusano |
2b45e8 |
movl 24 * SIZE(B), %esi
|
|
kusano |
2b45e8 |
movl 32 * SIZE(B), %esi
|
|
kusano |
2b45e8 |
movl 40 * SIZE(B), %esi
|
|
kusano |
2b45e8 |
subl $-64 * SIZE, B
|
|
kusano |
2b45e8 |
decl %eax
|
|
kusano |
2b45e8 |
jne .L12
|
|
kusano |
2b45e8 |
ALIGN_3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L13:
|
|
kusano |
2b45e8 |
movl M, %esi
|
|
kusano |
2b45e8 |
movl %esi, I
|
|
kusano |
2b45e8 |
ALIGN_3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L14:
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
sall $BASE_SHIFT, %eax
|
|
kusano |
2b45e8 |
subl %eax, AORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LN) || defined(RT)
|
|
kusano |
2b45e8 |
movl KK, %eax
|
|
kusano |
2b45e8 |
leal (, %eax, SIZE), %eax
|
|
kusano |
2b45e8 |
movl AORIG, A
|
|
kusano |
2b45e8 |
leal (A , %eax, 1), A
|
|
kusano |
2b45e8 |
leal (B_ORIG, %eax, 4), B
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
movl B_ORIG, B
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
leal (%edi, LDC, 2), %eax
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fldz
|
|
kusano |
2b45e8 |
fldz
|
|
kusano |
2b45e8 |
fldz
|
|
kusano |
2b45e8 |
fldz
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -8 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD -16 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD -16 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
movl $32 * SIZE, %esi
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
prefetchw 1 * SIZE(%edi)
|
|
kusano |
2b45e8 |
prefetchw 1 * SIZE(%edi, LDC)
|
|
kusano |
2b45e8 |
prefetchw 1 * SIZE(%eax)
|
|
kusano |
2b45e8 |
prefetchw 1 * SIZE(%eax, LDC)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl KK, %eax
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
subl KK, %eax
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
sarl $3, %eax
|
|
kusano |
2b45e8 |
je .L16
|
|
kusano |
2b45e8 |
ALIGN_3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L15:
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(3)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FLD -15 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FLD -14 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FMUL -13 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
FLD -15 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD -12 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(3)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FLD -11 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FLD -10 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FMUL -9 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
FLD -14 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD -8 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(3)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FLD -7 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FLD -6 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FMUL -5 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
FLD -13 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD -4 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(3)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FLD -3 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FLD -2 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FMUL -1 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
FLD -12 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD 0 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(3)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FLD 1 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FLD 2 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FMUL 3 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
FLD -11 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD 4 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(3)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FLD 5 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FLD 6 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FMUL 7 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
FLD -10 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD 8 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(3)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FLD 9 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FLD 10 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FMUL 11 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
FLD -9 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD 12 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(3)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FLD 13 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FLD 14 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
PADDING
|
|
kusano |
2b45e8 |
FMUL 15 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
FLD 0 * SIZE(A)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
PADDING prefetch PREFETCHSIZE * SIZE(A)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
addl $8 * SIZE, A
|
|
kusano |
2b45e8 |
fxch %st(1)
|
|
kusano |
2b45e8 |
addl $32 * SIZE, B
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -16 * SIZE(B)
|
|
kusano |
2b45e8 |
decl %eax
|
|
kusano |
2b45e8 |
jne .L15
|
|
kusano |
2b45e8 |
ALIGN_4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L16:
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl KK, %eax
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
subl KK, %eax
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
and $7, %eax
|
|
kusano |
2b45e8 |
je .L19
|
|
kusano |
2b45e8 |
ALIGN_4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L17:
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(3)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -15 * SIZE(B)
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -14 * SIZE(B)
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL -13 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(5)
|
|
kusano |
2b45e8 |
FLD -15 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD -12 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
addl $1 * SIZE,A
|
|
kusano |
2b45e8 |
addl $4 * SIZE,B
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
decl %eax
|
|
kusano |
2b45e8 |
jne .L17
|
|
kusano |
2b45e8 |
ALIGN_4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L19:
|
|
kusano |
2b45e8 |
ffreep %st(0)
|
|
kusano |
2b45e8 |
ffreep %st(0)
|
|
kusano |
2b45e8 |
ffreep %st(0)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LN) || defined(RT)
|
|
kusano |
2b45e8 |
movl KK, %eax
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
subl $1, %eax
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
subl $4, %eax
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
leal (, %eax, SIZE), %eax
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
movl AORIG, A
|
|
kusano |
2b45e8 |
leal (A, %eax, 1), A
|
|
kusano |
2b45e8 |
leal (B_ORIG, %eax, 4), B
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LN) || defined(LT)
|
|
kusano |
2b45e8 |
FLD 0 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fsubp %st, %st(1)
|
|
kusano |
2b45e8 |
FLD 1 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fsubp %st, %st(2)
|
|
kusano |
2b45e8 |
FLD 2 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fsubp %st, %st(3)
|
|
kusano |
2b45e8 |
FLD 3 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fsubp %st, %st(4)
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
FLD 0 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
fsubp %st, %st(1)
|
|
kusano |
2b45e8 |
FLD 1 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
fsubp %st, %st(2)
|
|
kusano |
2b45e8 |
FLD 2 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
fsubp %st, %st(3)
|
|
kusano |
2b45e8 |
FLD 3 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
fsubp %st, %st(4)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
FLD 0 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
fmul %st, %st(1)
|
|
kusano |
2b45e8 |
fmul %st, %st(2)
|
|
kusano |
2b45e8 |
fmul %st, %st(3)
|
|
kusano |
2b45e8 |
fmulp %st, %st(4)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LT
|
|
kusano |
2b45e8 |
FLD 0 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
fmul %st, %st(1)
|
|
kusano |
2b45e8 |
fmul %st, %st(2)
|
|
kusano |
2b45e8 |
fmul %st, %st(3)
|
|
kusano |
2b45e8 |
fmulp %st, %st(4)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RN
|
|
kusano |
2b45e8 |
FMUL 0 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD 1 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
fsubrp %st, %st(2)
|
|
kusano |
2b45e8 |
FLD 2 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
fsubrp %st, %st(3)
|
|
kusano |
2b45e8 |
FLD 3 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
fsubrp %st, %st(4)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD 5 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmulp %st, %st(2)
|
|
kusano |
2b45e8 |
FLD 6 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmul %st(2), %st
|
|
kusano |
2b45e8 |
fsubrp %st, %st(3)
|
|
kusano |
2b45e8 |
FLD 7 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmul %st(2), %st
|
|
kusano |
2b45e8 |
fsubrp %st, %st(4)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD 10 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmulp %st, %st(3)
|
|
kusano |
2b45e8 |
FLD 11 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmul %st(3), %st
|
|
kusano |
2b45e8 |
fsubrp %st, %st(4)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD 15 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmulp %st, %st(4)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RT
|
|
kusano |
2b45e8 |
FLD 15 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmulp %st, %st(4)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD 14 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmul %st(4), %st
|
|
kusano |
2b45e8 |
fsubrp %st, %st(3)
|
|
kusano |
2b45e8 |
FLD 13 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmul %st(4), %st
|
|
kusano |
2b45e8 |
fsubrp %st, %st(2)
|
|
kusano |
2b45e8 |
FLD 12 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmul %st(4), %st
|
|
kusano |
2b45e8 |
fsubrp %st, %st(1)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD 10 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmulp %st, %st(3)
|
|
kusano |
2b45e8 |
FLD 9 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmul %st(3), %st
|
|
kusano |
2b45e8 |
fsubrp %st, %st(2)
|
|
kusano |
2b45e8 |
FLD 8 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmul %st(3), %st
|
|
kusano |
2b45e8 |
fsubrp %st, %st(1)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD 5 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmulp %st, %st(2)
|
|
kusano |
2b45e8 |
FLD 4 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmul %st(2), %st
|
|
kusano |
2b45e8 |
fsubrp %st, %st(1)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD 0 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmulp %st, %st(1)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
subl $1 * SIZE, %edi
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LN) || defined(LT)
|
|
kusano |
2b45e8 |
FSTU 0 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fxch %st(1)
|
|
kusano |
2b45e8 |
FSTU 1 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fxch %st(2)
|
|
kusano |
2b45e8 |
FSTU 2 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fxch %st(3)
|
|
kusano |
2b45e8 |
FSTU 3 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
FSTU 0 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
fxch %st(1)
|
|
kusano |
2b45e8 |
FSTU 1 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
fxch %st(2)
|
|
kusano |
2b45e8 |
FSTU 2 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
fxch %st(3)
|
|
kusano |
2b45e8 |
FSTU 3 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
leal (%edi, LDC, 2), %eax
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FST 0 * SIZE(%eax, LDC)
|
|
kusano |
2b45e8 |
FST 0 * SIZE(%edi)
|
|
kusano |
2b45e8 |
FST 0 * SIZE(%edi, LDC)
|
|
kusano |
2b45e8 |
FST 0 * SIZE(%eax)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifndef LN
|
|
kusano |
2b45e8 |
addl $1 * SIZE, %edi
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
subl KK, %eax
|
|
kusano |
2b45e8 |
leal (,%eax, SIZE), %eax
|
|
kusano |
2b45e8 |
leal (A, %eax, 1), A
|
|
kusano |
2b45e8 |
leal (B, %eax, 4), B
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
subl $1, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LT
|
|
kusano |
2b45e8 |
addl $1, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RT
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
sall $BASE_SHIFT, %eax
|
|
kusano |
2b45e8 |
addl %eax, AORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
decl I
|
|
kusano |
2b45e8 |
jne .L14
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
leal ( , %eax, SIZE), %eax
|
|
kusano |
2b45e8 |
leal (B_ORIG, %eax, 4), B_ORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl B, B_ORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RN
|
|
kusano |
2b45e8 |
addl $4, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RT
|
|
kusano |
2b45e8 |
subl $4, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
decl J
|
|
kusano |
2b45e8 |
jne .L11
|
|
kusano |
2b45e8 |
ALIGN_4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L20:
|
|
kusano |
2b45e8 |
movl N, %eax
|
|
kusano |
2b45e8 |
andl $2, %eax
|
|
kusano |
2b45e8 |
je .L30
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl STACK_A, A
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
movl STACK_A, %eax
|
|
kusano |
2b45e8 |
movl %eax, AORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RT
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
sall $1 + BASE_SHIFT, %eax
|
|
kusano |
2b45e8 |
subl %eax, B_ORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
leal (, LDC, 2), %eax
|
|
kusano |
2b45e8 |
#ifdef RT
|
|
kusano |
2b45e8 |
subl %eax, C
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
movl C, %edi
|
|
kusano |
2b45e8 |
#ifndef RT
|
|
kusano |
2b45e8 |
addl %eax, C
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
movl OFFSET, %eax
|
|
kusano |
2b45e8 |
addl M, %eax
|
|
kusano |
2b45e8 |
movl %eax, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LT
|
|
kusano |
2b45e8 |
movl OFFSET, %eax
|
|
kusano |
2b45e8 |
movl %eax, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
movl B_ORIG, B
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl KK, %eax
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
subl KK, %eax
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
sarl $4, %eax
|
|
kusano |
2b45e8 |
jle .L23
|
|
kusano |
2b45e8 |
ALIGN_4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L22:
|
|
kusano |
2b45e8 |
movl -16 * SIZE(B), %esi
|
|
kusano |
2b45e8 |
movl -8 * SIZE(B), %esi
|
|
kusano |
2b45e8 |
movl 0 * SIZE(B), %esi
|
|
kusano |
2b45e8 |
movl 8 * SIZE(B), %esi
|
|
kusano |
2b45e8 |
subl $-32 * SIZE, B
|
|
kusano |
2b45e8 |
decl %eax
|
|
kusano |
2b45e8 |
jne .L22
|
|
kusano |
2b45e8 |
ALIGN_3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L23:
|
|
kusano |
2b45e8 |
movl M, %esi
|
|
kusano |
2b45e8 |
movl %esi, I
|
|
kusano |
2b45e8 |
ALIGN_3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L24:
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
sall $BASE_SHIFT, %eax
|
|
kusano |
2b45e8 |
subl %eax, AORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LN) || defined(RT)
|
|
kusano |
2b45e8 |
movl KK, %eax
|
|
kusano |
2b45e8 |
leal (, %eax, SIZE), %eax
|
|
kusano |
2b45e8 |
movl AORIG, A
|
|
kusano |
2b45e8 |
leal (A , %eax, 1), A
|
|
kusano |
2b45e8 |
leal (B_ORIG, %eax, 2), B
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
movl B_ORIG, B
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fldz
|
|
kusano |
2b45e8 |
fldz
|
|
kusano |
2b45e8 |
fldz
|
|
kusano |
2b45e8 |
fldz
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -16 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD -16 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
prefetchw 1 * SIZE(%edi)
|
|
kusano |
2b45e8 |
prefetchw 1 * SIZE(%edi, LDC)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl KK, %eax
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
subl KK, %eax
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
sarl $3, %eax
|
|
kusano |
2b45e8 |
je .L26
|
|
kusano |
2b45e8 |
ALIGN_3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L25:
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(2)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL -15 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(2)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -15 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD -14 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL -13 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -14 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD -12 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(2)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL -11 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(2)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -13 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD -10 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL -9 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -12 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD -8 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(2)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL -7 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(2)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -11 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD -6 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL -5 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -10 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD -4 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(2)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL -3 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(2)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -9 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD -2 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL -1 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -8 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD 0 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
addl $ 8 * SIZE, A
|
|
kusano |
2b45e8 |
subl $-16 * SIZE, B
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
decl %eax
|
|
kusano |
2b45e8 |
jne .L25
|
|
kusano |
2b45e8 |
ALIGN_4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L26:
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl KK, %eax
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
subl KK, %eax
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
and $7, %eax
|
|
kusano |
2b45e8 |
je .L29
|
|
kusano |
2b45e8 |
ALIGN_4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L27:
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
faddp %st, %st(2)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FMUL -15 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(2)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -15 * SIZE(A)
|
|
kusano |
2b45e8 |
FLD -14 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
addl $1 * SIZE,A
|
|
kusano |
2b45e8 |
addl $2 * SIZE,B
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
decl %eax
|
|
kusano |
2b45e8 |
jne .L27
|
|
kusano |
2b45e8 |
ALIGN_4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L29:
|
|
kusano |
2b45e8 |
ffreep %st(0)
|
|
kusano |
2b45e8 |
ffreep %st(0)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
faddp %st, %st(2)
|
|
kusano |
2b45e8 |
faddp %st, %st(2)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LN) || defined(RT)
|
|
kusano |
2b45e8 |
movl KK, %eax
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
subl $1, %eax
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
subl $2, %eax
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
leal (, %eax, SIZE), %eax
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
movl AORIG, A
|
|
kusano |
2b45e8 |
leal (A, %eax, 1), A
|
|
kusano |
2b45e8 |
leal (B_ORIG, %eax, 2), B
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LN) || defined(LT)
|
|
kusano |
2b45e8 |
FLD 0 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fsubp %st, %st(1)
|
|
kusano |
2b45e8 |
FLD 1 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fsubp %st, %st(2)
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
FLD 0 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
fsubp %st, %st(1)
|
|
kusano |
2b45e8 |
FLD 1 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
fsubp %st, %st(2)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
FLD 0 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
fmul %st, %st(1)
|
|
kusano |
2b45e8 |
fmulp %st, %st(2)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LT
|
|
kusano |
2b45e8 |
FLD 0 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
fmul %st, %st(1)
|
|
kusano |
2b45e8 |
fmulp %st, %st(2)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RN
|
|
kusano |
2b45e8 |
FMUL 0 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD 1 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmul %st(1), %st
|
|
kusano |
2b45e8 |
fsubrp %st, %st(2)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD 3 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmulp %st, %st(2)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RT
|
|
kusano |
2b45e8 |
FLD 3 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmulp %st, %st(2)
|
|
kusano |
2b45e8 |
FLD 2 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmul %st(2), %st
|
|
kusano |
2b45e8 |
fsubrp %st, %st(1)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD 0 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fmulp %st, %st(1)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
subl $1 * SIZE, %edi
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LN) || defined(LT)
|
|
kusano |
2b45e8 |
FSTU 0 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fxch %st(1)
|
|
kusano |
2b45e8 |
FSTU 1 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
FSTU 0 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
fxch %st(1)
|
|
kusano |
2b45e8 |
FSTU 1 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FST 0 * SIZE(%edi, LDC)
|
|
kusano |
2b45e8 |
FST 0 * SIZE(%edi)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifndef LN
|
|
kusano |
2b45e8 |
addl $1 * SIZE, %edi
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
subl KK, %eax
|
|
kusano |
2b45e8 |
leal (,%eax, SIZE), %eax
|
|
kusano |
2b45e8 |
leal (A, %eax, 1), A
|
|
kusano |
2b45e8 |
leal (B, %eax, 2), B
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
subl $1, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LT
|
|
kusano |
2b45e8 |
addl $1, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RT
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
sall $BASE_SHIFT, %eax
|
|
kusano |
2b45e8 |
addl %eax, AORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
decl I
|
|
kusano |
2b45e8 |
jne .L24
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
leal ( , %eax, SIZE), %eax
|
|
kusano |
2b45e8 |
leal (B_ORIG, %eax, 2), B_ORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl B, B_ORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RN
|
|
kusano |
2b45e8 |
addl $2, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RT
|
|
kusano |
2b45e8 |
subl $2, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
ALIGN_4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L30:
|
|
kusano |
2b45e8 |
movl N, %eax
|
|
kusano |
2b45e8 |
andl $1, %eax
|
|
kusano |
2b45e8 |
je .L999
|
|
kusano |
2b45e8 |
ALIGN_3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L31:
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl STACK_A, A
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
movl STACK_A, %eax
|
|
kusano |
2b45e8 |
movl %eax, AORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RT
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
sall $0 + BASE_SHIFT, %eax
|
|
kusano |
2b45e8 |
subl %eax, B_ORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RT
|
|
kusano |
2b45e8 |
subl LDC, C
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
movl C, %edi
|
|
kusano |
2b45e8 |
#ifndef RT
|
|
kusano |
2b45e8 |
addl LDC, C
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
movl OFFSET, %eax
|
|
kusano |
2b45e8 |
addl M, %eax
|
|
kusano |
2b45e8 |
movl %eax, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LT
|
|
kusano |
2b45e8 |
movl OFFSET, %eax
|
|
kusano |
2b45e8 |
movl %eax, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
movl B_ORIG, B
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl KK, %eax
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
subl KK, %eax
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
sarl $5, %eax
|
|
kusano |
2b45e8 |
jle .L33
|
|
kusano |
2b45e8 |
ALIGN_4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L32:
|
|
kusano |
2b45e8 |
movl -16 * SIZE(B), %esi
|
|
kusano |
2b45e8 |
movl -8 * SIZE(B), %esi
|
|
kusano |
2b45e8 |
movl 0 * SIZE(B), %esi
|
|
kusano |
2b45e8 |
movl 8 * SIZE(B), %esi
|
|
kusano |
2b45e8 |
subl $-32 * SIZE, B
|
|
kusano |
2b45e8 |
decl %eax
|
|
kusano |
2b45e8 |
jne .L32
|
|
kusano |
2b45e8 |
ALIGN_3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L33:
|
|
kusano |
2b45e8 |
movl M, %esi
|
|
kusano |
2b45e8 |
movl %esi, I
|
|
kusano |
2b45e8 |
ALIGN_3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L34:
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
sall $BASE_SHIFT, %eax
|
|
kusano |
2b45e8 |
subl %eax, AORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LN) || defined(RT)
|
|
kusano |
2b45e8 |
movl KK, %eax
|
|
kusano |
2b45e8 |
leal (, %eax, SIZE), %eax
|
|
kusano |
2b45e8 |
movl AORIG, A
|
|
kusano |
2b45e8 |
leal (A , %eax, 1), A
|
|
kusano |
2b45e8 |
leal (B_ORIG, %eax, 1), B
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
movl B_ORIG, B
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
fldz
|
|
kusano |
2b45e8 |
fldz
|
|
kusano |
2b45e8 |
fldz
|
|
kusano |
2b45e8 |
fldz
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
prefetchw 1 * SIZE(%edi)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl KK, %eax
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
subl KK, %eax
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
sarl $3, %eax
|
|
kusano |
2b45e8 |
je .L36
|
|
kusano |
2b45e8 |
ALIGN_3
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L35:
|
|
kusano |
2b45e8 |
FLD -16 * SIZE(A)
|
|
kusano |
2b45e8 |
FMUL -16 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(1)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -15 * SIZE(A)
|
|
kusano |
2b45e8 |
FMUL -15 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(2)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -14 * SIZE(A)
|
|
kusano |
2b45e8 |
FMUL -14 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(3)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -13 * SIZE(A)
|
|
kusano |
2b45e8 |
FMUL -13 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -12 * SIZE(A)
|
|
kusano |
2b45e8 |
FMUL -12 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(1)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -11 * SIZE(A)
|
|
kusano |
2b45e8 |
FMUL -11 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(2)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -10 * SIZE(A)
|
|
kusano |
2b45e8 |
FMUL -10 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(3)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FLD -9 * SIZE(A)
|
|
kusano |
2b45e8 |
FMUL -9 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(4)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
addl $8 * SIZE, A
|
|
kusano |
2b45e8 |
addl $8 * SIZE, B
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
decl %eax
|
|
kusano |
2b45e8 |
jne .L35
|
|
kusano |
2b45e8 |
ALIGN_4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L36:
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl KK, %eax
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
subl KK, %eax
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
and $7, %eax
|
|
kusano |
2b45e8 |
je .L39
|
|
kusano |
2b45e8 |
ALIGN_4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L37:
|
|
kusano |
2b45e8 |
FLD -16 * SIZE(A)
|
|
kusano |
2b45e8 |
FMUL -16 * SIZE(B)
|
|
kusano |
2b45e8 |
faddp %st, %st(1)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
addl $1 * SIZE,A
|
|
kusano |
2b45e8 |
addl $1 * SIZE,B
|
|
kusano |
2b45e8 |
decl %eax
|
|
kusano |
2b45e8 |
jne .L37
|
|
kusano |
2b45e8 |
ALIGN_4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L39:
|
|
kusano |
2b45e8 |
faddp %st, %st(2)
|
|
kusano |
2b45e8 |
faddp %st, %st(2)
|
|
kusano |
2b45e8 |
faddp %st, %st(1)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LN) || defined(RT)
|
|
kusano |
2b45e8 |
movl KK, %eax
|
|
kusano |
2b45e8 |
subl $1, %eax
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
movl AORIG, A
|
|
kusano |
2b45e8 |
leal (A, %eax, SIZE), A
|
|
kusano |
2b45e8 |
leal (B_ORIG, %eax, SIZE), B
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LN) || defined(LT)
|
|
kusano |
2b45e8 |
FLD 0 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
fsubp %st, %st(1)
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
FLD 0 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
fsubp %st, %st(1)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LN) || defined(LT)
|
|
kusano |
2b45e8 |
FLD 0 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
fmulp %st, %st(1)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(RN) || defined(RT)
|
|
kusano |
2b45e8 |
FMUL 0 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
subl $1 * SIZE, %edi
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LN) || defined(LT)
|
|
kusano |
2b45e8 |
FSTU 0 * SIZE - 16 * SIZE(B)
|
|
kusano |
2b45e8 |
#else
|
|
kusano |
2b45e8 |
FSTU 0 * SIZE - 16 * SIZE(A)
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
FST 0 * SIZE(%edi)
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifndef LN
|
|
kusano |
2b45e8 |
addl $1 * SIZE, %edi
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
subl KK, %eax
|
|
kusano |
2b45e8 |
leal (A, %eax, SIZE), A
|
|
kusano |
2b45e8 |
leal (B, %eax, SIZE), B
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
subl $1, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LT
|
|
kusano |
2b45e8 |
addl $1, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RT
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
sall $BASE_SHIFT, %eax
|
|
kusano |
2b45e8 |
addl %eax, AORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
decl I
|
|
kusano |
2b45e8 |
jne .L34
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef LN
|
|
kusano |
2b45e8 |
movl K, %eax
|
|
kusano |
2b45e8 |
leal ( , %eax, SIZE), %eax
|
|
kusano |
2b45e8 |
leal (B_ORIG, %eax, 1), B_ORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
#if defined(LT) || defined(RN)
|
|
kusano |
2b45e8 |
movl B, B_ORIG
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RN
|
|
kusano |
2b45e8 |
addl $1, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
#ifdef RT
|
|
kusano |
2b45e8 |
subl $1, KK
|
|
kusano |
2b45e8 |
#endif
|
|
kusano |
2b45e8 |
ALIGN_4
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
.L999:
|
|
kusano |
2b45e8 |
popl %ebx
|
|
kusano |
2b45e8 |
popl %esi
|
|
kusano |
2b45e8 |
popl %edi
|
|
kusano |
2b45e8 |
popl %ebp
|
|
kusano |
2b45e8 |
addl $ARGS, %esp
|
|
kusano |
2b45e8 |
ret
|
|
kusano |
2b45e8 |
|
|
kusano |
2b45e8 |
EPILOGUE
|