File: xtrxdsp_x86_sse2.c

package info (click to toggle)
libxtrxdsp 0.0.1%2Bgit20190830.eec2864-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 268 kB
  • sloc: ansic: 2,538; makefile: 5
file content (61 lines) | stat: -rw-r--r-- 1,875 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
 * xtrxdsp sse2 optimization functions file
 * Copyright (c) 2017 Sergey Kostanbaev <sergey.kostanbaev@fairwaves.co>
 * For more information, please visit: http://xtrx.io
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */
#include "xtrxdsp.h"

#ifdef __SSE2__

#define UNALIGN_STORE

#define XTRXDSP_TEMPLATE_IQ16_SC32_SSE2
#define XTRXDSP_TEMPLATE_IQ12_SC32
#define XTRXDSP_TEMPLATE_IQ8_SC32
#define XTRXDSP_TEMPLATE_IQ8_IC16

#define XTRXDSP_TEMPLATE_IQ16_SC32I_SSE2
#define XTRXDSP_TEMPLATE_IQ12_SC32I
#define XTRXDSP_TEMPLATE_IQ8_SC32I

#define XTRXDSP_TEMPLATE_SC32_IQ16
#define XTRXDSP_TEMPLATE_SC32I_IQ16

#define XTRXDSP_TEMPLATE_IC16I_IQ16
#define XTRXDSP_TEMPLATE_IQ16_IC16I

#define XTRXDSP_TEMPLATE_IQ8_IC16I
#define XTRXDSP_TEMPLATE_IQ8_IC8I

#define XTRXDSP_TEMPLATE_SC32_CONV64_NAME _sse2
#define XTRXDSP_TEMPLATE_SC32_CONV64

//#define XTRXDSP_TEMPLATE_B8_EXPAND_X2_NAME _sse2
//#define XTRXDSP_TEMPLATE_B8_EXPAND_X2

//#define XTRXDSP_TEMPLATE_B8_EXPAND_X4_NAME _sse2
//#define XTRXDSP_TEMPLATE_B8_EXPAND_X4

#define XTRXDSP_TEMPLATE_IQ16_CONV64_NAME _sse2
#define XTRXDSP_TEMPLATE_IQ16_CONV64

#include "xtrxdsp_templates.c"

DECLARE_TEMPLATES(sse2)

#endif