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


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

	PK2_000000000: .double +2.0000000000000000000000000
	PK1_414213562: .double +1.4142135623730950488016887
	PK765366864: .double +0.7653668647301795434569200
	PK1_847759065: .double +1.8477590650225735122563664

.text
	.balign 64
	.globl	fftw_hc2real_16
	.type	fftw_hc2real_16, @function
fftw_hc2real_16:
	/* promise simd cell size = 8 */ 
	subl $16, %esp
	movl 32(%esp), %ecx
	movl 20(%esp), %eax
	movl %esi, 8(%esp)
	movl 36(%esp), %esi
	movl %ebx, 12(%esp)
	movl %edi, 4(%esp)
	movl 24(%esp), %ebx
	movl %ebp, 0(%esp)
	leal (,%ecx,8), %edx
	movlpd (%eax), %xmm1
	leal (,%esi,8), %edi
	movlpd (%eax,%edx,8), %xmm0
	movlpd (%eax,%edx,4), %xmm3
	leal (%edx,%edx,2), %ebp
	movlpd (%ebx,%edi,4), %xmm4
	leal (%edi,%edi,2), %ecx
	movapd %xmm1, %xmm2
	leal (%ebp,%edx,4), %esi
	addsd %xmm0, %xmm2
	mulsd PK2_000000000, %xmm3
	subsd %xmm0, %xmm1
	mulsd PK2_000000000, %xmm4
	movapd %xmm2, %xmm5
	movapd %xmm2, %xmm6
	movlpd (%eax,%ebp,2), %xmm2
	leal (%ecx,%edi,4), %ebp
	movapd %xmm1, %xmm7
	addsd %xmm3, %xmm5
	subsd %xmm3, %xmm6
	movlpd (%eax,%edx,2), %xmm3
	addsd %xmm4, %xmm1
	movsd %xmm5, fftw_stackcell_7
	subsd %xmm4, %xmm7
	movsd %xmm6, fftw_stackcell_5
	movsd %xmm1, fftw_stackcell_0
	movsd %xmm7, fftw_stackcell_3
	movlpd (%ebx,%edi), %xmm7
	movapd %xmm3, %xmm0
	subsd %xmm2, %xmm3
	addsd %xmm2, %xmm0
	movlpd (%ebx,%ecx,2), %xmm2
	leal (%edx,%edx,4), %ecx
	movapd %xmm0, %xmm4
	movlpd (%ebx,%edi,2), %xmm0
	mulsd PK2_000000000, %xmm4
	movsd %xmm4, fftw_stackcell_6
	movapd %xmm3, %xmm4
	movapd %xmm0, %xmm1
	addsd %xmm2, %xmm0
	addsd %xmm0, %xmm3
	subsd %xmm2, %xmm1
	movapd %xmm3, %xmm2
	movlpd (%eax,%esi), %xmm3
	subsd %xmm0, %xmm4
	leal (%edx,%edx,2), %esi
	mulsd PK2_000000000, %xmm1
	mulsd PK1_414213562, %xmm2
	mulsd PK1_414213562, %xmm4
	movsd %xmm1, fftw_stackcell_4
	movlpd (%eax,%esi), %xmm6
	movapd %xmm7, %xmm1
	movsd %xmm2, fftw_stackcell_1
	movlpd (%eax,%edx), %xmm2
	movsd %xmm4, fftw_stackcell_2
	movl 28(%esp), %edx
	movapd %xmm6, %xmm4
	movapd %xmm2, %xmm0
	subsd %xmm3, %xmm2
	addsd %xmm3, %xmm0
	movlpd (%ebx,%ebp), %xmm3
	leal (%edi,%edi,4), %ebp
	movsd %xmm2, fftw_stackcell_8
	subsd %xmm3, %xmm1
	addsd %xmm3, %xmm7
	movlpd (%eax,%ecx), %xmm3
	leal (%edi,%edi,2), %ecx
	movl 40(%esp), %eax
	movlpd (%ebx,%ecx), %xmm5
	leal (,%eax,8), %ecx
	addsd %xmm3, %xmm4
	subsd %xmm6, %xmm3
	movlpd (%ebx,%ebp), %xmm6
	/* simd data load/store barrier */ 
	leal (%ecx,%ecx,2), %esi
	leal (%ecx,%ecx,4), %ebp
	leal (%ecx,%ecx,8), %ebx
	movapd %xmm5, %xmm2
	leal (%ebp,%ecx,2), %edi
	subsd %xmm6, %xmm2
	leal (%ebx,%ecx,4), %eax
	addsd %xmm6, %xmm5
	movapd %xmm0, %xmm6
	subsd %xmm4, %xmm0
	addsd %xmm4, %xmm6
	movapd %xmm1, %xmm4
	subsd %xmm2, %xmm4
	mulsd PK2_000000000, %xmm6
	addsd %xmm1, %xmm2
	movapd %xmm0, %xmm1
	mulsd PK2_000000000, %xmm4
	subsd %xmm2, %xmm1
	addsd %xmm2, %xmm0
	movapd %xmm7, %xmm2
	mulsd PK1_414213562, %xmm1
	movsd %xmm4, fftw_stackcell_11
	mulsd PK1_414213562, %xmm0
	subsd %xmm3, %xmm2
	addsd %xmm7, %xmm3
	movsd %xmm1, fftw_stackcell_10
	movsd %xmm0, fftw_stackcell_9
	movapd fftw_stackcell_8, %xmm1
	movapd %xmm2, %xmm4
	mulsd PK765366864, %xmm2
	movapd %xmm3, %xmm7
	mulsd PK1_847759065, %xmm3
	mulsd PK1_847759065, %xmm4
	movapd %xmm1, %xmm0
	subsd %xmm5, %xmm1
	mulsd PK765366864, %xmm7
	addsd %xmm5, %xmm0
	movapd %xmm0, %xmm5
	mulsd PK1_847759065, %xmm0
	mulsd PK765366864, %xmm5
	addsd %xmm2, %xmm0
	movapd %xmm1, %xmm2
	mulsd PK765366864, %xmm1
	subsd %xmm4, %xmm5
	movapd fftw_stackcell_7, %xmm4
	mulsd PK1_847759065, %xmm2
	addsd %xmm3, %xmm1
	movapd fftw_stackcell_6, %xmm3
	subsd %xmm7, %xmm2
	movapd %xmm4, %xmm7
	subsd %xmm3, %xmm4
	addsd %xmm3, %xmm7
	movapd %xmm7, %xmm3
	addsd %xmm6, %xmm7
	subsd %xmm6, %xmm3
	movapd fftw_stackcell_11, %xmm6
	movlpd %xmm7, (%edx)
	movapd %xmm4, %xmm7
	movlpd %xmm3, (%edx,%ecx,8)
	movapd fftw_stackcell_5, %xmm3
	subsd %xmm6, %xmm7
	addsd %xmm6, %xmm4
	movapd fftw_stackcell_4, %xmm6
	movlpd %xmm7, (%edx,%ecx,4)
	movapd %xmm3, %xmm7
	movlpd %xmm4, (%edx,%esi,4)
	movapd fftw_stackcell_10, %xmm4
	subsd %xmm6, %xmm7
	addsd %xmm6, %xmm3
	movapd %xmm7, %xmm6
	addsd %xmm4, %xmm7
	subsd %xmm4, %xmm6
	movapd fftw_stackcell_9, %xmm4
	movlpd %xmm7, (%edx,%ecx,2)
	movapd %xmm3, %xmm7
	movlpd %xmm6, (%edx,%ebp,2)
	movapd fftw_stackcell_3, %xmm6
	subsd %xmm4, %xmm7
	addsd %xmm4, %xmm3
	movapd fftw_stackcell_2, %xmm4
	movlpd %xmm7, (%edx,%esi,2)
	movapd %xmm6, %xmm7
	leal (%ebx,%ecx,2), %esi
	movlpd %xmm3, (%edx,%edi,2)
	addsd %xmm4, %xmm7
	subsd %xmm4, %xmm6
	movapd %xmm7, %xmm3
	addsd %xmm2, %xmm7
	movapd %xmm6, %xmm4
	addsd %xmm1, %xmm6
	subsd %xmm2, %xmm3
	movapd fftw_stackcell_0, %xmm2
	movlpd %xmm7, (%edx,%ecx)
	movapd fftw_stackcell_1, %xmm7
	subsd %xmm1, %xmm4
	movlpd %xmm6, (%edx,%eax)
	movlpd %xmm3, (%edx,%ebx)
	movl 12(%esp), %ebx
	movlpd %xmm4, (%edx,%ebp)
	leal (%ecx,%ecx,2), %ebp
	movapd %xmm2, %xmm1
	subsd %xmm7, %xmm2
	addsd %xmm7, %xmm1
	movapd %xmm2, %xmm3
	addsd %xmm5, %xmm2
	movapd %xmm1, %xmm6
	addsd %xmm0, %xmm1
	subsd %xmm5, %xmm3
	movlpd %xmm2, (%edx,%ebp)
	movl 0(%esp), %ebp
	subsd %xmm0, %xmm6
	movlpd %xmm3, (%edx,%esi)
	movl 8(%esp), %esi
	movlpd %xmm6, (%edx,%edi)
	leal (%eax,%ecx,2), %edi
	movlpd %xmm1, (%edx,%edi)
	movl 4(%esp), %edi
	addl $16, %esp
	ret 


.section .rodata

	.globl fftw_hc2real_16_desc
	.balign 32
fftw_hc2real_16_desc:
	/* descr_str_ptr */	.long .LC0
	/* codelet_ptr */	.long fftw_hc2real_16
	/* n */			.long 16
	/* cdir_int */		.long 1
	/* ctype_int */		.long 5
	/* signature */		.long 367
	/* num_twiddles */	.long 0
	/* twiddle_order */	.long 0
.LC0:	.string "fftw_hc2real_16"
