Blame thirdparty/openblas/xianyi-OpenBLAS-e6e87a2/kernel/power/scal_hummer.S

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 N	r3
kusano 2b45e8
#define X	r6
kusano 2b45e8
#define INCX	r7	
kusano 2b45e8
kusano 2b45e8
#define INCX2	r4
kusano 2b45e8
#define X2	r5
kusano 2b45e8
kusano 2b45e8
#define ALPHA	f1
kusano 2b45e8
kusano 2b45e8
#define A1	f0
kusano 2b45e8
#define A2	f16
kusano 2b45e8
#define A3	f2
kusano 2b45e8
#define A4	f3
kusano 2b45e8
#define A5	f4
kusano 2b45e8
#define A6	f5
kusano 2b45e8
#define A7	f6
kusano 2b45e8
#define A8	f7
kusano 2b45e8
kusano 2b45e8
#define B1	f8
kusano 2b45e8
#define B2	f9
kusano 2b45e8
#define B3	f10
kusano 2b45e8
#define B4	f11
kusano 2b45e8
#define B5	f12
kusano 2b45e8
#define B6	f13
kusano 2b45e8
#define B7	f14
kusano 2b45e8
#define B8	f15
kusano 2b45e8
kusano 2b45e8
	PROLOGUE
kusano 2b45e8
	PROFCODE
kusano 2b45e8
kusano 2b45e8
	li	r10, -16
kusano 2b45e8
kusano 2b45e8
	stfpdux	f14, SP, r10
kusano 2b45e8
	stfpdux	f15, SP, r10
kusano 2b45e8
	stfpdux	f16, SP, r10
kusano 2b45e8
	
kusano 2b45e8
	li	r10,   0
kusano 2b45e8
	stwu	r10,   -4(SP)
kusano 2b45e8
	stwu	r10,   -4(SP)
kusano 2b45e8
	stwu	r10,   -4(SP)
kusano 2b45e8
	stwu	r10,   -4(SP)
kusano 2b45e8
kusano 2b45e8
	lfpdx	A1, SP, r10		# Zero clear
kusano 2b45e8
	fsmfp	ALPHA, ALPHA
kusano 2b45e8
kusano 2b45e8
	slwi	INCX,  INCX, BASE_SHIFT
kusano 2b45e8
	add	INCX2, INCX, INCX
kusano 2b45e8
kusano 2b45e8
	cmpwi	cr0, N, 0
kusano 2b45e8
	ble	LL(999)
kusano 2b45e8
kusano 2b45e8
	cmpwi	cr0, INCX, SIZE
kusano 2b45e8
	bne	LL(100)
kusano 2b45e8
kusano 2b45e8
	fcmpu	cr7, ALPHA, A1
kusano 2b45e8
	bne	cr7, LL(50)
kusano 2b45e8
kusano 2b45e8
	sub	X,  X, INCX2
kusano 2b45e8
kusano 2b45e8
	andi.	r0, X, 2 * SIZE - 1
kusano 2b45e8
	beq	LL(11)
kusano 2b45e8
kusano 2b45e8
	STFDX	A1, X, INCX2
kusano 2b45e8
	addi	X, X, 1 * SIZE
kusano 2b45e8
	addi	N, N, -1
kusano 2b45e8
	cmpwi	cr0, N, 0
kusano 2b45e8
	ble	LL(999)
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(11):
kusano 2b45e8
	srawi.	r0, N, 4
kusano 2b45e8
	mtspr	CTR,  r0
kusano 2b45e8
	beq-	LL(15)
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(12):
kusano 2b45e8
	STFPDUX	A1,   X, INCX2
kusano 2b45e8
	STFPDUX	A1,   X, INCX2
kusano 2b45e8
	STFPDUX	A1,   X, INCX2
kusano 2b45e8
	STFPDUX	A1,   X, INCX2
kusano 2b45e8
	STFPDUX	A1,   X, INCX2
kusano 2b45e8
	STFPDUX	A1,   X, INCX2
kusano 2b45e8
	STFPDUX	A1,   X, INCX2
kusano 2b45e8
	STFPDUX	A1,   X, INCX2
kusano 2b45e8
	bdnz	LL(12)
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(15):
kusano 2b45e8
	andi.	r0,  N, 15
kusano 2b45e8
	beq	LL(999)
kusano 2b45e8
	andi.	r0,  N, 8
kusano 2b45e8
	beq	LL(16)
kusano 2b45e8
kusano 2b45e8
	STFPDUX	A1,   X, INCX2
kusano 2b45e8
	STFPDUX	A1,   X, INCX2
kusano 2b45e8
	STFPDUX	A1,   X, INCX2
kusano 2b45e8
	STFPDUX	A1,   X, INCX2
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(16):
kusano 2b45e8
	andi.	r0,  N, 4
kusano 2b45e8
	beq	LL(17)
kusano 2b45e8
kusano 2b45e8
	STFPDUX	A1,   X, INCX2
kusano 2b45e8
	STFPDUX	A1,   X, INCX2
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(17):
kusano 2b45e8
	andi.	r0,  N, 2
kusano 2b45e8
	beq	LL(18)
kusano 2b45e8
kusano 2b45e8
	STFPDUX	A1,   X, INCX2
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(18):
kusano 2b45e8
	andi.	r0,  N, 1
kusano 2b45e8
	beq	LL(999)
kusano 2b45e8
	STFDUX	A1,   X, INCX2
kusano 2b45e8
	b	LL(999)
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(50):
kusano 2b45e8
	sub	X2, X, INCX2
kusano 2b45e8
	sub	X,  X, INCX2
kusano 2b45e8
kusano 2b45e8
	andi.	r0, X, 2 * SIZE - 1
kusano 2b45e8
	beq	LL(51)
kusano 2b45e8
kusano 2b45e8
	LFDX	A1, X,  INCX2
kusano 2b45e8
	addi	X,  X,  1 * SIZE
kusano 2b45e8
kusano 2b45e8
	fmul	B1, ALPHA, A1
kusano 2b45e8
	addi	N, N, -1
kusano 2b45e8
	cmpwi	cr0, N, 0
kusano 2b45e8
kusano 2b45e8
	STFDX	B1, X2, INCX2
kusano 2b45e8
	addi	X2, X2, 1 * SIZE
kusano 2b45e8
	ble	LL(999)
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(51):
kusano 2b45e8
	srawi.	r0, N, 4
kusano 2b45e8
	mtspr	CTR,  r0
kusano 2b45e8
	beq-	LL(55)
kusano 2b45e8
kusano 2b45e8
	LFPDUX	A1, X,  INCX2
kusano 2b45e8
	LFPDUX	A2, X,  INCX2
kusano 2b45e8
	LFPDUX	A3, X,  INCX2
kusano 2b45e8
	LFPDUX	A4, X,  INCX2
kusano 2b45e8
	LFPDUX	A5, X,  INCX2
kusano 2b45e8
	LFPDUX	A6, X,  INCX2
kusano 2b45e8
	LFPDUX	A7, X,  INCX2
kusano 2b45e8
	LFPDUX	A8, X,  INCX2
kusano 2b45e8
	bdz	LL(53)
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(52):
kusano 2b45e8
	fpmul	B1, ALPHA, A1
kusano 2b45e8
	LFPDUX	A1, X,  INCX2
kusano 2b45e8
	fpmul	B2, ALPHA, A2
kusano 2b45e8
	LFPDUX	A2, X,  INCX2
kusano 2b45e8
	fpmul	B3, ALPHA, A3
kusano 2b45e8
	LFPDUX	A3, X,  INCX2
kusano 2b45e8
	fpmul	B4, ALPHA, A4
kusano 2b45e8
	LFPDUX	A4, X,  INCX2
kusano 2b45e8
	fpmul	B5, ALPHA, A5
kusano 2b45e8
	LFPDUX	A5, X,  INCX2
kusano 2b45e8
	fpmul	B6, ALPHA, A6
kusano 2b45e8
	LFPDUX	A6, X,  INCX2
kusano 2b45e8
	fpmul	B7, ALPHA, A7
kusano 2b45e8
	LFPDUX	A7, X,  INCX2
kusano 2b45e8
	fpmul	B8, ALPHA, A8
kusano 2b45e8
	LFPDUX	A8, X,  INCX2
kusano 2b45e8
kusano 2b45e8
	STFPDUX	B1, X2, INCX2
kusano 2b45e8
	STFPDUX	B2, X2, INCX2
kusano 2b45e8
	STFPDUX	B3, X2, INCX2
kusano 2b45e8
	STFPDUX	B4, X2, INCX2
kusano 2b45e8
	STFPDUX	B5, X2, INCX2
kusano 2b45e8
	STFPDUX	B6, X2, INCX2
kusano 2b45e8
	STFPDUX	B7, X2, INCX2
kusano 2b45e8
	STFPDUX	B8, X2, INCX2
kusano 2b45e8
	bdnz	LL(52)
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(53):
kusano 2b45e8
	fpmul	B1, ALPHA, A1
kusano 2b45e8
	fpmul	B2, ALPHA, A2
kusano 2b45e8
	fpmul	B3, ALPHA, A3
kusano 2b45e8
	fpmul	B4, ALPHA, A4
kusano 2b45e8
	fpmul	B5, ALPHA, A5
kusano 2b45e8
	fpmul	B6, ALPHA, A6
kusano 2b45e8
	STFPDUX	B1, X2, INCX2
kusano 2b45e8
	fpmul	B7, ALPHA, A7
kusano 2b45e8
	STFPDUX	B2, X2, INCX2
kusano 2b45e8
	fpmul	B8, ALPHA, A8
kusano 2b45e8
	STFPDUX	B3, X2, INCX2
kusano 2b45e8
kusano 2b45e8
	STFPDUX	B4, X2, INCX2
kusano 2b45e8
	STFPDUX	B5, X2, INCX2
kusano 2b45e8
	STFPDUX	B6, X2, INCX2
kusano 2b45e8
	STFPDUX	B7, X2, INCX2
kusano 2b45e8
	STFPDUX	B8, X2, INCX2
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(55):
kusano 2b45e8
	andi.	r0,  N, 15
kusano 2b45e8
	beq	LL(999)
kusano 2b45e8
	andi.	r0,  N, 8
kusano 2b45e8
	beq	LL(56)
kusano 2b45e8
kusano 2b45e8
	LFPDUX	A1, X,  INCX2
kusano 2b45e8
	LFPDUX	A2, X,  INCX2
kusano 2b45e8
	LFPDUX	A3, X,  INCX2
kusano 2b45e8
	LFPDUX	A4, X,  INCX2
kusano 2b45e8
kusano 2b45e8
	fpmul	B1, ALPHA, A1
kusano 2b45e8
	fpmul	B2, ALPHA, A2
kusano 2b45e8
	fpmul	B3, ALPHA, A3
kusano 2b45e8
	fpmul	B4, ALPHA, A4
kusano 2b45e8
kusano 2b45e8
	STFPDUX	B1, X2, INCX2
kusano 2b45e8
	STFPDUX	B2, X2, INCX2
kusano 2b45e8
	STFPDUX	B3, X2, INCX2
kusano 2b45e8
	STFPDUX	B4, X2, INCX2
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(56):
kusano 2b45e8
	andi.	r0,  N, 4
kusano 2b45e8
	beq	LL(57)
kusano 2b45e8
kusano 2b45e8
	LFPDUX	A1, X,  INCX2
kusano 2b45e8
	LFPDUX	A2, X,  INCX2
kusano 2b45e8
	fpmul	B1, ALPHA, A1
kusano 2b45e8
	fpmul	B2, ALPHA, A2
kusano 2b45e8
	STFPDUX	B1, X2, INCX2
kusano 2b45e8
	STFPDUX	B2, X2, INCX2
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(57):
kusano 2b45e8
	andi.	r0,  N, 2
kusano 2b45e8
	beq	LL(58)
kusano 2b45e8
kusano 2b45e8
	LFPDUX	A1, X,  INCX2
kusano 2b45e8
	fpmul	B1, ALPHA, A1
kusano 2b45e8
	STFPDUX	B1, X2, INCX2
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(58):
kusano 2b45e8
	andi.	r0,  N, 1
kusano 2b45e8
	beq	LL(999)
kusano 2b45e8
kusano 2b45e8
	LFDX	A1, X,  INCX2
kusano 2b45e8
	fmul	B1, ALPHA, A1
kusano 2b45e8
	STFDX	B1, X2, INCX2
kusano 2b45e8
	b	LL(999)
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
kusano 2b45e8
LL(100):
kusano 2b45e8
	fcmpu	cr7, ALPHA, A1
kusano 2b45e8
	bne	cr7, LL(200)
kusano 2b45e8
kusano 2b45e8
	sub	X,  X, INCX
kusano 2b45e8
kusano 2b45e8
	srawi.	r0, N, 3
kusano 2b45e8
	mtspr	CTR,  r0
kusano 2b45e8
	beq-	LL(115)
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(112):
kusano 2b45e8
	STFDUX	A1,   X, INCX
kusano 2b45e8
	STFDUX	A1,   X, INCX
kusano 2b45e8
	STFDUX	A1,   X, INCX
kusano 2b45e8
	STFDUX	A1,   X, INCX
kusano 2b45e8
	STFDUX	A1,   X, INCX
kusano 2b45e8
	STFDUX	A1,   X, INCX
kusano 2b45e8
	STFDUX	A1,   X, INCX
kusano 2b45e8
	STFDUX	A1,   X, INCX
kusano 2b45e8
	bdnz	LL(112)
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(115):
kusano 2b45e8
	andi.	r0,  N, 7
kusano 2b45e8
	beq	LL(999)
kusano 2b45e8
	andi.	r0,  N, 4
kusano 2b45e8
	beq	LL(117)
kusano 2b45e8
kusano 2b45e8
	STFDUX	A1,   X, INCX
kusano 2b45e8
	STFDUX	A1,   X, INCX
kusano 2b45e8
	STFDUX	A1,   X, INCX
kusano 2b45e8
	STFDUX	A1,   X, INCX
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(117):
kusano 2b45e8
	andi.	r0,  N, 2
kusano 2b45e8
	beq	LL(118)
kusano 2b45e8
kusano 2b45e8
	STFDUX	A1,   X, INCX
kusano 2b45e8
	STFDUX	A1,   X, INCX
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(118):
kusano 2b45e8
	andi.	r0,  N, 1
kusano 2b45e8
	beq	LL(999)
kusano 2b45e8
	STFDUX	A1,   X, INCX
kusano 2b45e8
	b	LL(999)
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(200):
kusano 2b45e8
	sub	X2, X, INCX
kusano 2b45e8
	sub	X,  X, INCX
kusano 2b45e8
kusano 2b45e8
	srawi.	r0, N, 3
kusano 2b45e8
	mtspr	CTR,  r0
kusano 2b45e8
	beq-	LL(215)
kusano 2b45e8
kusano 2b45e8
	LFDUX	A1,   X, INCX
kusano 2b45e8
	LFDUX	A2,   X, INCX
kusano 2b45e8
	LFDUX	A3,   X, INCX
kusano 2b45e8
	LFDUX	A4,   X, INCX
kusano 2b45e8
	LFDUX	A5,   X, INCX
kusano 2b45e8
	LFDUX	A6,   X, INCX
kusano 2b45e8
	LFDUX	A7,   X, INCX
kusano 2b45e8
	LFDUX	A8,   X, INCX
kusano 2b45e8
	bdz	LL(213)
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(212):
kusano 2b45e8
	fmul	B1, ALPHA, A1
kusano 2b45e8
	LFDUX	A1,   X, INCX
kusano 2b45e8
	fmul	B2, ALPHA, A2
kusano 2b45e8
	LFDUX	A2,   X, INCX
kusano 2b45e8
kusano 2b45e8
	fmul	B3, ALPHA, A3
kusano 2b45e8
	LFDUX	A3,   X, INCX
kusano 2b45e8
	fmul	B4, ALPHA, A4
kusano 2b45e8
	LFDUX	A4,   X, INCX
kusano 2b45e8
kusano 2b45e8
	fmul	B5, ALPHA, A5
kusano 2b45e8
	LFDUX	A5,   X, INCX
kusano 2b45e8
	fmul	B6, ALPHA, A6
kusano 2b45e8
	LFDUX	A6,   X, INCX
kusano 2b45e8
kusano 2b45e8
	fmul	B7, ALPHA, A7
kusano 2b45e8
	LFDUX	A7,   X, INCX
kusano 2b45e8
	fmul	B8, ALPHA, A8
kusano 2b45e8
	LFDUX	A8,   X, INCX
kusano 2b45e8
kusano 2b45e8
	STFDUX	B1,   X2, INCX
kusano 2b45e8
	STFDUX	B2,   X2, INCX
kusano 2b45e8
	STFDUX	B3,   X2, INCX
kusano 2b45e8
	STFDUX	B4,   X2, INCX
kusano 2b45e8
	STFDUX	B5,   X2, INCX
kusano 2b45e8
	STFDUX	B6,   X2, INCX
kusano 2b45e8
	STFDUX	B7,   X2, INCX
kusano 2b45e8
	STFDUX	B8,   X2, INCX
kusano 2b45e8
	bdnz	LL(212)
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(213):
kusano 2b45e8
	fmul	B1, ALPHA, A1
kusano 2b45e8
	fmul	B2, ALPHA, A2
kusano 2b45e8
	fmul	B3, ALPHA, A3
kusano 2b45e8
	fmul	B4, ALPHA, A4
kusano 2b45e8
	fmul	B5, ALPHA, A5
kusano 2b45e8
kusano 2b45e8
	fmul	B6, ALPHA, A6
kusano 2b45e8
	STFDUX	B1,   X2, INCX
kusano 2b45e8
	fmul	B7, ALPHA, A7
kusano 2b45e8
	STFDUX	B2,   X2, INCX
kusano 2b45e8
	fmul	B8, ALPHA, A8
kusano 2b45e8
	STFDUX	B3,   X2, INCX
kusano 2b45e8
	STFDUX	B4,   X2, INCX
kusano 2b45e8
	STFDUX	B5,   X2, INCX
kusano 2b45e8
	STFDUX	B6,   X2, INCX
kusano 2b45e8
	STFDUX	B7,   X2, INCX
kusano 2b45e8
	STFDUX	B8,   X2, INCX
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(215):
kusano 2b45e8
	andi.	r0,  N, 7
kusano 2b45e8
	beq	LL(999)
kusano 2b45e8
	andi.	r0,  N, 4
kusano 2b45e8
	beq	LL(217)
kusano 2b45e8
kusano 2b45e8
	LFDUX	A1,   X, INCX
kusano 2b45e8
	LFDUX	A2,   X, INCX
kusano 2b45e8
	LFDUX	A3,   X, INCX
kusano 2b45e8
	LFDUX	A4,   X, INCX
kusano 2b45e8
kusano 2b45e8
	fmul	B1, ALPHA, A1
kusano 2b45e8
	fmul	B2, ALPHA, A2
kusano 2b45e8
	fmul	B3, ALPHA, A3
kusano 2b45e8
	fmul	B4, ALPHA, A4
kusano 2b45e8
kusano 2b45e8
	STFDUX	B1,   X2, INCX
kusano 2b45e8
	STFDUX	B2,   X2, INCX
kusano 2b45e8
	STFDUX	B3,   X2, INCX
kusano 2b45e8
	STFDUX	B4,   X2, INCX
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(217):
kusano 2b45e8
	andi.	r0,  N, 2
kusano 2b45e8
	beq	LL(218)
kusano 2b45e8
kusano 2b45e8
	LFDUX	A1,   X, INCX
kusano 2b45e8
	LFDUX	A2,   X, INCX
kusano 2b45e8
kusano 2b45e8
	fmul	B1, ALPHA, A1
kusano 2b45e8
	fmul	B2, ALPHA, A2
kusano 2b45e8
kusano 2b45e8
	STFDUX	B1,   X2, INCX
kusano 2b45e8
	STFDUX	B2,   X2, INCX
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(218):
kusano 2b45e8
	andi.	r0,  N, 1
kusano 2b45e8
	beq	LL(999)
kusano 2b45e8
kusano 2b45e8
	LFDUX	A1,   X, INCX
kusano 2b45e8
	fmul	B1, ALPHA, A1
kusano 2b45e8
	STFDUX	B1,   X2, INCX
kusano 2b45e8
	.align 4
kusano 2b45e8
kusano 2b45e8
LL(999):
kusano 2b45e8
	li	r10, 16
kusano 2b45e8
kusano 2b45e8
	lfpdux	f16, SP, r10
kusano 2b45e8
	lfpdux	f15, SP, r10
kusano 2b45e8
	lfpdux	f14, SP, r10
kusano 2b45e8
kusano 2b45e8
	addi	SP, SP,  16
kusano 2b45e8
	blr
kusano 2b45e8
kusano 2b45e8
	EPILOGUE