Subversion Repositories CharLCD

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. #ifndef ARM_BASIC_MATH_TEST_DATA_H
  2. #define ARM_BASIC_MATH_TEST_DATA_H
  3.  
  4. /*--------------------------------------------------------------------------------*/
  5. /* Includes */
  6. /*--------------------------------------------------------------------------------*/
  7.  
  8. #include "arr_desc.h"
  9. #include "arm_math.h"
  10.  
  11. /*--------------------------------------------------------------------------------*/
  12. /* Macros and Defines */
  13. /*--------------------------------------------------------------------------------*/
  14. #define BASIC_MATH_MAX_INPUT_ELEMENTS 32
  15. #define BASIC_MATH_BIGGEST_INPUT_TYPE float32_t
  16.  
  17. /*--------------------------------------------------------------------------------*/
  18. /* Declare Variables */
  19. /*--------------------------------------------------------------------------------*/
  20.  
  21. /* Input/Output Buffers */
  22. ARR_DESC_DECLARE(basic_math_output_fut);
  23. ARR_DESC_DECLARE(basic_math_output_ref);
  24.  
  25. extern BASIC_MATH_BIGGEST_INPUT_TYPE
  26. basic_math_output_f32_ref[BASIC_MATH_MAX_INPUT_ELEMENTS];
  27.  
  28. extern BASIC_MATH_BIGGEST_INPUT_TYPE
  29. basic_math_output_f32_fut[BASIC_MATH_MAX_INPUT_ELEMENTS];
  30.  
  31. /* Block Sizes*/
  32. ARR_DESC_DECLARE(basic_math_block_sizes);
  33.  
  34. /* Numbers */
  35. ARR_DESC_DECLARE(basic_math_elts);
  36. ARR_DESC_DECLARE(basic_math_elts2);
  37. ARR_DESC_DECLARE(basic_math_eltsf);
  38.  
  39. /* Float Inputs */
  40. ARR_DESC_DECLARE(basic_math_zeros);
  41. ARR_DESC_DECLARE(basic_math_f_2);
  42. ARR_DESC_DECLARE(basic_math_f_15);
  43. ARR_DESC_DECLARE(basic_math_f_32);
  44. ARR_DESC_DECLARE(basic_math_f_all);
  45.  
  46. #endif
  47.