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


/* fnset1/cheap-mode: VECTGRADE_FULLH2 succeeded. (55 steps) */
/* fnset2/cheap-mode: VECTGRADE_FULL succeeded. (164 steps) */
/* fnset1/cheap-mode: VECTGRADE_FULLH2 succeeded. (57 steps) */
.section .rodata
	.balign 64
	chs_lo: .double -1.0, +1.0
	PK1_175570504PK1_175570504: .double +1.1755705045849462583374119, +1.1755705045849462583374119
	PK1_902113032PK1_902113032: .double +1.9021130325903071442328787, +1.9021130325903071442328787
	PK2_000000000PK2_000000000: .double +2.0000000000000000000000000, +2.0000000000000000000000000
	PK1_118033988PK1_118033988: .double +1.1180339887498948482045868, +1.1180339887498948482045868
	PK500000000PK500000000: .double +0.5000000000000000000000000, +0.5000000000000000000000000
	PK559016994PK559016994: .double +0.5590169943749474241022934, +0.5590169943749474241022934
	PK250000000PK250000000: .double +0.2500000000000000000000000, +0.2500000000000000000000000
	PK951056516PK951056516: .double +0.9510565162951535721164393, +0.9510565162951535721164393
	PK587785252PK587785252: .double +0.5877852522924731291687060, +0.5877852522924731291687060
	chs_hi: .double +1.0, -1.0
	PK1_902113032NK1_175570504: .double +1.9021130325903071442328787, -1.1755705045849462583374119
	PK1_175570504PK1_902113032: .double +1.1755705045849462583374119, +1.9021130325903071442328787
	NK1_175570504PK1_902113032: .double -1.1755705045849462583374119, +1.9021130325903071442328787
	PK1_902113032PK1_175570504: .double +1.9021130325903071442328787, +1.1755705045849462583374119
	PK500000000NK500000000: .double +0.5000000000000000000000000, -0.5000000000000000000000000
	PK1_118033988NK1_118033988: .double +1.1180339887498948482045868, -1.1180339887498948482045868

	

.text
	.balign 64
	.globl	fftw_hc2hc_backward_10
	.type	fftw_hc2hc_backward_10, @function
fftw_hc2hc_backward_10:
	/* promise simd cell size = 16 */ 
	subl $16, %esp
	movl 28(%esp), %ecx
	movl %ebx, 12(%esp)
	movl %esi, 8(%esp)
	movl 20(%esp), %eax
	movl %ebp, 0(%esp)
	movl %edi, 4(%esp)
	sall $3, 36(%esp)
	leal (,%ecx,8), %edx
	leal (%edx,%edx,2), %ebx
	leal (%edx,%edx,4), %ebp
	leal (%edx,%edx,8), %edi
	leal (%edx,%edx,4), %ecx
	leal (%edx,%ebx,2), %esi
	movhpd (%eax,%edi), %xmm0
	movlpd (%eax,%ebx,2), %xmm0
	leal (%edx,%edx,8), %edi
	movhpd (%eax,%esi), %xmm2
	movlpd (%eax,%edx,8), %xmm2
	leal (%edx,%edx,2), %esi
	movapd %xmm0, %xmm1
	movapd %xmm0, %xmm4
	movhpd (%eax,%ebx), %xmm0
	movlpd (%eax,%edx,2), %xmm0
	leal (%ecx,%edx,2), %ebx
	shufpd $9, %xmm1, %xmm1
	movapd %xmm2, %xmm3
	shufpd $9, %xmm3, %xmm3
	mulsd chs_lo, %xmm1
	movapd %xmm0, %xmm5
	movapd %xmm3, %xmm6
	movhpd (%eax,%ebp), %xmm3
	movlpd (%eax), %xmm3
	addpd %xmm1, %xmm4
	shufpd $9, %xmm5, %xmm5
	movl 24(%esp), %ebp
	mulsd chs_lo, %xmm6
	mulsd chs_lo, %xmm5
	addpd %xmm6, %xmm2
	movapd %xmm3, %xmm7
	addpd %xmm5, %xmm0
	shufpd $9, %xmm7, %xmm7
	movapd %xmm0, %xmm6
	mulsd chs_lo, %xmm7
	addpd %xmm7, %xmm3
	movhpd (%eax,%edx), %xmm7
	movlpd (%eax,%edx,4), %xmm7
	/* simd data load/store barrier */ 
	movapd %xmm3, %xmm5
	shufpd $9, %xmm5, %xmm5
	movapd %xmm7, %xmm1
	shufpd $9, %xmm1, %xmm1
	mulsd chs_lo, %xmm1
	addpd %xmm1, %xmm7
	movapd %xmm2, %xmm1
	mulpd PK1_175570504PK1_175570504, %xmm2
	addpd %xmm7, %xmm6
	mulpd PK1_902113032PK1_902113032, %xmm1
	subpd %xmm7, %xmm0
	movapd %xmm6, %xmm7
	mulpd PK2_000000000PK2_000000000, %xmm6
	shufpd $9, %xmm0, %xmm0
	shufpd $9, %xmm7, %xmm7
	addpd %xmm6, %xmm3
	movapd %xmm4, %xmm6
	mulpd PK1_175570504PK1_175570504, %xmm4
	mulpd PK1_118033988PK1_118033988, %xmm0
	mulpd PK500000000PK500000000, %xmm7
	movlpd %xmm3, (%eax,%ecx)
	movhpd %xmm3, (%eax)
	movl %eax, %ecx
	mulpd PK1_902113032PK1_902113032, %xmm6
	addpd %xmm4, %xmm1
	subpd %xmm7, %xmm5
	subpd %xmm6, %xmm2
	movapd %xmm5, %xmm3
	subpd %xmm0, %xmm5
	addpd %xmm0, %xmm3
	movapd %xmm5, %xmm4
	movapd %xmm5, %xmm7
	movapd %xmm3, %xmm6
	subpd %xmm2, %xmm4
	addpd %xmm2, %xmm7
	addpd %xmm1, %xmm3
	movlpd %xmm4, (%eax,%edx,2)
	movhpd %xmm4, (%eax,%ebx)
	subpd %xmm1, %xmm6
	movlpd %xmm7, (%eax,%edx,8)
	movhpd %xmm7, (%eax,%esi)
	movlpd %xmm3, (%eax,%edx,4)
	movhpd %xmm3, (%eax,%edi)
	movlpd %xmm6, (%eax,%esi,2)
	movhpd %xmm6, (%eax,%edx)
	movl %eax, %eax
	jmp .LC2
	.p2align 4,,7
.LC1:
	/* promise simd cell size = 16 */ 
	leal (%edx,%edx,2), %esi
	leal (%edx,%edx,8), %edi
	leal (%edx,%edx,4), %ebx
	movhpd (%ecx,%esi,2), %xmm1
	movlpd (%ecx,%edx), %xmm1
	movhpd (%eax,%edi), %xmm3
	movlpd (%eax,%edx,4), %xmm3
	movhpd (%ecx,%ebx), %xmm5
	movlpd (%eax,%ebx), %xmm5
	movhpd (%eax,%ebx,2), %xmm4
	movlpd (%ecx), %xmm4
	leal (%esi,%edx,4), %ebx
	movapd %xmm1, %xmm2
	movhpd (%ecx,%edi), %xmm1
	movlpd (%eax,%edx), %xmm1
	leal (%edx,%edx,2), %edi
	movapd %xmm3, %xmm0
	mulsd chs_lo, %xmm2
	mulsd chs_lo, %xmm5
	movapd %xmm4, %xmm7
	addpd %xmm2, %xmm0
	subpd %xmm2, %xmm3
	movhpd (%eax,%esi,2), %xmm2
	movlpd (%ecx,%edx,4), %xmm2
	mulsd chs_lo, %xmm1
	subpd %xmm5, %xmm7
	mulsd chs_lo, %xmm0
	addpd %xmm5, %xmm4
	movapd %xmm7, fftw_stackcell_2
	movapd %xmm2, %xmm6
	addpd %xmm1, %xmm2
	subpd %xmm1, %xmm6
	movapd %xmm2, %xmm7
	movapd %xmm2, %xmm1
	movhpd (%ecx,%edx,8), %xmm2
	movlpd (%ecx,%esi), %xmm2
	movapd %xmm6, %xmm5
	addpd %xmm3, %xmm6
	subpd %xmm0, %xmm7
	subpd %xmm3, %xmm5
	addpd %xmm0, %xmm1
	shufpd $9, %xmm5, %xmm5
	movapd %xmm2, %xmm3
	movhpd (%eax,%ebx), %xmm2
	movlpd (%eax,%edx,2), %xmm2
	movapd %xmm1, fftw_stackcell_0
	mulsd chs_lo, %xmm3
	movapd %xmm5, fftw_stackcell_1
	movhpd (%eax,%edx,8), %xmm5
	movlpd (%ecx,%edx,2), %xmm5
	movapd %xmm2, %xmm0
	subpd %xmm3, %xmm2
	addpd %xmm3, %xmm0
	movapd %xmm5, %xmm1
	movapd %xmm0, %xmm3
	movhpd (%ecx,%ebx), %xmm0
	movlpd (%eax,%esi), %xmm0
	/* simd data load/store barrier */ 
	leal (%edx,%edx,4), %esi
	leal (%edx,%edx,8), %ebx
	mulsd chs_lo, %xmm3
	mulsd chs_lo, %xmm0
	subpd %xmm0, %xmm1
	addpd %xmm0, %xmm5
	movapd %xmm1, %xmm0
	subpd %xmm2, %xmm1
	addpd %xmm2, %xmm0
	movapd %xmm5, %xmm2
	shufpd $9, %xmm1, %xmm1
	addpd %xmm3, %xmm5
	subpd %xmm3, %xmm2
	movapd %xmm2, %xmm3
	addpd %xmm7, %xmm2
	subpd %xmm7, %xmm3
	movapd %xmm2, %xmm7
	shufpd $9, %xmm3, %xmm3
	shufpd $9, %xmm7, %xmm7
	mulpd PK559016994PK559016994, %xmm3
	mulpd PK250000000PK250000000, %xmm7
	movapd %xmm3, fftw_stackcell_3
	movapd %xmm4, %xmm3
	addpd %xmm2, %xmm4
	movapd %xmm0, %xmm2
	subpd %xmm6, %xmm0
	shufpd $9, %xmm3, %xmm3
	addpd %xmm6, %xmm2
	mulpd PK559016994PK559016994, %xmm0
	subpd %xmm7, %xmm3
	movapd fftw_stackcell_2, %xmm7
	movapd %xmm2, %xmm6
	mulpd PK250000000PK250000000, %xmm6
	movapd %xmm3, fftw_stackcell_4
	movapd %xmm7, %xmm3
	addpd %xmm2, %xmm7
	subpd %xmm6, %xmm3
	movlpd %xmm7, (%ecx)
	movhpd %xmm7, (%eax,%edx)
	movapd fftw_stackcell_1, %xmm7
	movapd %xmm3, %xmm2
	addpd %xmm0, %xmm3
	subpd %xmm0, %xmm2
	movapd %xmm1, %xmm0
	mulpd PK951056516PK951056516, %xmm1
	movapd %xmm3, fftw_stackcell_6
	movapd %xmm7, %xmm6
	mulpd PK587785252PK587785252, %xmm7
	movapd %xmm5, %xmm3
	movapd %xmm2, fftw_stackcell_8
	movapd fftw_stackcell_0, %xmm2
	mulpd PK951056516PK951056516, %xmm5
	mulpd PK587785252PK587785252, %xmm0
	addpd %xmm7, %xmm1
	mulpd PK951056516PK951056516, %xmm6
	mulpd PK587785252PK587785252, %xmm3
	movapd %xmm2, %xmm7
	mulpd PK587785252PK587785252, %xmm2
	mulsd chs_lo, %xmm1
	subpd %xmm6, %xmm0
	movapd %xmm4, %xmm6
	mulpd PK951056516PK951056516, %xmm7
	addpd %xmm2, %xmm5
	movapd 64(%ebp), %xmm2
	shufpd $9, %xmm6, %xmm6
	mulsd chs_lo, %xmm0
	movapd %xmm1, fftw_stackcell_5
	subpd %xmm7, %xmm3
	movapd fftw_stackcell_3, %xmm7
	mulsd chs_lo, %xmm5
	movapd %xmm0, fftw_stackcell_7
	mulsd chs_lo, %xmm3
	movapd %xmm2, %xmm1
	mulpd %xmm4, %xmm2
	movapd fftw_stackcell_4, %xmm4
	mulpd %xmm6, %xmm1
	movapd %xmm2, %xmm0
	movapd %xmm4, %xmm6
	subpd %xmm7, %xmm4
	unpckhpd %xmm1, %xmm0
	unpcklpd %xmm1, %xmm2
	addpd %xmm7, %xmm6
	mulsd chs_lo, %xmm0
	movapd %xmm6, %xmm1
	subpd %xmm5, %xmm6
	movapd %xmm6, %xmm7
	addpd %xmm5, %xmm1
	subpd %xmm0, %xmm2
	movapd (%ebp), %xmm0
	shufpd $9, %xmm7, %xmm7
	movapd %xmm1, %xmm5
	movlpd %xmm2, (%ecx,%esi)
	movhpd %xmm2, (%eax,%edi,2)
	shufpd $9, %xmm5, %xmm5
	movapd %xmm0, %xmm2
	mulpd %xmm6, %xmm0
	movapd 128(%ebp), %xmm6
	mulpd %xmm7, %xmm2
	movapd %xmm6, %xmm7
	mulpd %xmm1, %xmm6
	movapd %xmm0, %xmm1
	unpckhpd %xmm2, %xmm0
	mulpd %xmm5, %xmm7
	unpcklpd %xmm2, %xmm1
	movapd %xmm4, %xmm5
	mulsd chs_lo, %xmm0
	movapd %xmm6, %xmm2
	subpd %xmm3, %xmm4
	addpd %xmm3, %xmm5
	unpckhpd %xmm7, %xmm6
	movapd %xmm4, %xmm3
	addpd %xmm1, %xmm0
	movapd 32(%ebp), %xmm1
	unpcklpd %xmm7, %xmm2
	movapd %xmm5, %xmm7
	shufpd $9, %xmm3, %xmm3
	mulsd chs_lo, %xmm6
	shufpd $9, %xmm7, %xmm7
	movlpd %xmm0, (%eax,%edx,2)
	movhpd %xmm0, (%ecx,%edx)
	addpd %xmm2, %xmm6
	movapd 96(%ebp), %xmm2
	movapd %xmm1, %xmm0
	mulpd %xmm7, %xmm1
	movlpd %xmm6, (%eax,%esi,2)
	movhpd %xmm6, (%ecx,%ebx)
	leal (%edi,%edx,4), %esi
	mulpd %xmm5, %xmm0
	movapd fftw_stackcell_8, %xmm5
	movapd %xmm0, %xmm7
	unpckhpd %xmm1, %xmm0
	movapd %xmm2, %xmm6
	mulpd %xmm3, %xmm2
	mulpd %xmm4, %xmm6
	unpcklpd %xmm1, %xmm7
	movapd fftw_stackcell_7, %xmm4
	movapd %xmm5, %xmm1
	mulsd chs_lo, %xmm0
	movapd %xmm6, %xmm3
	unpcklpd %xmm2, %xmm6
	addpd %xmm7, %xmm0
	unpckhpd %xmm2, %xmm3
	movapd 16(%ebp), %xmm2
	subpd %xmm4, %xmm5
	movlpd %xmm0, (%eax,%edx,4)
	movhpd %xmm0, (%ecx,%edi)
	addpd %xmm4, %xmm1
	movapd 112(%ebp), %xmm0
	movapd %xmm5, %xmm7
	mulsd chs_lo, %xmm3
	shufpd $9, %xmm7, %xmm7
	addpd %xmm6, %xmm3
	movapd %xmm2, %xmm4
	movapd %xmm0, %xmm6
	mulpd %xmm1, %xmm4
	shufpd $9, %xmm1, %xmm1
	movlpd %xmm3, (%eax,%edx,8)
	mulpd %xmm7, %xmm0
	movhpd %xmm3, (%ecx,%esi)
	movapd fftw_stackcell_5, %xmm7
	mulpd %xmm5, %xmm6
	movapd fftw_stackcell_6, %xmm5
	mulpd %xmm1, %xmm2
	movapd %xmm4, %xmm3
	movapd %xmm6, %xmm1
	unpcklpd %xmm0, %xmm6
	unpckhpd %xmm2, %xmm3
	unpckhpd %xmm0, %xmm1
	unpcklpd %xmm2, %xmm4
	movapd %xmm5, %xmm2
	addpd %xmm7, %xmm5
	mulsd chs_lo, %xmm3
	mulsd chs_lo, %xmm1
	subpd %xmm7, %xmm2
	movapd 48(%ebp), %xmm7
	movapd %xmm5, %xmm0
	subpd %xmm3, %xmm4
	movapd %xmm2, %xmm3
	shufpd $9, %xmm0, %xmm0
	subpd %xmm1, %xmm6
	movlpd %xmm4, (%ecx,%edx,2)
	movhpd %xmm4, (%eax,%edi)
	shufpd $9, %xmm3, %xmm3
	leal (%edx,%edx,4), %edi
	movlpd %xmm6, (%ecx,%edx,8)
	movhpd %xmm6, (%eax,%ebx)
	leal (%edx,%edx,2), %ebx
	movapd 80(%ebp), %xmm6
	movapd %xmm7, %xmm4
	addl $144, %ebp
	mulpd %xmm3, %xmm7
	mulpd %xmm2, %xmm4
	movapd %xmm4, %xmm1
	unpcklpd %xmm7, %xmm4
	movapd %xmm6, %xmm2
	movapd %xmm6, %xmm3
	unpckhpd %xmm7, %xmm1
	mulpd %xmm5, %xmm2
	mulpd %xmm0, %xmm3
	mulsd chs_lo, %xmm1
	movapd %xmm2, %xmm7
	unpcklpd %xmm3, %xmm2
	unpckhpd %xmm3, %xmm7
	subpd %xmm1, %xmm4
	movlpd %xmm4, (%ecx,%edx,4)
	movhpd %xmm4, (%eax,%edi)
	movapd %xmm7, %xmm5
	mulsd chs_lo, %xmm5
	subpd %xmm5, %xmm2
	movlpd %xmm2, (%ecx,%ebx,2)
	movhpd %xmm2, (%eax,%esi)
	addl 36(%esp), %ecx
	subl 36(%esp), %eax
	subl $2, 32(%esp)
	jg .LC1
	je .LC3
	jmp .LC4
	.p2align 4,,7
.LC2:
	addl 36(%esp), %ecx
	subl 36(%esp), %eax
	subl $2, 32(%esp)
	jg .LC1
	je .LC3
	jmp .LC4
	.p2align 4,,7
.LC3:
	/* promise simd cell size = 16 */ 
	leal (%edx,%edx,2), %esi
	leal (%edx,%edx,4), %edi
	movhpd (%eax,%edx,8), %xmm6
	leal (%edx,%edx,8), %ebx
	movlpd (%ecx,%edx,2), %xmm6
	movlpd (%ecx,%edx), %xmm3
	movhpd (%eax,%esi,2), %xmm7
	movlpd (%ecx,%esi), %xmm7
	leal (%edi,%edx,2), %ebp
	leal (%edx,%edx,2), %esi
	movhpd (%eax,%edi,2), %xmm3
	movapd %xmm6, %xmm0
	movapd %xmm6, %xmm5
	movlpd (%ecx), %xmm6
	movhpd (%eax,%ebp), %xmm6
	mulpd PK2_000000000PK2_000000000, %xmm0
	movapd %xmm7, %xmm1
	movapd %xmm7, %xmm4
	movhpd (%eax,%ebx), %xmm7
	movlpd (%ecx,%edx,4), %xmm7
	mulpd chs_hi, %xmm5
	leal (%edx,%edx,4), %eax
	/* simd data load/store barrier */ 
	leal (%edx,%edx,8), %ebx
	subpd %xmm3, %xmm1
	addpd %xmm3, %xmm4
	shufpd $9, %xmm1, %xmm1
	leal (%eax,%edx,2), %edi
	movapd %xmm7, %xmm2
	addpd %xmm6, %xmm7
	movapd %xmm1, %xmm3
	mulpd PK1_902113032NK1_175570504, %xmm1
	subpd %xmm6, %xmm2
	mulpd PK1_175570504PK1_902113032, %xmm3
	shufpd $9, %xmm2, %xmm2
	movapd %xmm2, %xmm6
	mulpd NK1_175570504PK1_902113032, %xmm2
	mulpd PK1_902113032PK1_175570504, %xmm6
	subpd %xmm2, %xmm1
	movapd %xmm4, %xmm2
	mulsd chs_lo, %xmm2
	subpd %xmm6, %xmm3
	movapd %xmm7, %xmm6
	mulsd chs_lo, %xmm6
	subpd %xmm2, %xmm7
	movapd %xmm7, %xmm2
	addpd %xmm6, %xmm4
	addpd %xmm5, %xmm7
	movapd %xmm1, %xmm5
	mulpd PK500000000NK500000000, %xmm2
	mulpd PK1_118033988NK1_118033988, %xmm4
	mulpd PK2_000000000PK2_000000000, %xmm7
	subpd %xmm0, %xmm2
	mulpd chs_hi, %xmm5
	movapd %xmm2, %xmm6
	movlpd %xmm7, (%ecx)
	addpd %xmm4, %xmm2
	movhpd %xmm7, (%ecx,%eax)
	movapd %xmm3, %xmm7
	subpd %xmm4, %xmm6
	movapd %xmm2, %xmm0
	mulsd chs_lo, %xmm2
	mulpd chs_hi, %xmm6
	addpd %xmm5, %xmm0
	addpd %xmm2, %xmm1
	movlpd %xmm0, (%ecx,%esi,2)
	movhpd %xmm0, (%ecx,%ebx)
	subpd %xmm6, %xmm7
	movlpd %xmm1, (%ecx,%edx,4)
	movhpd %xmm1, (%ecx,%edx)
	addpd %xmm3, %xmm6
	mulpd chs_hi, %xmm7
	movlpd %xmm6, (%ecx,%edx,2)
	movhpd %xmm6, (%ecx,%esi)
	movlpd %xmm7, (%ecx,%edx,8)
	movhpd %xmm7, (%ecx,%edi)
	.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
	.long 7
	.long 8
	.long 9

	.globl fftw_hc2hc_backward_10_desc
	.balign 32
fftw_hc2hc_backward_10_desc:
	/* descr_str_ptr */	.long .LC0
	/* codelet_ptr */	.long fftw_hc2hc_backward_10
	/* n */			.long 10
	/* cdir_int */		.long 1
	/* ctype_int */		.long 6
	/* signature */		.long 234
	/* num_twiddles */	.long 9
	/* twiddle_order */	.long twiddle_order
.LC0:	.string "fftw_hc2hc_backward_10"
