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


/* fnset1/cheap-mode: VECTGRADE_FULLH2 succeeded. (15 steps) */
.section .rodata
	.balign 64
	chs_hi: .double +1.0, -1.0
	NK2_000000000PK2_000000000: .double -2.0000000000000000000000000, +2.0000000000000000000000000

	

.text
	.balign 64
	.globl	fftw_hc2real_4
	.type	fftw_hc2real_4, @function
fftw_hc2real_4:
	/* promise simd cell size = 16 */ 
	subl $16, %esp
	movl %esi, 8(%esp)
	movl 32(%esp), %esi
	movl %ebx, 12(%esp)
	movl %edi, 4(%esp)
	movl 20(%esp), %ebx
	movl 36(%esp), %ecx
	movl 24(%esp), %eax
	movl %ebp, 0(%esp)
	leal (,%esi,8), %edi
	movl 8(%esp), %esi
	leal (,%ecx,8), %edx
	movl 28(%esp), %ecx
	movhpd (%ebx,%edi,2), %xmm0
	movlpd (%ebx), %xmm0
	movhpd (%eax,%edx), %xmm2
	movl 40(%esp), %edx
	movlpd (%ebx,%edi), %xmm2
	/* simd data load/store barrier */ 
	movl 12(%esp), %ebx
	movl 4(%esp), %edi
	movapd %xmm0, %xmm1
	mulpd chs_hi, %xmm0
	leal (,%edx,8), %eax
	shufpd $9, %xmm1, %xmm1
	mulpd NK2_000000000PK2_000000000, %xmm2
	leal (%eax,%eax,2), %ebp
	addpd %xmm0, %xmm1
	movapd %xmm1, %xmm3
	subpd %xmm2, %xmm1
	addpd %xmm2, %xmm3
	movlpd %xmm1, (%ecx)
	movhpd %xmm1, (%ecx,%eax)
	movlpd %xmm3, (%ecx,%eax,2)
	movhpd %xmm3, (%ecx,%ebp)
	movl 0(%esp), %ebp
	addl $16, %esp
	ret 


.section .rodata

	.globl fftw_hc2real_4_desc
	.balign 32
fftw_hc2real_4_desc:
	/* descr_str_ptr */	.long .LC0
	/* codelet_ptr */	.long fftw_hc2real_4
	/* n */			.long 4
	/* cdir_int */		.long 1
	/* ctype_int */		.long 5
	/* signature */		.long 103
	/* num_twiddles */	.long 0
	/* twiddle_order */	.long 0
.LC0:	.string "fftw_hc2real_4"
