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