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


/* fnset1/cheap-mode: VECTGRADE_FULL succeeded. (146 steps) */
.section .rodata
	.balign 64
	chs_lo: .double -1.0, +1.0
	PK707106781PK707106781: .double +0.7071067811865475244008444, +0.7071067811865475244008444
	PK707106781NK707106781: .double +0.7071067811865475244008444, -0.7071067811865475244008444
	chs_hi: .double +1.0, -1.0
	PK382683432NK382683432: .double +0.3826834323650897717284600, -0.3826834323650897717284600
	PK923879532PK923879532: .double +0.9238795325112867561281832, +0.9238795325112867561281832
	PK923879532NK923879532: .double +0.9238795325112867561281832, -0.9238795325112867561281832
	PK382683432PK382683432: .double +0.3826834323650897717284600, +0.3826834323650897717284600
	NK923879532PK923879532: .double -0.9238795325112867561281832, +0.9238795325112867561281832
	NK382683432PK382683432: .double -0.3826834323650897717284600, +0.3826834323650897717284600

	

.text
	.balign 64
	.globl	fftwi_no_twiddle_16
	.type	fftwi_no_twiddle_16, @function
fftwi_no_twiddle_16:
	/* promise simd cell size = 16 */ 
	subl $16, %esp
	movl 28(%esp), %eax
	movl 20(%esp), %edx
	movl %ebx, 12(%esp)
	movl %esi, 8(%esp)
	movl %edi, 4(%esp)
	movl %ebp, 0(%esp)
	sall $4, %eax
	movapd (%edx), %xmm1
	leal (%edx,%eax,8), %ebx
	movapd (%edx,%eax,4), %xmm4
	leal (%eax,%eax,2), %esi
	movl %eax, %ecx
	leal (%eax,%eax,4), %edi
	negl %ecx
	movapd (%ebx), %xmm0
	movapd (%ebx,%eax,4), %xmm3
	movapd %xmm1, %xmm2
	movapd (%ebx,%eax,2), %xmm7
	leal (%edi,%eax,2), %ebp
	movapd %xmm4, %xmm5
	addpd %xmm0, %xmm2
	addpd %xmm3, %xmm4
	subpd %xmm0, %xmm1
	movapd (%edx,%eax,2), %xmm0
	movapd %xmm2, %xmm6
	subpd %xmm3, %xmm5
	movapd %xmm1, fftw_stackcell_3
	movapd (%ebx,%esi,2), %xmm3
	movapd (%edx,%esi,2), %xmm1
	subpd %xmm4, %xmm2
	addpd %xmm4, %xmm6
	shufpd $9, %xmm5, %xmm5
	movapd %xmm2, fftw_stackcell_5
	movapd %xmm6, fftw_stackcell_7
	movapd %xmm0, %xmm4
	addpd %xmm7, %xmm0
	mulsd chs_lo, %xmm5
	movapd %xmm3, %xmm2
	addpd %xmm1, %xmm3
	movapd %xmm0, %xmm6
	subpd %xmm1, %xmm2
	movapd %xmm5, fftw_stackcell_0
	movapd (%ebx,%eax), %xmm5
	subpd %xmm7, %xmm4
	addpd %xmm3, %xmm6
	movapd %xmm2, %xmm1
	subpd %xmm0, %xmm3
	movapd %xmm4, %xmm7
	mulsd chs_lo, %xmm1
	movapd %xmm6, fftw_stackcell_6
	mulsd chs_lo, %xmm3
	movapd (%edx,%eax), %xmm0
	shufpd $9, %xmm7, %xmm7
	shufpd $9, %xmm1, %xmm1
	shufpd $9, %xmm3, %xmm3
	mulsd chs_lo, %xmm7
	movapd %xmm0, %xmm6
	subpd %xmm5, %xmm0
	addpd %xmm2, %xmm1
	movapd %xmm3, fftw_stackcell_4
	movapd (%ebx,%edi), %xmm2
	movapd (%edx,%edi), %xmm3
	addpd %xmm7, %xmm4
	movapd %xmm1, %xmm7
	addpd %xmm5, %xmm6
	subpd %xmm4, %xmm7
	movapd %xmm6, %xmm5
	addpd %xmm1, %xmm4
	shufpd $9, %xmm7, %xmm7
	movapd %xmm3, %xmm1
	subpd %xmm2, %xmm3
	mulpd PK707106781PK707106781, %xmm4
	shufpd $9, %xmm3, %xmm3
	mulpd PK707106781NK707106781, %xmm7
	addpd %xmm2, %xmm1
	movapd %xmm4, fftw_stackcell_1
	mulsd chs_lo, %xmm3
	movapd %xmm7, fftw_stackcell_2
	movapd (%edx,%ebp), %xmm4
	movapd (%ebx,%ebp), %xmm7
	subpd %xmm1, %xmm5
	addpd %xmm1, %xmm6
	movapd (%ebx,%esi), %xmm1
	movl 32(%esp), %ebx
	movapd %xmm3, fftw_stackcell_8
	movapd (%edx,%esi), %xmm3
	/* simd data load/store barrier */ 
	movl 24(%esp), %edx
	sall $4, %ebx
	movapd %xmm7, %xmm2
	subpd %xmm4, %xmm7
	leal (%ebx,%ebx,2), %esi
	leal (%ebx,%ebx,4), %ebp
	movl %ebx, %ecx
	addpd %xmm4, %xmm2
	shufpd $9, %xmm7, %xmm7
	leal (%edx,%ebx,8), %eax
	negl %ecx
	movapd %xmm3, %xmm4
	subpd %xmm1, %xmm3
	leal (%esi,%ebx,4), %edi
	addpd %xmm1, %xmm4
	movapd %xmm2, %xmm1
	mulsd chs_lo, %xmm3
	subpd %xmm4, %xmm1
	addpd %xmm4, %xmm2
	movapd %xmm5, %xmm4
	mulpd chs_hi, %xmm5
	shufpd $9, %xmm4, %xmm4
	addpd %xmm5, %xmm4
	movapd %xmm1, %xmm5
	mulsd chs_lo, %xmm1
	shufpd $9, %xmm5, %xmm5
	addpd %xmm1, %xmm5
	movapd %xmm2, %xmm1
	subpd %xmm6, %xmm1
	addpd %xmm2, %xmm6
	movapd %xmm7, %xmm2
	addpd %xmm3, %xmm7
	mulsd chs_lo, %xmm1
	subpd %xmm3, %xmm2
	movapd %xmm2, %xmm3
	mulpd PK382683432NK382683432, %xmm2
	shufpd $9, %xmm1, %xmm1
	shufpd $9, %xmm3, %xmm3
	mulpd PK923879532PK923879532, %xmm3
	addpd %xmm2, %xmm3
	movapd %xmm7, %xmm2
	mulpd PK923879532NK923879532, %xmm7
	shufpd $9, %xmm2, %xmm2
	movapd %xmm3, fftw_stackcell_9
	movapd fftw_stackcell_8, %xmm3
	mulpd PK382683432PK382683432, %xmm2
	addpd %xmm7, %xmm2
	movapd %xmm0, %xmm7
	addpd %xmm3, %xmm0
	subpd %xmm3, %xmm7
	movapd %xmm7, %xmm3
	mulpd PK382683432PK382683432, %xmm7
	shufpd $9, %xmm3, %xmm3
	mulpd NK923879532PK923879532, %xmm3
	addpd %xmm3, %xmm7
	movapd %xmm0, %xmm3
	mulpd PK923879532PK923879532, %xmm0
	shufpd $9, %xmm3, %xmm3
	movapd %xmm7, fftw_stackcell_11
	movapd fftw_stackcell_7, %xmm7
	mulpd NK382683432PK382683432, %xmm3
	addpd %xmm3, %xmm0
	movapd %xmm0, fftw_stackcell_10
	movapd fftw_stackcell_6, %xmm3
	movapd %xmm7, %xmm0
	addpd %xmm3, %xmm0
	subpd %xmm3, %xmm7
	movapd %xmm0, %xmm3
	addpd %xmm6, %xmm0
	subpd %xmm6, %xmm3
	movapd %xmm7, %xmm6
	movapd %xmm0, (%edx)
	subpd %xmm1, %xmm7
	movapd %xmm5, %xmm0
	addpd %xmm1, %xmm6
	movapd fftw_stackcell_5, %xmm1
	movapd %xmm3, (%eax)
	movapd fftw_stackcell_4, %xmm3
	addpd %xmm4, %xmm5
	movapd %xmm7, (%eax,%ebx,4)
	subpd %xmm4, %xmm0
	movapd %xmm6, (%edx,%ebx,4)
	shufpd $9, %xmm5, %xmm5
	movapd %xmm1, %xmm7
	mulpd PK707106781NK707106781, %xmm0
	addpd %xmm3, %xmm1
	subpd %xmm3, %xmm7
	movapd fftw_stackcell_3, %xmm3
	mulpd PK707106781PK707106781, %xmm5
	movapd %xmm1, %xmm4
	movapd %xmm7, %xmm6
	addpd %xmm0, %xmm7
	subpd %xmm5, %xmm4
	subpd %xmm0, %xmm6
	movapd fftw_stackcell_0, %xmm0
	movapd %xmm7, (%edx,%esi,2)
	movapd %xmm3, %xmm7
	addpd %xmm5, %xmm1
	movapd %xmm4, (%eax,%ebx,2)
	movapd fftw_stackcell_2, %xmm4
	movapd %xmm6, (%eax,%esi,2)
	movapd fftw_stackcell_11, %xmm6
	movapd %xmm2, %xmm5
	subpd %xmm0, %xmm7
	movapd %xmm1, (%edx,%ebx,2)
	addpd %xmm0, %xmm3
	movapd %xmm7, %xmm1
	subpd %xmm4, %xmm7
	subpd %xmm6, %xmm5
	addpd %xmm2, %xmm6
	movapd fftw_stackcell_1, %xmm2
	addpd %xmm4, %xmm1
	mulsd chs_lo, %xmm5
	movapd %xmm3, %xmm4
	movapd %xmm1, %xmm0
	subpd %xmm6, %xmm1
	shufpd $9, %xmm5, %xmm5
	subpd %xmm2, %xmm3
	addpd %xmm6, %xmm0
	movapd %xmm1, (%eax,%esi)
	movapd fftw_stackcell_9, %xmm1
	movapd %xmm7, %xmm6
	addpd %xmm2, %xmm4
	movapd %xmm0, (%edx,%esi)
	movapd fftw_stackcell_10, %xmm0
	addpd %xmm5, %xmm7
	subpd %xmm5, %xmm6
	movapd %xmm4, %xmm2
	movl 8(%esp), %esi
	movapd %xmm1, %xmm5
	movapd %xmm7, (%edx,%edi)
	movapd %xmm6, (%eax,%edi)
	movapd %xmm3, %xmm6
	movl 4(%esp), %edi
	subpd %xmm0, %xmm5
	addpd %xmm1, %xmm0
	mulsd chs_lo, %xmm5
	subpd %xmm0, %xmm2
	addpd %xmm0, %xmm4
	shufpd $9, %xmm5, %xmm5
	movapd %xmm2, (%eax,%ebx)
	movapd %xmm4, (%edx,%ebx)
	movl 12(%esp), %ebx
	subpd %xmm5, %xmm6
	addpd %xmm5, %xmm3
	movapd %xmm6, (%eax,%ebp)
	movapd %xmm3, (%edx,%ebp)
	movl 0(%esp), %ebp
	addl $16, %esp
	ret 


.section .rodata

	.globl fftwi_no_twiddle_16_desc
	.balign 32
fftwi_no_twiddle_16_desc:
	/* descr_str_ptr */	.long .LC0
	/* codelet_ptr */	.long fftwi_no_twiddle_16
	/* n */			.long 16
	/* cdir_int */		.long 1
	/* ctype_int */		.long 0
	/* signature */		.long 364
	/* num_twiddles */	.long 0
	/* twiddle_order */	.long 0
.LC0:	.string "fftwi_no_twiddle_16"
