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


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

	PK500000000: .double +0.5000000000000000000000000
	PK866025403: .double +0.8660254037844386467637232

.text
	.balign 64
	.globl	fftw_real2hc_3
	.type	fftw_real2hc_3, @function
fftw_real2hc_3:
	/* 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
	leal (,%ecx,8), %edx
	movlpd (%eax), %xmm3
	movl 28(%esp), %ecx
	leal (,%esi,8), %edi
	movl 8(%esp), %esi
	movlpd (%eax,%edx), %xmm1
	movlpd (%eax,%edx,2), %xmm0
	/* simd data load/store barrier */ 
	movl 40(%esp), %edx
	movapd %xmm3, %xmm4
	leal (,%edx,8), %eax
	movapd %xmm1, %xmm2
	addsd %xmm0, %xmm2
	subsd %xmm1, %xmm0
	addsd %xmm2, %xmm4
	mulsd PK500000000, %xmm2
	mulsd PK866025403, %xmm0
	movlpd %xmm4, (%ebx)
	subsd %xmm2, %xmm3
	movlpd %xmm0, (%ecx,%eax)
	movlpd %xmm3, (%ebx,%edi)
	movl 12(%esp), %ebx
	movl 4(%esp), %edi
	addl $16, %esp
	ret 


.section .rodata

	.globl fftw_real2hc_3_desc
	.balign 32
fftw_real2hc_3_desc:
	/* descr_str_ptr */	.long .LC0
	/* codelet_ptr */	.long fftw_real2hc_3
	/* n */			.long 3
	/* cdir_int */		.long -1
	/* ctype_int */		.long 4
	/* signature */		.long 68
	/* num_twiddles */	.long 0
	/* twiddle_order */	.long 0
.LC0:	.string "fftw_real2hc_3"
