xt_density.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /* Definitions for the xt_density TIE package */
  2. /*
  3. * Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
  4. * These coded instructions, statements, and computer programs are the
  5. * copyrighted works and confidential proprietary information of Tensilica Inc.
  6. * They may not be modified, copied, reproduced, distributed, or disclosed to
  7. * third parties in any manner, medium, or form, in whole or in part, without
  8. * the prior written consent of Tensilica Inc.
  9. */
  10. /* Do not modify. This is automatically generated.*/
  11. #ifndef _XTENSA_xt_density_HEADER
  12. #define _XTENSA_xt_density_HEADER
  13. #ifdef __XTENSA__
  14. #ifdef __XCC__
  15. #include <xtensa/tie/xt_core.h>
  16. /*
  17. * The following prototypes describe intrinsic functions
  18. * corresponding to TIE instructions. Some TIE instructions
  19. * may produce multiple results (designated as "out" operands
  20. * in the iclass section) or may have operands used as both
  21. * inputs and outputs (designated as "inout"). However, the C
  22. * and C++ languages do not provide syntax that can express
  23. * the in/out/inout constraints of TIE intrinsics.
  24. * Nevertheless, the compiler understands these constraints
  25. * and will check that the intrinsic functions are used
  26. * correctly. To improve the readability of these prototypes,
  27. * the "out" and "inout" parameters are marked accordingly
  28. * with comments.
  29. */
  30. extern void _TIE_xt_density_ILL_N(void);
  31. extern void _TIE_xt_density_NOP_N(void);
  32. extern int _TIE_xt_density_L32I_N(const int * p, immediate i);
  33. extern void _TIE_xt_density_S32I_N(int t, int * p, immediate i);
  34. extern int _TIE_xt_density_ADD_N(int s, int t);
  35. extern int _TIE_xt_density_ADDI_N(int s, immediate i);
  36. extern int _TIE_xt_density_MOV_N(int s);
  37. extern int _TIE_xt_density_MOVI_N(immediate i);
  38. #define XT_ILL_N _TIE_xt_density_ILL_N
  39. #define XT_NOP_N _TIE_xt_density_NOP_N
  40. #define XT_L32I_N _TIE_xt_density_L32I_N
  41. #define XT_S32I_N _TIE_xt_density_S32I_N
  42. #define XT_ADD_N _TIE_xt_density_ADD_N
  43. #define XT_ADDI_N _TIE_xt_density_ADDI_N
  44. #define XT_MOV_N _TIE_xt_density_MOV_N
  45. #define XT_MOVI_N _TIE_xt_density_MOVI_N
  46. #endif /* __XCC__ */
  47. #endif /* __XTENSA__ */
  48. #endif /* !_XTENSA_xt_density_HEADER */