/*
 * 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:41 EST 2003 */


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

	PK866025403: .double +0.8660254037844386467637232
	PK500000000: .double +0.5000000000000000000000000
	PK216506350: .double +0.2165063509461096616909308
	PK484122918: .double +0.4841229182759271106474082
	NK866025403: .double -0.8660254037844386467637232
	PK823639103: .double +0.8236391035463319258774200
	PK509036960: .double +0.5090369604551271834509809
	PK559016994: .double +0.5590169943749474241022934
	PK250000000: .double +0.2500000000000000000000000
	PK587785252: .double +0.5877852522924731291687060
	PK951056516: .double +0.9510565162951535721164393
	NK951056516: .double -0.9510565162951535721164393
	NK587785252: .double -0.5877852522924731291687060

.text
	.balign 64
	.globl	fftw_real2hc_15
	.type	fftw_real2hc_15, @function
fftw_real2hc_15:
	/* promise simd cell size = 8 */ 
	subl $16, %esp
	movl 32(%esp), %ecx
	movl %ebx, 12(%esp)
	movl 20(%esp), %eax
	movl %esi, 8(%esp)
	movl %edi, 4(%esp)
	movl %ebp, 0(%esp)
	leal (,%ecx,8), %edx
	movlpd (%eax), %xmm3
	leal (%edx,%edx,4), %ebx
	leal (%edx,%edx,2), %ebp
	movapd %xmm3, %xmm4
	movlpd (%eax,%ebx,2), %xmm1
	movlpd (%eax,%ebx), %xmm0
	leal (%ebx,%edx,8), %esi
	leal (%ebx,%edx,2), %edi
	leal (%edx,%edx,8), %ebx
	leal (%edi,%edx,4), %ecx
	movapd %xmm1, %xmm2
	subsd %xmm0, %xmm1
	addsd %xmm0, %xmm2
	movlpd (%eax,%edx,8), %xmm0
	movapd %xmm1, %xmm5
	addsd %xmm2, %xmm4
	movapd %xmm2, %xmm6
	movlpd (%eax,%esi), %xmm2
	mulsd PK866025403, %xmm5
	movsd %xmm4, fftw_stackcell_0
	mulsd PK500000000, %xmm6
	subsd %xmm6, %xmm3
	movapd %xmm2, %xmm7
	movapd %xmm2, %xmm4
	movlpd (%eax,%edx,2), %xmm2
	movsd %xmm3, fftw_stackcell_1
	subsd %xmm0, %xmm7
	addsd %xmm0, %xmm4
	movlpd (%eax,%edi), %xmm0
	movapd %xmm7, %xmm3
	movapd %xmm0, %xmm6
	addsd %xmm2, %xmm0
	subsd %xmm2, %xmm6
	addsd %xmm6, %xmm3
	subsd %xmm6, %xmm7
	movlpd (%eax,%ebp,4), %xmm6
	movsd %xmm7, fftw_stackcell_2
	movlpd (%eax,%ebp), %xmm7
	movapd %xmm6, %xmm2
	addsd %xmm0, %xmm2
	mulsd PK500000000, %xmm0
	movsd %xmm2, fftw_stackcell_3
	movapd %xmm7, %xmm2
	subsd %xmm0, %xmm6
	movapd %xmm7, %xmm0
	movlpd (%eax,%ecx), %xmm7
	movl 28(%esp), %ecx
	addsd %xmm4, %xmm2
	mulsd PK500000000, %xmm4
	movsd %xmm6, fftw_stackcell_5
	movlpd (%eax,%edx,4), %xmm6
	movsd %xmm2, fftw_stackcell_4
	subsd %xmm4, %xmm0
	movlpd (%eax,%edx), %xmm4
	movl 40(%esp), %edx
	movsd %xmm0, fftw_stackcell_6
	movapd %xmm6, %xmm0
	movapd %xmm4, %xmm2
	addsd %xmm7, %xmm4
	subsd %xmm7, %xmm2
	movlpd (%eax,%edi,2), %xmm7
	movl 24(%esp), %edi
	subsd %xmm7, %xmm0
	addsd %xmm7, %xmm6
	movapd %xmm2, %xmm7
	subsd %xmm0, %xmm2
	addsd %xmm0, %xmm7
	movlpd (%eax,%ebx), %xmm0
	movsd %xmm2, fftw_stackcell_7
	movapd %xmm0, %xmm2
	addsd %xmm6, %xmm2
	mulsd PK500000000, %xmm6
	movsd %xmm2, fftw_stackcell_9
	movapd %xmm4, %xmm2
	subsd %xmm6, %xmm0
	mulsd PK500000000, %xmm2
	movsd %xmm0, fftw_stackcell_8
	movlpd (%eax,%ebp,2), %xmm0
	leal (,%edx,8), %eax
	/* simd data load/store barrier */ 
	movl 36(%esp), %ebp
	leal (%eax,%eax,4), %esi
	leal (,%ebp,8), %ebx
	movapd %xmm0, %xmm6
	subsd %xmm2, %xmm0
	movapd %xmm3, %xmm2
	addsd %xmm7, %xmm3
	addsd %xmm4, %xmm6
	movapd fftw_stackcell_9, %xmm4
	subsd %xmm7, %xmm2
	leal (%ebx,%ebx,4), %edx
	leal (%ebx,%ebx,2), %ebp
	movapd %xmm6, %xmm7
	addsd %xmm3, %xmm1
	mulsd PK216506350, %xmm3
	mulsd PK484122918, %xmm2
	subsd %xmm4, %xmm7
	mulsd NK866025403, %xmm1
	subsd %xmm3, %xmm5
	movsd %xmm7, fftw_stackcell_10
	movapd fftw_stackcell_6, %xmm3
	movapd fftw_stackcell_5, %xmm7
	addsd %xmm4, %xmm6
	movsd %xmm5, fftw_stackcell_15
	movapd fftw_stackcell_8, %xmm5
	movlpd %xmm1, (%ecx,%esi)
	movapd fftw_stackcell_7, %xmm4
	leal (%edx,%ebx,2), %esi
	movapd %xmm3, %xmm1
	movsd %xmm2, fftw_stackcell_14
	subsd %xmm7, %xmm3
	addsd %xmm7, %xmm1
	movapd %xmm0, %xmm7
	subsd %xmm5, %xmm0
	movsd %xmm3, fftw_stackcell_12
	movapd fftw_stackcell_4, %xmm3
	addsd %xmm5, %xmm7
	movapd %xmm1, %xmm5
	movapd %xmm4, %xmm2
	mulsd PK823639103, %xmm4
	movsd %xmm0, fftw_stackcell_11
	movapd fftw_stackcell_3, %xmm0
	subsd %xmm7, %xmm1
	mulsd PK509036960, %xmm2
	addsd %xmm7, %xmm5
	movapd %xmm3, %xmm7
	mulsd PK559016994, %xmm1
	subsd %xmm0, %xmm7
	addsd %xmm0, %xmm3
	movsd %xmm7, fftw_stackcell_13
	movapd fftw_stackcell_2, %xmm7
	movapd %xmm3, %xmm0
	subsd %xmm6, %xmm3
	addsd %xmm6, %xmm0
	mulsd PK559016994, %xmm3
	movapd %xmm7, %xmm6
	mulsd PK509036960, %xmm7
	mulsd PK823639103, %xmm6
	subsd %xmm4, %xmm7
	movapd fftw_stackcell_1, %xmm4
	addsd %xmm2, %xmm6
	movapd %xmm4, %xmm2
	addsd %xmm5, %xmm2
	mulsd PK250000000, %xmm5
	movlpd %xmm2, (%edi,%edx)
	movapd %xmm1, %xmm2
	leal (%eax,%eax,2), %edx
	subsd %xmm5, %xmm4
	movapd %xmm6, %xmm5
	addsd %xmm4, %xmm2
	subsd %xmm1, %xmm4
	addsd %xmm2, %xmm5
	subsd %xmm6, %xmm2
	movapd %xmm0, %xmm6
	movapd %xmm4, %xmm1
	movlpd %xmm5, (%edi,%ebx)
	movapd fftw_stackcell_0, %xmm5
	addsd %xmm7, %xmm4
	mulsd PK250000000, %xmm6
	movlpd %xmm2, (%edi,%ebx,4)
	subsd %xmm7, %xmm1
	movlpd %xmm4, (%edi,%esi)
	movapd fftw_stackcell_12, %xmm4
	leal (%eax,%edx,2), %esi
	movlpd %xmm1, (%edi,%ebx,2)
	movl 12(%esp), %ebx
	movapd %xmm5, %xmm2
	subsd %xmm6, %xmm5
	movapd fftw_stackcell_14, %xmm6
	movapd %xmm5, %xmm7
	subsd %xmm3, %xmm5
	movapd %xmm4, %xmm1
	mulsd PK587785252, %xmm4
	addsd %xmm0, %xmm2
	movapd fftw_stackcell_15, %xmm0
	addsd %xmm3, %xmm7
	movapd fftw_stackcell_11, %xmm3
	movlpd %xmm5, (%edi,%ebp)
	mulsd PK951056516, %xmm1
	movlpd %xmm2, (%edi)
	movapd %xmm6, %xmm2
	movlpd %xmm7, (%edi,%ebp,2)
	movl 4(%esp), %edi
	subsd %xmm0, %xmm2
	movl 0(%esp), %ebp
	movapd %xmm3, %xmm5
	mulsd PK587785252, %xmm3
	addsd %xmm6, %xmm0
	movapd fftw_stackcell_13, %xmm6
	mulsd PK951056516, %xmm5
	movapd %xmm0, %xmm7
	addsd %xmm3, %xmm1
	movapd %xmm6, %xmm3
	mulsd NK951056516, %xmm6
	subsd %xmm4, %xmm5
	movapd fftw_stackcell_10, %xmm4
	addsd %xmm1, %xmm7
	mulsd PK587785252, %xmm3
	subsd %xmm1, %xmm0
	movapd %xmm2, %xmm1
	movlpd %xmm7, (%ecx,%eax,4)
	movapd %xmm4, %xmm7
	mulsd NK587785252, %xmm4
	addsd %xmm5, %xmm1
	movlpd %xmm0, (%ecx,%eax)
	subsd %xmm2, %xmm5
	mulsd PK951056516, %xmm7
	movlpd %xmm1, (%ecx,%eax,2)
	addsd %xmm4, %xmm6
	movlpd %xmm5, (%ecx,%esi)
	movl 8(%esp), %esi
	addl $16, %esp
	subsd %xmm7, %xmm3
	movlpd %xmm6, (%ecx,%edx,2)
	movlpd %xmm3, (%ecx,%edx)
	ret 


.section .rodata

	.globl fftw_real2hc_15_desc
	.balign 32
fftw_real2hc_15_desc:
	/* descr_str_ptr */	.long .LC0
	/* codelet_ptr */	.long fftw_real2hc_15
	/* n */			.long 15
	/* cdir_int */		.long -1
	/* ctype_int */		.long 4
	/* signature */		.long 332
	/* num_twiddles */	.long 0
	/* twiddle_order */	.long 0
.LC0:	.string "fftw_real2hc_15"
