src
DSPF_blk_eswap64
c674
c674/DSPF_blk_eswap64.h
Go to the documentation of this file.
1
/* ======================================================================= */
2
/* DSPF_blk_eswap64.h -- Endian-swap a block of 64-bit values */
3
/* Intrinsic C Implementation */
4
/* */
5
/* Rev 0.0.1 */
6
/* */
7
/* */
8
/* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ */
9
/* */
10
/* */
11
/* Redistribution and use in source and binary forms, with or without */
12
/* modification, are permitted provided that the following conditions */
13
/* are met: */
14
/* */
15
/* Redistributions of source code must retain the above copyright */
16
/* notice, this list of conditions and the following disclaimer. */
17
/* */
18
/* Redistributions in binary form must reproduce the above copyright */
19
/* notice, this list of conditions and the following disclaimer in the */
20
/* documentation and/or other materials provided with the */
21
/* distribution. */
22
/* */
23
/* Neither the name of Texas Instruments Incorporated nor the names of */
24
/* its contributors may be used to endorse or promote products derived */
25
/* from this software without specific prior written permission. */
26
/* */
27
/* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS */
28
/* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */
29
/* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR */
30
/* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT */
31
/* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, */
32
/* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT */
33
/* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, */
34
/* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY */
35
/* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */
36
/* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE */
37
/* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
38
/* */
39
/* ======================================================================= */
40
41
#ifndef DSPF_BLK_ESWAP64_H_
42
#define DSPF_BLK_ESWAP64_H_ 1
43
44
#ifndef __TI_COMPILER_VERSION__ // for non TI compiler
45
#include "assert.h"
// intrinsics prototypes
46
#include "C6xSimulator.h"
// intrinsics prototypes
47
#include "C6xSimulator_type_modifiers.h"
// define/undefine typing keywords
48
#endif
49
51
/* @{ */
52
55
/* @{ */
56
88
/* }@ */
/* ingroup */
89
/* }@ */
/* ingroup */
90
91
void
DSPF_blk_eswap64
(
92
void
*restrict src,
93
void
*restrict dst,
94
int
n_dbls
95
);
96
97
#endif
98
99
/* ======================================================================== */
100
/* End of file: DSPF_blk_eswap64.h */
101
/* ------------------------------------------------------------------------ */
102
/* Copyright (c) 2011 Texas Instruments, Incorporated. */
103
/* All Rights Reserved. */
104
/* ======================================================================== */
105
DSPF_blk_eswap64
void DSPF_blk_eswap64(void *restrict src, void *restrict dst, int n_dbls)
Copyright 2022, Texas Instruments Incorporated