/*
 * Copyright (c) 1997-1999 Massachusetts Institute of Technology
 * Copyright (c) 2000-2001 Stefan Kral
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */

/* This file was automatically generated --- DO NOT EDIT */
/* Generated on Tue Mar 25 06:37:31 EST 2003 */


/* using vectorization-grade: VECTGRADE_NULL */
.section .rodata
	.balign 64
	

	PK500000000: .double +0.5000000000000000000000000
	PK852868531: .double +0.8528685319524432096282510
	PK866025403: .double +0.8660254037844386467637232
	PK150383733: .double +0.1503837331804352966392719
	PK984807753: .double +0.9848077530122080593667430
	PK173648177: .double +0.1736481776669303488517166
	PK813797681: .double +0.8137976813493736928446932
	PK296198132: .double +0.2961981327260238431753380
	PK663413948: .double +0.6634139481689383962054213
	PK556670399: .double +0.5566703992264193664529130
	PK766044443: .double +0.7660444431189780352023927
	PK642787609: .double +0.6427876096865393263226434
	PK939692620: .double +0.9396926207859083840541093
	PK342020143: .double +0.3420201433256687330440996

.text
	.balign 64
	.globl	fftw_real2hc_9
	.type	fftw_real2hc_9, @function
fftw_real2hc_9:
	/* promise simd cell size = 8 */ 
	subl $16, %esp
	movl 32(%esp), %ecx
	movl 20(%esp), %eax
	movl %ebx, 12(%esp)
	movl %edi, 4(%esp)
	movl %esi, 8(%esp)
	movl %ebp, 0(%esp)
	leal (,%ecx,8), %edx
	movl 28(%esp), %ecx
	leal (%edx,%edx,4), %edi
	leal (%edx,%edx,2), %ebx
	movlpd (%eax,%edx,8), %xmm1
	movlpd (%eax,%edx,4), %xmm4
	movlpd (%eax,%edi), %xmm0
	leal (%edx,%ebx,2), %esi
	movapd %xmm1, %xmm2
	movapd %xmm4, %xmm5
	movlpd (%eax,%esi), %xmm6
	movl 36(%esp), %esi
	subsd %xmm0, %xmm2
	movapd %xmm0, %xmm3
	movlpd (%eax,%ebx), %xmm0
	addsd %xmm1, %xmm3
	movlpd (%eax,%ebx,2), %xmm1
	leal (,%esi,8), %edi
	movl 24(%esp), %ebx
	movl 8(%esp), %esi
	addsd %xmm6, %xmm5
	movapd %xmm3, %xmm7
	subsd %xmm4, %xmm6
	movapd %xmm5, %xmm4
	mulsd PK500000000, %xmm7
	movsd %xmm6, fftw_stackcell_0
	movapd %xmm0, %xmm6
	mulsd PK500000000, %xmm4
	addsd %xmm1, %xmm6
	subsd %xmm0, %xmm1
	movlpd (%eax), %xmm0
	movsd %xmm1, fftw_stackcell_1
	movapd %xmm0, %xmm1
	addsd %xmm6, %xmm1
	mulsd PK500000000, %xmm6
	subsd %xmm6, %xmm0
	movlpd (%eax,%edx), %xmm6
	movsd %xmm0, fftw_stackcell_2
	movapd %xmm6, %xmm0
	addsd %xmm5, %xmm0
	movapd %xmm6, %xmm5
	movlpd (%eax,%edx,2), %xmm6
	movl 40(%esp), %edx
	/* simd data load/store barrier */ 
	subsd %xmm4, %xmm5
	leal (,%edx,8), %eax
	leal (%edi,%edi,2), %edx
	movapd %xmm6, %xmm4
	subsd %xmm7, %xmm6
	movapd %xmm2, %xmm7
	addsd %xmm3, %xmm4
	movapd %xmm0, %xmm3
	leal (%eax,%eax,2), %ebp
	movsd %xmm6, fftw_stackcell_3
	mulsd PK852868531, %xmm7
	addsd %xmm4, %xmm3
	subsd %xmm0, %xmm4
	movapd %xmm2, %xmm0
	mulsd PK866025403, %xmm4
	mulsd PK150383733, %xmm0
	movlpd %xmm4, (%ecx,%ebp)
	movapd %xmm6, %xmm4
	mulsd PK984807753, %xmm6
	movl 0(%esp), %ebp
	mulsd PK173648177, %xmm4
	subsd %xmm6, %xmm0
	movapd %xmm2, %xmm6
	mulsd PK813797681, %xmm2
	movsd %xmm0, fftw_stackcell_6
	movapd fftw_stackcell_0, %xmm0
	addsd %xmm4, %xmm7
	mulsd PK296198132, %xmm6
	movsd %xmm7, fftw_stackcell_7
	movsd %xmm6, fftw_stackcell_4
	movapd fftw_stackcell_1, %xmm4
	movapd %xmm0, %xmm7
	movapd %xmm0, %xmm6
	mulsd PK866025403, %xmm4
	mulsd PK852868531, %xmm7
	mulsd PK150383733, %xmm6
	movsd %xmm7, fftw_stackcell_5
	movapd %xmm4, %xmm7
	addsd %xmm6, %xmm7
	movapd %xmm0, %xmm6
	mulsd PK663413948, %xmm0
	subsd %xmm7, %xmm2
	movapd %xmm5, %xmm7
	mulsd PK556670399, %xmm6
	mulsd PK766044443, %xmm7
	movsd %xmm2, fftw_stackcell_8
	movapd %xmm5, %xmm2
	mulsd PK642787609, %xmm2
	addsd %xmm6, %xmm7
	movapd %xmm1, %xmm6
	addsd %xmm3, %xmm6
	mulsd PK500000000, %xmm3
	subsd %xmm2, %xmm0
	movapd fftw_stackcell_7, %xmm2
	movlpd %xmm6, (%ebx)
	movapd %xmm7, %xmm6
	subsd %xmm3, %xmm1
	movapd fftw_stackcell_2, %xmm3
	movlpd %xmm1, (%ebx,%edx)
	addsd %xmm2, %xmm6
	subsd %xmm7, %xmm2
	movapd fftw_stackcell_6, %xmm7
	movapd %xmm3, %xmm1
	addsd fftw_stackcell_1, %xmm2
	addsd %xmm6, %xmm1
	mulsd PK500000000, %xmm6
	movlpd %xmm1, (%ebx,%edi)
	movapd %xmm0, %xmm1
	addsd %xmm7, %xmm0
	subsd %xmm7, %xmm1
	movapd %xmm3, %xmm7
	mulsd PK866025403, %xmm2
	subsd fftw_stackcell_5, %xmm3
	mulsd PK866025403, %xmm1
	addsd %xmm1, %xmm7
	movapd %xmm0, %xmm1
	addsd %xmm4, %xmm0
	movapd %xmm5, %xmm4
	mulsd PK173648177, %xmm5
	subsd %xmm6, %xmm7
	movapd fftw_stackcell_3, %xmm6
	mulsd PK500000000, %xmm1
	movlpd %xmm0, (%ecx,%eax)
	subsd fftw_stackcell_4, %xmm3
	mulsd PK984807753, %xmm4
	movlpd %xmm7, (%ebx,%edi,4)
	movapd fftw_stackcell_8, %xmm7
	subsd %xmm1, %xmm2
	movapd %xmm6, %xmm0
	mulsd PK939692620, %xmm6
	movlpd %xmm2, (%ecx,%eax,4)
	mulsd PK342020143, %xmm0
	subsd %xmm6, %xmm5
	addsd %xmm0, %xmm4
	addsd %xmm5, %xmm3
	subsd %xmm4, %xmm7
	movlpd %xmm3, (%ebx,%edi,2)
	movl 12(%esp), %ebx
	movl 4(%esp), %edi
	movlpd %xmm7, (%ecx,%eax,2)
	addl $16, %esp
	ret 


.section .rodata

	.globl fftw_real2hc_9_desc
	.balign 32
fftw_real2hc_9_desc:
	/* descr_str_ptr */	.long .LC0
	/* codelet_ptr */	.long fftw_real2hc_9
	/* n */			.long 9
	/* cdir_int */		.long -1
	/* ctype_int */		.long 4
	/* signature */		.long 200
	/* num_twiddles */	.long 0
	/* twiddle_order */	.long 0
.LC0:	.string "fftw_real2hc_9"
