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


/* fnset1/cheap-mode: VECTGRADE_FULLH2 succeeded. (21 steps) */
.section .rodata
	.balign 64
	chs_lo: .double -1.0, +1.0
	PK866025403NK866025403: .double +0.8660254037844386467637232, -0.8660254037844386467637232
	PK500000000PK500000000: .double +0.5000000000000000000000000, +0.5000000000000000000000000

	

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


.section .rodata

	.globl fftw_real2hc_6_desc
	.balign 32
fftw_real2hc_6_desc:
	/* descr_str_ptr */	.long .LC0
	/* codelet_ptr */	.long fftw_real2hc_6
	/* n */			.long 6
	/* cdir_int */		.long -1
	/* ctype_int */		.long 4
	/* signature */		.long 134
	/* num_twiddles */	.long 0
	/* twiddle_order */	.long 0
.LC0:	.string "fftw_real2hc_6"
