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


/* fnset2/cheap-mode: VECTGRADE_FULL succeeded. (16 steps) */
.section .rodata
	.balign 64
	chs_lo: .double -1.0, +1.0

	

.text
	.balign 64
	.globl	fftw_twiddle_2
	.type	fftw_twiddle_2, @function
fftw_twiddle_2:
	subl $16, %esp
	movl %ebx, 12(%esp)
	movl 28(%esp), %edx
	movl 36(%esp), %ebx
	movl 20(%esp), %eax
	movl 24(%esp), %ecx
	movl %esi, 8(%esp)
	movl 32(%esp), %esi
	sall $4, %edx
	sall $4, %ebx
	.p2align 4,,7
.L0:
	/* promise simd cell size = 16 */ 
	movapd (%eax,%edx), %xmm0
	movapd (%ecx), %xmm2
	addl $16, %ecx
	movapd (%eax), %xmm5
	/* simd data load/store barrier */ 
	movapd %xmm0, %xmm1
	movapd %xmm2, %xmm3
	movapd %xmm5, %xmm6
	shufpd $9, %xmm1, %xmm1
	mulpd %xmm0, %xmm3
	mulpd %xmm1, %xmm2
	movapd %xmm3, %xmm4
	unpckhpd %xmm2, %xmm4
	unpcklpd %xmm2, %xmm3
	mulsd chs_lo, %xmm4
	addpd %xmm3, %xmm4
	subpd %xmm4, %xmm6
	addpd %xmm4, %xmm5
	movapd %xmm6, (%eax,%edx)
	movapd %xmm5, (%eax)
	addl %ebx, %eax
	decl %esi
	jnz .L0
	movl 12(%esp), %ebx
	movl 8(%esp), %esi
	addl $16, %esp
	ret 


.section .rodata
	.balign 4
twiddle_order:
	.long 1

	.globl fftw_twiddle_2_desc
	.balign 32
fftw_twiddle_2_desc:
	/* descr_str_ptr */	.long .LC0
	/* codelet_ptr */	.long fftw_twiddle_2
	/* n */			.long 2
	/* cdir_int */		.long -1
	/* ctype_int */		.long 1
	/* signature */		.long 44
	/* num_twiddles */	.long 1
	/* twiddle_order */	.long twiddle_order
.LC0:	.string "fftw_twiddle_2"
