~ubuntu-branches/ubuntu/maverick/blender/maverick

« back to all changes in this revision

Viewing changes to extern/fftw/dft/k7/codelets/n1k7i_3.S

  • Committer: Bazaar Package Importer
  • Author(s): Khashayar Naderehvandi, Khashayar Naderehvandi, Alessio Treglia
  • Date: 2009-01-22 16:53:59 UTC
  • mfrom: (14.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090122165359-v0996tn7fbit64ni
Tags: 2.48a+dfsg-1ubuntu1
[ Khashayar Naderehvandi ]
* Merge from debian experimental (LP: #320045), Ubuntu remaining changes:
  - Add patch correcting header file locations.
  - Add libvorbis-dev and libgsm1-dev to Build-Depends.
  - Use avcodec_decode_audio2() in source/blender/src/hddaudio.c

[ Alessio Treglia ]
* Add missing previous changelog entries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (c) 2003, 2006 Matteo Frigo
 
3
 * Copyright (c) 2003, 2006 Massachusetts Institute of Technology
 
4
 *
 
5
 * This program is free software; you can redistribute it and/or modify
 
6
 * it under the terms of the GNU General Public License as published by
 
7
 * the Free Software Foundation; either version 2 of the License, or
 
8
 * (at your option) any later version.
 
9
 *
 
10
 * This program is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 * GNU General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program; if not, write to the Free Software
 
17
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
18
 *
 
19
 */
 
20
 
 
21
/* This file was automatically generated --- DO NOT EDIT */
 
22
/* Generated on Sat Jul  1 22:42:34 EDT 2006 */
 
23
 
 
24
#include "config.h"
 
25
 
 
26
 
 
27
 
 
28
/* cheap-mode: VECTGRADE_FULL succeeded. (19 steps) */
 
29
/* Generated by: ../../../genfft-k7/gen_notw -no-randomized-cse -n 3 -sign 1 -name n1k7i_3 */
 
30
 
 
31
/*
 
32
 * Generator Id's : 
 
33
 * $Id: algsimp.ml,v 1.4 2006-01-05 03:04:27 stevenj Exp $
 
34
 * $Id: fft.ml,v 1.4 2006-01-05 03:04:27 stevenj Exp $
 
35
 * $Id: gen_notw.ml,v 1.12 2006-01-05 03:04:27 stevenj Exp $
 
36
 */
 
37
 
 
38
/* The following asm code is Copyright (c) 2000-2001 Stefan Kral */
 
39
.section .rodata
 
40
        .balign 64
 
41
KP500000000KP500000000: .float +0.500000000000000000000000000000000000000000000, +0.500000000000000000000000000000000000000000000
 
42
KP866025403KN866025403: .float +0.866025403784438646763723170752936183471402627, -0.866025403784438646763723170752936183471402627
 
43
.text
 
44
.text
 
45
        .balign 64
 
46
n1k7i_3:
 
47
        subl $20, %esp
 
48
        femms 
 
49
        movl %ebx, 16(%esp)
 
50
        movl 40(%esp), %edx
 
51
        movl 44(%esp), %ebx
 
52
        movl 28(%esp), %eax
 
53
        movl 36(%esp), %ecx
 
54
        sall $2, 52(%esp)
 
55
        sall $2, 56(%esp)
 
56
        leal (,%edx,4), %edx
 
57
        leal (,%ebx,4), %ebx
 
58
        .p2align 4,,7
 
59
.L0:
 
60
        /* promise simd cell size = 8 */ 
 
61
        movq (%eax,%edx,2), %mm0
 
62
        movq (%eax,%edx), %mm1
 
63
        movq (%eax), %mm3
 
64
        /* simd data load/store barrier */ 
 
65
        addl 52(%esp), %eax
 
66
        movq %mm1, %mm2
 
67
        pfadd %mm0, %mm1
 
68
        movq %mm3, %mm4
 
69
        pfsubr %mm0, %mm2
 
70
        pfadd %mm1, %mm3
 
71
        pfmul KP500000000KP500000000, %mm1
 
72
        pswapd %mm2, %mm2
 
73
        pfmul KP866025403KN866025403, %mm2
 
74
        movq %mm3, (%ecx)
 
75
        pfsub %mm1, %mm4
 
76
        movq %mm4, %mm5
 
77
        pfadd %mm2, %mm4
 
78
        pfsub %mm2, %mm5
 
79
        movq %mm4, (%ecx,%ebx)
 
80
        movq %mm5, (%ecx,%ebx,2)
 
81
        addl 56(%esp), %ecx
 
82
        decl 48(%esp)
 
83
        jnz .L0
 
84
        femms 
 
85
        movl 16(%esp), %ebx
 
86
        addl $20, %esp
 
87
        ret 
 
88
 
 
89
.section .rodata
 
90
nam:
 
91
        .string "n1k7i_3"
 
92
        .align 4
 
93
desc:
 
94
        .long 3
 
95
        .long nam
 
96
        .double 6
 
97
        .double 2
 
98
        .double 0
 
99
        .double 0
 
100
        .long fftwf_kdft_k7_pgenus
 
101
        .long 0
 
102
        .long 0
 
103
        .long 0
 
104
        .long 0
 
105
 
 
106
.text
 
107
        .align 4
 
108
.globl fftwf_codelet_n1k7i_3
 
109
fftwf_codelet_n1k7i_3:
 
110
        subl $12,%esp
 
111
        addl $-4,%esp
 
112
        pushl $desc
 
113
        pushl $n1k7i_3
 
114
        pushl 28(%esp)
 
115
        call fftwf_kdft_register
 
116
        addl $16,%esp
 
117
        addl $12,%esp
 
118
        ret
 
119