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

« back to all changes in this revision

Viewing changes to extern/fftw/dft/k7/codelets/f1k7i_2.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:50:51 EDT 2006 */
 
23
 
 
24
#include "config.h"
 
25
 
 
26
 
 
27
 
 
28
/* cheap-mode: VECTGRADE_FULL succeeded. (14 steps) */
 
29
/* Generated by: ../../../genfft-k7/gen_twiddle -no-randomized-cse -dif -n 2 -sign 1 -name f1k7i_2 */
 
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_twiddle.ml,v 1.14 2005-12-24 21:08:49 athena Exp $
 
36
 */
 
37
 
 
38
/* The following asm code is Copyright (c) 2000-2001 Stefan Kral */
 
39
.text
 
40
        .balign 64
 
41
f1k7i_2:
 
42
        subl $20, %esp
 
43
        femms 
 
44
        movl %ebx, 16(%esp)
 
45
        movl 36(%esp), %edx
 
46
        movl 44(%esp), %ebx
 
47
        movl 28(%esp), %ecx
 
48
        movl %esi, 12(%esp)
 
49
        movl 32(%esp), %eax
 
50
        movl 40(%esp), %esi
 
51
        leal (,%edx,4), %edx
 
52
        leal (,%ebx,4), %ebx
 
53
        .p2align 4,,7
 
54
.L0:
 
55
        /* promise simd cell size = 8 */ 
 
56
        movq (%ecx,%edx), %mm0
 
57
        movq (%ecx), %mm1
 
58
        movq (%eax), %mm3
 
59
        /* simd data load/store barrier */ 
 
60
        addl $8, %eax
 
61
        movq %mm1, %mm2
 
62
        pfsub %mm0, %mm1
 
63
        pfadd %mm0, %mm2
 
64
        pswapd %mm1, %mm4
 
65
        pfmul %mm3, %mm1
 
66
        pfmul %mm3, %mm4
 
67
        movq %mm2, (%ecx)
 
68
        pfpnacc %mm4, %mm1
 
69
        movq %mm1, (%ecx,%edx)
 
70
        addl %ebx, %ecx
 
71
        decl %esi
 
72
        jnz .L0
 
73
        femms 
 
74
        movl 16(%esp), %ebx
 
75
        movl 12(%esp), %esi
 
76
        addl $20, %esp
 
77
        ret 
 
78
 
 
79
.section .rodata
 
80
nam:
 
81
        .string "f1k7i_2"
 
82
        .align 4
 
83
twinstr:
 
84
        .byte 4
 
85
        .byte 0
 
86
        .value 2
 
87
        .byte 3
 
88
        .byte 1
 
89
        .value 0
 
90
        .align 4
 
91
desc:
 
92
        .long 2
 
93
        .long nam
 
94
        .long twinstr
 
95
        .long fftwf_kdft_ct_k7_pgenus
 
96
        .double 3
 
97
        .double 2
 
98
        .double 0
 
99
        .double 0
 
100
        .long 0
 
101
        .long 0
 
102
        .long 0
 
103
 
 
104
.text
 
105
        .align 4
 
106
.globl fftwf_codelet_f1k7i_2
 
107
fftwf_codelet_f1k7i_2:
 
108
        subl $12,%esp
 
109
        movl 16(%esp),%eax
 
110
        addl $-4,%esp
 
111
        pushl $desc
 
112
        pushl $f1k7i_2
 
113
        pushl %eax
 
114
        call fftwf_kdft_dif_register
 
115
        addl $16,%esp
 
116
        addl $12,%esp
 
117
        ret
 
118