Yeppp!  0.9
 All Data Structures Functions Variables Enumerations Enumerator Groups Pages
yepCore.h
1 /*
2  * Copyright (c) 2010-2012 Marat Dukhan
3  * Copyright (c) 2012 Georgia Institute of Technology
4  * All rights reserved.
5  *
6  * Redistribution and use in source and binary forms, with or without
7  * modification, are permitted provided that the following conditions are met:
8  *
9  * 1. Redistributions of source code must retain the above copyright notice, this
10  * list of conditions and the following disclaimer.
11  * 2. Redistributions in binary form must reproduce the above copyright notice,
12  * this list of conditions and the following disclaimer in the documentation
13  * and/or other materials provided with the distribution.
14  *
15  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
19  * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25  *
26  * The views and conclusions contained in the software and documentation are those
27  * of the authors and should not be interpreted as representing official policies,
28  * either expressed or implied, of the Yeppp! Project.
29  */
30 
31 #pragma once
32 
33 #include <yepPredefines.h>
34 #include <yepTypes.h>
35 
51 YEP_DECLARE_FUNCTION(yepCore_Add_V8uV8u_V8u,(const Yep8u* YEP_RESTRICT xPointer, const Yep8u* YEP_RESTRICT yPointer, Yep8u* YEP_RESTRICT sumPointer, YepSize length))
63 YEP_DECLARE_FUNCTION(yepCore_Add_V8uV8u_V16u,(const Yep8u* YEP_RESTRICT xPointer, const Yep8u* YEP_RESTRICT yPointer, Yep16u* YEP_RESTRICT sumPointer, YepSize length))
75 YEP_DECLARE_FUNCTION(yepCore_Add_V8sV8s_V16s,(const Yep8s* YEP_RESTRICT xPointer, const Yep8s* YEP_RESTRICT yPointer, Yep16s* YEP_RESTRICT sumPointer, YepSize length))
87 YEP_DECLARE_FUNCTION(yepCore_Add_V16uV16u_V16u,(const Yep16u* YEP_RESTRICT xPointer, const Yep16u* YEP_RESTRICT yPointer, Yep16u* YEP_RESTRICT sumPointer, YepSize length))
99 YEP_DECLARE_FUNCTION(yepCore_Add_V16uV16u_V32u,(const Yep16u* YEP_RESTRICT xPointer, const Yep16u* YEP_RESTRICT yPointer, Yep32u* YEP_RESTRICT sumPointer, YepSize length))
111 YEP_DECLARE_FUNCTION(yepCore_Add_V16sV16s_V32s,(const Yep16s* YEP_RESTRICT xPointer, const Yep16s* YEP_RESTRICT yPointer, Yep32s* YEP_RESTRICT sumPointer, YepSize length))
123 YEP_DECLARE_FUNCTION(yepCore_Add_V32uV32u_V32u,(const Yep32u* YEP_RESTRICT xPointer, const Yep32u* YEP_RESTRICT yPointer, Yep32u* YEP_RESTRICT sumPointer, YepSize length))
135 YEP_DECLARE_FUNCTION(yepCore_Add_V32uV32u_V64u,(const Yep32u* YEP_RESTRICT xPointer, const Yep32u* YEP_RESTRICT yPointer, Yep64u* YEP_RESTRICT sumPointer, YepSize length))
147 YEP_DECLARE_FUNCTION(yepCore_Add_V32sV32s_V64s,(const Yep32s* YEP_RESTRICT xPointer, const Yep32s* YEP_RESTRICT yPointer, Yep64s* YEP_RESTRICT sumPointer, YepSize length))
159 YEP_DECLARE_FUNCTION(yepCore_Add_V64uV64u_V64u,(const Yep64u* YEP_RESTRICT xPointer, const Yep64u* YEP_RESTRICT yPointer, Yep64u* YEP_RESTRICT sumPointer, YepSize length))
171 YEP_DECLARE_FUNCTION(yepCore_Add_V32fV32f_V32f,(const Yep32f* YEP_RESTRICT xPointer, const Yep32f* YEP_RESTRICT yPointer, Yep32f* YEP_RESTRICT sumPointer, YepSize length))
183 YEP_DECLARE_FUNCTION(yepCore_Add_V64fV64f_V64f,(const Yep64f* YEP_RESTRICT xPointer, const Yep64f* YEP_RESTRICT yPointer, Yep64f* YEP_RESTRICT sumPointer, YepSize length))
199 YEP_DECLARE_FUNCTION(yepCore_Subtract_V8uV8u_V8u,(const Yep8u* YEP_RESTRICT xPointer, const Yep8u* YEP_RESTRICT yPointer, Yep8u* YEP_RESTRICT differencePointer, YepSize length))
211 YEP_DECLARE_FUNCTION(yepCore_Subtract_V8uV8u_V16u,(const Yep8u* YEP_RESTRICT xPointer, const Yep8u* YEP_RESTRICT yPointer, Yep16u* YEP_RESTRICT differencePointer, YepSize length))
223 YEP_DECLARE_FUNCTION(yepCore_Subtract_V8sV8s_V16s,(const Yep8s* YEP_RESTRICT xPointer, const Yep8s* YEP_RESTRICT yPointer, Yep16s* YEP_RESTRICT differencePointer, YepSize length))
235 YEP_DECLARE_FUNCTION(yepCore_Subtract_V16uV16u_V16u,(const Yep16u* YEP_RESTRICT xPointer, const Yep16u* YEP_RESTRICT yPointer, Yep16u* YEP_RESTRICT differencePointer, YepSize length))
247 YEP_DECLARE_FUNCTION(yepCore_Subtract_V16uV16u_V32u,(const Yep16u* YEP_RESTRICT xPointer, const Yep16u* YEP_RESTRICT yPointer, Yep32u* YEP_RESTRICT differencePointer, YepSize length))
259 YEP_DECLARE_FUNCTION(yepCore_Subtract_V16sV16s_V32s,(const Yep16s* YEP_RESTRICT xPointer, const Yep16s* YEP_RESTRICT yPointer, Yep32s* YEP_RESTRICT differencePointer, YepSize length))
271 YEP_DECLARE_FUNCTION(yepCore_Subtract_V32uV32u_V32u,(const Yep32u* YEP_RESTRICT xPointer, const Yep32u* YEP_RESTRICT yPointer, Yep32u* YEP_RESTRICT differencePointer, YepSize length))
283 YEP_DECLARE_FUNCTION(yepCore_Subtract_V32uV32u_V64u,(const Yep32u* YEP_RESTRICT xPointer, const Yep32u* YEP_RESTRICT yPointer, Yep64u* YEP_RESTRICT differencePointer, YepSize length))
295 YEP_DECLARE_FUNCTION(yepCore_Subtract_V32sV32s_V64s,(const Yep32s* YEP_RESTRICT xPointer, const Yep32s* YEP_RESTRICT yPointer, Yep64s* YEP_RESTRICT differencePointer, YepSize length))
307 YEP_DECLARE_FUNCTION(yepCore_Subtract_V64uV64u_V64u,(const Yep64u* YEP_RESTRICT xPointer, const Yep64u* YEP_RESTRICT yPointer, Yep64u* YEP_RESTRICT differencePointer, YepSize length))
319 YEP_DECLARE_FUNCTION(yepCore_Subtract_V32fV32f_V32f,(const Yep32f* YEP_RESTRICT xPointer, const Yep32f* YEP_RESTRICT yPointer, Yep32f* YEP_RESTRICT differencePointer, YepSize length))
331 YEP_DECLARE_FUNCTION(yepCore_Subtract_V64fV64f_V64f,(const Yep64f* YEP_RESTRICT xPointer, const Yep64f* YEP_RESTRICT yPointer, Yep64f* YEP_RESTRICT differencePointer, YepSize length))
336 YEP_DECLARE_FUNCTION(yepCore_Negate_V8s_V8s,(const Yep8s* YEP_RESTRICT numberPointer, Yep8s* YEP_RESTRICT negatedNumberPointer, YepSize length))
337 YEP_DECLARE_FUNCTION(yepCore_Negate_V16s_V16s,(const Yep16s* YEP_RESTRICT numberPointer, Yep16s* YEP_RESTRICT negatedNumberPointer, YepSize length))
338 YEP_DECLARE_FUNCTION(yepCore_Negate_V32s_V32s,(const Yep32s* YEP_RESTRICT numberPointer, Yep32s* YEP_RESTRICT negatedNumberPointer, YepSize length))
339 YEP_DECLARE_FUNCTION(yepCore_Negate_V64s_V64s,(const Yep64s* YEP_RESTRICT numberPointer, Yep64s* YEP_RESTRICT negatedNumberPointer, YepSize length))
340 YEP_DECLARE_FUNCTION(yepCore_Negate_V32f_V32f,(const Yep32f* YEP_RESTRICT numberPointer, Yep32f* YEP_RESTRICT negatedNumberPointer, YepSize length))
341 YEP_DECLARE_FUNCTION(yepCore_Negate_V64f_V64f,(const Yep64f* YEP_RESTRICT numberPointer, Yep64f* YEP_RESTRICT negatedNumberPointer, YepSize length))
357 YEP_DECLARE_FUNCTION(yepCore_Multiply_V8uV8u_V8u,(const Yep8u* YEP_RESTRICT xPointer, const Yep8u* YEP_RESTRICT yPointer, Yep8u* YEP_RESTRICT productPointer, YepSize length))
369 YEP_DECLARE_FUNCTION(yepCore_Multiply_V8uV8u_V16u,(const Yep8u* YEP_RESTRICT xPointer, const Yep8u* YEP_RESTRICT yPointer, Yep16u* YEP_RESTRICT productPointer, YepSize length))
381 YEP_DECLARE_FUNCTION(yepCore_Multiply_V8sV8s_V16s,(const Yep8s* YEP_RESTRICT xPointer, const Yep8s* YEP_RESTRICT yPointer, Yep16s* YEP_RESTRICT productPointer, YepSize length))
393 YEP_DECLARE_FUNCTION(yepCore_Multiply_V16uV16u_V16u,(const Yep16u* YEP_RESTRICT xPointer, const Yep16u* YEP_RESTRICT yPointer, Yep16u* YEP_RESTRICT productPointer, YepSize length))
405 YEP_DECLARE_FUNCTION(yepCore_Multiply_V16uV16u_V32u,(const Yep16u* YEP_RESTRICT xPointer, const Yep16u* YEP_RESTRICT yPointer, Yep32u* YEP_RESTRICT productPointer, YepSize length))
417 YEP_DECLARE_FUNCTION(yepCore_Multiply_V16sV16s_V32s,(const Yep16s* YEP_RESTRICT xPointer, const Yep16s* YEP_RESTRICT yPointer, Yep32s* YEP_RESTRICT productPointer, YepSize length))
429 YEP_DECLARE_FUNCTION(yepCore_Multiply_V32uV32u_V32u,(const Yep32u* YEP_RESTRICT xPointer, const Yep32u* YEP_RESTRICT yPointer, Yep32u* YEP_RESTRICT productPointer, YepSize length))
441 YEP_DECLARE_FUNCTION(yepCore_Multiply_V32uV32u_V64u,(const Yep32u* YEP_RESTRICT xPointer, const Yep32u* YEP_RESTRICT yPointer, Yep64u* YEP_RESTRICT productPointer, YepSize length))
453 YEP_DECLARE_FUNCTION(yepCore_Multiply_V32sV32s_V64s,(const Yep32s* YEP_RESTRICT xPointer, const Yep32s* YEP_RESTRICT yPointer, Yep64s* YEP_RESTRICT productPointer, YepSize length))
465 YEP_DECLARE_FUNCTION(yepCore_Multiply_V64uV64u_V64u,(const Yep64u* YEP_RESTRICT xPointer, const Yep64u* YEP_RESTRICT yPointer, Yep64u* YEP_RESTRICT productPointer, YepSize length))
477 YEP_DECLARE_FUNCTION(yepCore_Multiply_V32fV32f_V32f,(const Yep32f* YEP_RESTRICT xPointer, const Yep32f* YEP_RESTRICT yPointer, Yep32f* YEP_RESTRICT productPointer, YepSize length))
489 YEP_DECLARE_FUNCTION(yepCore_Multiply_V64fV64f_V64f,(const Yep64f* YEP_RESTRICT xPointer, const Yep64f* YEP_RESTRICT yPointer, Yep64f* YEP_RESTRICT productPointer, YepSize length))
505 YEP_DECLARE_FUNCTION(yepCore_DotProduct_V32fV32f_S32f,(const Yep32f* YEP_RESTRICT xPointer, const Yep32f* YEP_RESTRICT yPointer, Yep32f* YEP_RESTRICT dotProductPointer, YepSize length))
517 YEP_DECLARE_FUNCTION(yepCore_DotProduct_V64fV64f_S64f,(const Yep64f* YEP_RESTRICT xPointer, const Yep64f* YEP_RESTRICT yPointer, Yep64f* YEP_RESTRICT dotProductPointer, YepSize length))