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


/* using vectorization-grade: VECTGRADE_NULL */
/* fnset2/cheap-mode: VECTGRADE_FULL succeeded. (124 steps) */
/* using vectorization-grade: VECTGRADE_NULL */
.section .rodata
	.balign 64
	chs_lo: .double -1.0, +1.0
	PK974927912PK974927912: .double +0.9749279121818236070181317, +0.9749279121818236070181317
	PK781831482PK781831482: .double +0.7818314824680298087084445, +0.7818314824680298087084445
	PK433883739PK433883739: .double +0.4338837391175581204757683, +0.4338837391175581204757683
	chs_hi: .double +1.0, -1.0
	NK974927912PK974927912: .double -0.9749279121818236070181317, +0.9749279121818236070181317
	NK781831482PK781831482: .double -0.7818314824680298087084445, +0.7818314824680298087084445
	PK900968867PK900968867: .double +0.9009688679024191262361023, +0.9009688679024191262361023
	PK623489801PK623489801: .double +0.6234898018587335305250049, +0.6234898018587335305250049
	PK222520933PK222520933: .double +0.2225209339563144042889026, +0.2225209339563144042889026

	PK1_949855824: .double +1.9498558243636472140362634
	PK867767478: .double +0.8677674782351162409515367
	PK1_563662964: .double +1.5636629649360596174168891
	PK1_246979603: .double +1.2469796037174670610500098
	PK1_801937735: .double +1.8019377358048382524722046
	PK445041867: .double +0.4450418679126288085778051
	PK2_000000000: .double +2.0000000000000000000000000
	NK1_563662964: .double -1.5636629649360596174168891

.text
	.balign 64
	.globl	fftw_hc2hc_backward_7
	.type	fftw_hc2hc_backward_7, @function
fftw_hc2hc_backward_7:
	/* promise simd cell size = 8 */ 
	subl $16, %esp
	movl 28(%esp), %ecx
	movl 20(%esp), %eax
	movl %ebx, 12(%esp)
	movl %esi, 8(%esp)
	movl %edi, 4(%esp)
	movl %ebp, 0(%esp)
	sall $3, 36(%esp)
	movl 24(%esp), %ebp
	leal (,%ecx,8), %edx
	movlpd (%eax,%edx,4), %xmm0
	leal (%edx,%edx,4), %ebx
	leal (%edx,%edx,2), %esi
	leal (%edx,%edx,4), %ecx
	leal (%edx,%edx,2), %edi
	movlpd (%eax,%ebx), %xmm3
	movl %eax, %ebx
	movapd %xmm0, %xmm1
	movapd %xmm0, %xmm2
	movapd %xmm0, %xmm6
	movlpd (%eax,%esi,2), %xmm0
	mulsd PK1_949855824, %xmm1
	mulsd PK867767478, %xmm2
	movapd %xmm3, %xmm4
	movapd %xmm3, %xmm5
	mulsd PK1_949855824, %xmm3
	mulsd PK1_563662964, %xmm6
	mulsd PK1_563662964, %xmm4
	movapd %xmm0, %xmm7
	mulsd PK867767478, %xmm5
	mulsd PK867767478, %xmm7
	subsd %xmm7, %xmm4
	movapd %xmm0, %xmm7
	subsd %xmm1, %xmm4
	movapd %xmm0, %xmm1
	mulsd PK1_949855824, %xmm7
	movlpd (%eax,%edx,2), %xmm0
	mulsd PK1_563662964, %xmm1
	movsd %xmm4, fftw_stackcell_1
	subsd %xmm7, %xmm5
	addsd %xmm1, %xmm3
	addsd %xmm5, %xmm6
	movapd %xmm0, %xmm4
	movapd %xmm0, %xmm7
	addsd %xmm3, %xmm2
	movlpd (%eax,%esi), %xmm3
	movapd %xmm0, %xmm1
	movl %eax, %esi
	movsd %xmm6, fftw_stackcell_2
	mulsd PK1_246979603, %xmm4
	movsd %xmm2, fftw_stackcell_0
	movlpd (%eax,%edx), %xmm2
	mulsd PK1_801937735, %xmm7
	mulsd PK445041867, %xmm1
	movapd %xmm3, %xmm5
	movapd %xmm2, %xmm6
	mulsd PK1_246979603, %xmm5
	addsd %xmm3, %xmm6
	addsd %xmm6, %xmm0
	movapd %xmm3, %xmm6
	mulsd PK1_801937735, %xmm3
	mulsd PK2_000000000, %xmm0
	mulsd PK445041867, %xmm6
	movsd %xmm0, fftw_stackcell_3
	movapd %xmm2, %xmm0
	mulsd PK445041867, %xmm0
	subsd %xmm0, %xmm5
	movapd %xmm2, %xmm0
	mulsd PK1_246979603, %xmm2
	mulsd PK1_801937735, %xmm0
	addsd %xmm6, %xmm0
	movapd %xmm2, %xmm6
	movlpd (%eax), %xmm2
	/* simd data load/store barrier */ 
	subsd %xmm3, %xmm6
	movapd %xmm2, %xmm3
	addsd %xmm4, %xmm3
	movapd %xmm2, %xmm4
	subsd %xmm7, %xmm4
	movapd %xmm2, %xmm7
	subsd %xmm0, %xmm3
	movapd fftw_stackcell_2, %xmm0
	addsd %xmm4, %xmm5
	addsd fftw_stackcell_3, %xmm2
	subsd %xmm1, %xmm7
	movapd %xmm5, %xmm4
	movapd fftw_stackcell_1, %xmm1
	addsd %xmm0, %xmm5
	addsd %xmm7, %xmm6
	movapd %xmm3, %xmm7
	movlpd %xmm5, (%eax,%edx,2)
	movapd fftw_stackcell_0, %xmm5
	subsd %xmm0, %xmm4
	movapd %xmm3, %xmm0
	movlpd %xmm2, (%eax)
	subsd %xmm1, %xmm7
	movapd %xmm6, %xmm2
	movlpd %xmm4, (%eax,%ecx)
	addsd %xmm1, %xmm0
	movlpd %xmm7, (%eax,%edx,4)
	subsd %xmm5, %xmm2
	addsd %xmm5, %xmm6
	movlpd %xmm0, (%eax,%edi)
	movlpd %xmm2, (%eax,%edx)
	movlpd %xmm6, (%eax,%edi,2)
	jmp .LC2
	.p2align 4,,7
.LC1:
	/* promise simd cell size = 16 */ 
	leal (%edx,%edx,4), %ecx
	leal (%edx,%edx,2), %edi
	movhpd (%ebx,%ecx), %xmm3
	movlpd (%esi,%edx,2), %xmm3
	leal (%ecx,%edx,2), %eax
	movhpd (%esi,%ecx), %xmm7
	movlpd (%ebx,%edx,2), %xmm7
	leal (%edx,%edx,2), %ecx
	movapd %xmm3, %xmm1
	movhpd (%ebx,%edx,4), %xmm3
	movlpd (%esi,%edi), %xmm3
	movapd %xmm7, %xmm4
	mulsd chs_lo, %xmm1
	subpd %xmm1, %xmm4
	addpd %xmm1, %xmm7
	movhpd (%esi,%edx,4), %xmm1
	movlpd (%ebx,%edi), %xmm1
	mulsd chs_lo, %xmm3
	movapd %xmm7, %xmm5
	movapd %xmm7, %xmm0
	mulpd PK974927912PK974927912, %xmm7
	mulpd PK781831482PK781831482, %xmm5
	mulpd PK433883739PK433883739, %xmm0
	movapd %xmm1, %xmm2
	movapd %xmm1, %xmm6
	movhpd (%ebx,%edi,2), %xmm1
	movlpd (%esi,%edx), %xmm1
	addpd %xmm3, %xmm2
	subpd %xmm3, %xmm6
	movapd %xmm6, fftw_stackcell_4
	movapd %xmm1, %xmm3
	movhpd (%esi,%edi,2), %xmm1
	movlpd (%ebx,%edx), %xmm1
	mulsd chs_lo, %xmm3
	movapd %xmm1, %xmm6
	addpd %xmm3, %xmm1
	subpd %xmm3, %xmm6
	movapd %xmm1, %xmm3
	mulpd PK433883739PK433883739, %xmm3
	subpd %xmm5, %xmm3
	movapd %xmm1, %xmm5
	mulpd PK781831482PK781831482, %xmm1
	mulpd PK974927912PK974927912, %xmm5
	addpd %xmm1, %xmm7
	movapd %xmm2, %xmm1
	mulpd chs_hi, %xmm3
	subpd %xmm0, %xmm5
	mulpd NK974927912PK974927912, %xmm1
	movapd %xmm2, %xmm0
	mulpd PK433883739PK433883739, %xmm2
	mulpd NK781831482PK781831482, %xmm0
	mulpd chs_hi, %xmm5
	subpd %xmm1, %xmm3
	movapd %xmm4, %xmm1
	addpd %xmm2, %xmm7
	movapd %xmm3, fftw_stackcell_5
	shufpd $9, %xmm1, %xmm1
	addpd %xmm0, %xmm5
	movapd %xmm7, %xmm3
	movapd fftw_stackcell_4, %xmm0
	movhpd (%esi,%eax), %xmm7
	movlpd (%ebx), %xmm7
	/* simd data load/store barrier */ 
	leal (%edx,%edx,4), %eax
	movapd %xmm5, fftw_stackcell_7
	mulsd chs_lo, %xmm3
	movapd %xmm1, %xmm2
	movapd %xmm0, %xmm5
	addpd %xmm6, %xmm0
	mulpd PK900968867PK900968867, %xmm2
	shufpd $9, %xmm6, %xmm6
	movapd %xmm3, fftw_stackcell_6
	movapd %xmm1, %xmm3
	mulpd PK623489801PK623489801, %xmm1
	shufpd $9, %xmm5, %xmm5
	leal (%eax,%edx,2), %edi
	addpd %xmm7, %xmm4
	shufpd $9, %xmm7, %xmm7
	mulpd PK222520933PK222520933, %xmm3
	addpd %xmm4, %xmm0
	movapd %xmm5, fftw_stackcell_8
	mulpd PK623489801PK623489801, %xmm5
	movapd %xmm7, %xmm4
	addpd %xmm7, %xmm1
	subpd %xmm3, %xmm7
	movlpd %xmm0, (%ebx)
	movhpd %xmm0, (%esi,%edx)
	subpd %xmm2, %xmm4
	movapd %xmm6, %xmm2
	movapd %xmm6, %xmm0
	mulpd PK900968867PK900968867, %xmm6
	movapd fftw_stackcell_8, %xmm3
	mulpd PK222520933PK222520933, %xmm2
	mulpd PK623489801PK623489801, %xmm0
	subpd %xmm2, %xmm5
	movapd %xmm3, %xmm2
	mulpd PK222520933PK222520933, %xmm3
	addpd %xmm4, %xmm5
	movapd fftw_stackcell_7, %xmm4
	mulpd PK900968867PK900968867, %xmm2
	addpd %xmm6, %xmm3
	movapd %xmm5, %xmm6
	subpd %xmm3, %xmm1
	movapd 64(%ebp), %xmm3
	subpd %xmm4, %xmm6
	subpd %xmm2, %xmm0
	movapd %xmm6, %xmm2
	addpd %xmm4, %xmm5
	addpd %xmm7, %xmm0
	shufpd $9, %xmm2, %xmm2
	movapd %xmm5, %xmm4
	movapd %xmm3, %xmm7
	shufpd $9, %xmm4, %xmm4
	mulpd %xmm2, %xmm3
	movapd 16(%ebp), %xmm2
	mulpd %xmm6, %xmm7
	movapd %xmm7, %xmm6
	unpcklpd %xmm3, %xmm7
	unpckhpd %xmm3, %xmm6
	movapd %xmm2, %xmm3
	mulpd %xmm4, %xmm2
	mulpd %xmm5, %xmm3
	movapd fftw_stackcell_6, %xmm5
	mulsd chs_lo, %xmm6
	movapd %xmm3, %xmm4
	unpcklpd %xmm2, %xmm3
	addpd %xmm7, %xmm6
	movapd %xmm0, %xmm7
	unpckhpd %xmm2, %xmm4
	movapd 80(%ebp), %xmm2
	subpd %xmm5, %xmm0
	addpd %xmm5, %xmm7
	movlpd %xmm6, (%esi,%ecx,2)
	movhpd %xmm6, (%ebx,%eax)
	movapd %xmm7, %xmm6
	mulsd chs_lo, %xmm4
	shufpd $9, %xmm6, %xmm6
	movapd %xmm2, %xmm5
	addpd %xmm3, %xmm4
	movapd %xmm0, %xmm3
	mulpd %xmm7, %xmm5
	movlpd %xmm4, (%esi,%ecx)
	movapd (%ebp), %xmm7
	shufpd $9, %xmm3, %xmm3
	movhpd %xmm4, (%ebx,%edx,2)
	mulpd %xmm6, %xmm2
	movapd %xmm5, %xmm6
	unpcklpd %xmm2, %xmm5
	unpckhpd %xmm2, %xmm6
	movapd %xmm7, %xmm4
	mulpd %xmm3, %xmm7
	movapd fftw_stackcell_5, %xmm3
	mulpd %xmm0, %xmm4
	movapd %xmm1, %xmm0
	mulsd chs_lo, %xmm6
	addpd %xmm3, %xmm0
	movapd %xmm4, %xmm2
	unpcklpd %xmm7, %xmm4
	subpd %xmm3, %xmm1
	addpd %xmm5, %xmm6
	movapd %xmm0, %xmm5
	unpckhpd %xmm7, %xmm2
	movapd %xmm1, %xmm7
	movlpd %xmm6, (%esi,%edi)
	movhpd %xmm6, (%ebx,%ecx,2)
	shufpd $9, %xmm5, %xmm5
	movapd 32(%ebp), %xmm6
	shufpd $9, %xmm7, %xmm7
	mulsd chs_lo, %xmm2
	addpd %xmm4, %xmm2
	movlpd %xmm2, (%esi,%edx,2)
	movhpd %xmm2, (%ebx,%edx)
	movapd 48(%ebp), %xmm2
	movapd %xmm6, %xmm3
	mulpd %xmm5, %xmm6
	addl $96, %ebp
	mulpd %xmm0, %xmm3
	movapd %xmm3, %xmm4
	unpcklpd %xmm6, %xmm3
	movapd %xmm2, %xmm5
	movapd %xmm2, %xmm0
	unpckhpd %xmm6, %xmm4
	mulpd %xmm1, %xmm5
	mulpd %xmm7, %xmm0
	mulsd chs_lo, %xmm4
	movapd %xmm5, %xmm6
	unpcklpd %xmm0, %xmm5
	unpckhpd %xmm0, %xmm6
	addpd %xmm3, %xmm4
	movlpd %xmm4, (%esi,%edx,4)
	movhpd %xmm4, (%ebx,%ecx)
	movapd %xmm6, %xmm1
	mulsd chs_lo, %xmm1
	addpd %xmm5, %xmm1
	movlpd %xmm1, (%esi,%eax)
	movhpd %xmm1, (%ebx,%edx,4)
	addl 36(%esp), %ebx
	subl 36(%esp), %esi
	subl $2, 32(%esp)
	jg .LC1
	je .LC3
	jmp .LC4
	.p2align 4,,7
.LC2:
	addl 36(%esp), %ebx
	subl 36(%esp), %esi
	subl $2, 32(%esp)
	jg .LC1
	je .LC3
	jmp .LC4
	.p2align 4,,7
.LC3:
	/* promise simd cell size = 8 */ 
	leal (%edx,%edx,2), %ecx
	leal (%edx,%edx,4), %eax
	movlpd (%esi,%ecx,2), %xmm2
	leal (%eax,%edx,2), %edi
	movlpd (%esi,%eax), %xmm6
	leal (%edx,%edx,4), %eax
	movapd %xmm2, %xmm7
	movapd %xmm2, %xmm4
	movapd %xmm2, %xmm5
	movlpd (%esi,%edi), %xmm2
	movapd %xmm6, %xmm0
	mulsd PK1_949855824, %xmm7
	movapd %xmm6, %xmm3
	mulsd NK1_563662964, %xmm0
	mulsd PK1_949855824, %xmm6
	mulsd PK867767478, %xmm4
	mulsd PK867767478, %xmm3
	movapd %xmm2, %xmm1
	mulsd PK1_563662964, %xmm5
	mulsd PK867767478, %xmm1
	subsd %xmm1, %xmm0
	movapd %xmm2, %xmm1
	subsd %xmm7, %xmm0
	movapd %xmm2, %xmm7
	mulsd PK1_949855824, %xmm1
	movlpd (%ebx,%edx), %xmm2
	mulsd PK1_563662964, %xmm7
	movsd %xmm0, fftw_stackcell_10
	addsd %xmm1, %xmm3
	subsd %xmm7, %xmm6
	subsd %xmm3, %xmm5
	movapd %xmm2, %xmm0
	movapd %xmm2, %xmm1
	subsd %xmm4, %xmm6
	movlpd (%ebx), %xmm4
	movapd %xmm2, %xmm7
	movsd %xmm5, fftw_stackcell_11
	mulsd PK445041867, %xmm0
	movsd %xmm6, fftw_stackcell_9
	movlpd (%ebx,%edx,2), %xmm6
	mulsd PK1_246979603, %xmm1
	mulsd PK1_801937735, %xmm7
	movapd %xmm4, %xmm3
	movapd %xmm6, %xmm5
	mulsd PK445041867, %xmm3
	addsd %xmm4, %xmm5
	addsd %xmm5, %xmm2
	movapd %xmm4, %xmm5
	mulsd PK1_246979603, %xmm4
	mulsd PK2_000000000, %xmm2
	mulsd PK1_801937735, %xmm5
	movsd %xmm2, fftw_stackcell_12
	movapd %xmm6, %xmm2
	mulsd PK1_801937735, %xmm2
	addsd %xmm3, %xmm2
	movapd %xmm6, %xmm3
	mulsd PK445041867, %xmm6
	mulsd PK1_246979603, %xmm3
	subsd %xmm5, %xmm3
	movapd %xmm4, %xmm5
	movlpd (%ebx,%ecx), %xmm4
	/* simd data load/store barrier */ 
	leal (%edx,%edx,2), %ecx
	subsd %xmm6, %xmm5
	movapd %xmm4, %xmm6
	subsd %xmm0, %xmm6
	movapd %xmm4, %xmm0
	addsd %xmm1, %xmm0
	movapd %xmm4, %xmm1
	addsd fftw_stackcell_12, %xmm4
	addsd %xmm6, %xmm3
	movapd fftw_stackcell_11, %xmm6
	subsd %xmm0, %xmm2
	subsd %xmm7, %xmm1
	movapd fftw_stackcell_10, %xmm7
	movapd %xmm2, %xmm0
	addsd %xmm1, %xmm5
	movlpd %xmm4, (%ebx)
	movapd fftw_stackcell_9, %xmm4
	addsd %xmm6, %xmm0
	subsd %xmm2, %xmm6
	movapd %xmm7, %xmm1
	movapd %xmm5, %xmm2
	addsd %xmm3, %xmm7
	movlpd %xmm0, (%ebx,%ecx)
	subsd %xmm3, %xmm1
	movlpd %xmm6, (%ebx,%edx,4)
	addsd %xmm4, %xmm2
	movlpd %xmm7, (%ebx,%ecx,2)
	subsd %xmm5, %xmm4
	movlpd %xmm1, (%ebx,%edx)
	movlpd %xmm2, (%ebx,%edx,2)
	movlpd %xmm4, (%ebx,%eax)
	.p2align 4,,7
.LC4:
	movl 12(%esp), %ebx
	movl 8(%esp), %esi
	movl 4(%esp), %edi
	movl 0(%esp), %ebp
	addl $16, %esp
	ret 


.section .rodata
	.balign 4
twiddle_order:
	.long 1
	.long 2
	.long 3
	.long 4
	.long 5
	.long 6

	.globl fftw_hc2hc_backward_7_desc
	.balign 32
fftw_hc2hc_backward_7_desc:
	/* descr_str_ptr */	.long .LC0
	/* codelet_ptr */	.long fftw_hc2hc_backward_7
	/* n */			.long 7
	/* cdir_int */		.long 1
	/* ctype_int */		.long 6
	/* signature */		.long 168
	/* num_twiddles */	.long 6
	/* twiddle_order */	.long twiddle_order
.LC0:	.string "fftw_hc2hc_backward_7"
