![]() |
![]() |
00001 /* ======================================================================= */ 00002 /* DSP_blk_eswap64.h -- Endian-swap a block of 64-bit values */ 00003 /* Intrinsic C Implementation */ 00004 /* */ 00005 /* Rev 0.0.1 */ 00006 /* */ 00007 /* */ 00008 /* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ */ 00009 /* */ 00010 /* */ 00011 /* Redistribution and use in source and binary forms, with or without */ 00012 /* modification, are permitted provided that the following conditions */ 00013 /* are met: */ 00014 /* */ 00015 /* Redistributions of source code must retain the above copyright */ 00016 /* notice, this list of conditions and the following disclaimer. */ 00017 /* */ 00018 /* Redistributions in binary form must reproduce the above copyright */ 00019 /* notice, this list of conditions and the following disclaimer in the */ 00020 /* documentation and/or other materials provided with the */ 00021 /* distribution. */ 00022 /* */ 00023 /* Neither the name of Texas Instruments Incorporated nor the names of */ 00024 /* its contributors may be used to endorse or promote products derived */ 00025 /* from this software without specific prior written permission. */ 00026 /* */ 00027 /* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS */ 00028 /* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */ 00029 /* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR */ 00030 /* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT */ 00031 /* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, */ 00032 /* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT */ 00033 /* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, */ 00034 /* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY */ 00035 /* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */ 00036 /* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE */ 00037 /* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ 00038 /* */ 00039 /* ======================================================================= */ 00040 00041 #ifndef DSP_BLK_ESWAP64_H_ 00042 #define DSP_BLK_ESWAP64_H_ 1 00043 00044 #ifndef __TI_COMPILER_VERSION__ // for non TI compiler 00045 #include "assert.h" // intrinsics prototypes 00046 #include "C6xSimulator.h" // intrinsics prototypes 00047 #include "C6xSimulator_type_modifiers.h" // define/undefine typing keywords 00048 #endif 00049 00051 /* @{ */ 00052 00055 /* @{ */ 00056 00088 /* }@ */ /* ingroup */ 00089 /* }@ */ /* ingroup */ 00090 00091 void DSP_blk_eswap64 ( 00092 void *restrict src, 00093 void *restrict dst, 00094 int n_dbls 00095 ); 00096 00097 #endif 00098 00099 /* ======================================================================== */ 00100 /* End of file: DSP_blk_eswap64.h */ 00101 /* ------------------------------------------------------------------------ */ 00102 /* Copyright (c) 2011 Texas Instruments, Incorporated. */ 00103 /* All Rights Reserved. */ 00104 /* ======================================================================== */ 00105