forked from espressif/arduino-esp32
initial import
This commit is contained in:
committed by
Ivan Grokhotkov
parent
668acc2c08
commit
5f3a205955
96
tools/sdk/include/esp32/xtensa/tie/xt_DFP_assist.h
Normal file
96
tools/sdk/include/esp32/xtensa/tie/xt_DFP_assist.h
Normal file
@ -0,0 +1,96 @@
|
||||
/* Definitions for the xt_DFP_assist TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_DFP_assist_HEADER
|
||||
#define _XTENSA_xt_DFP_assist_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern void _TIE_xt_DFP_assist_F64ITER(unsigned arr /*inout*/, unsigned ars, unsigned art, immediate oper, immediate noshift);
|
||||
extern unsigned _TIE_xt_DFP_assist_F64RND(unsigned ars, unsigned art, immediate mode);
|
||||
extern void _TIE_xt_DFP_assist_F64ADDC(unsigned art /*inout*/, unsigned ars, immediate immZ, immediate immC);
|
||||
extern void _TIE_xt_DFP_assist_F64SUBC(unsigned art /*inout*/, unsigned ars, immediate immZ, immediate immC);
|
||||
extern unsigned _TIE_xt_DFP_assist_F64SIG(unsigned ars);
|
||||
extern unsigned _TIE_xt_DFP_assist_F64CMPL(unsigned ars, unsigned art);
|
||||
extern unsigned _TIE_xt_DFP_assist_F64CMPH(unsigned ars, unsigned art, immediate oper);
|
||||
extern unsigned _TIE_xt_DFP_assist_F64NORM(unsigned ars, unsigned art, immediate mode);
|
||||
extern unsigned _TIE_xt_DFP_assist_F64SEXP(unsigned ars, unsigned art);
|
||||
extern unsigned _TIE_xt_DFP_assist_RF64R(immediate hilo);
|
||||
extern void _TIE_xt_DFP_assist_WF64R(unsigned ars, unsigned art, immediate hilo);
|
||||
extern unsigned _TIE_xt_DFP_assist_RUR_F64R_LO(void);
|
||||
extern unsigned _TIE_xt_DFP_assist_RUR_F64R_HI(void);
|
||||
extern void _TIE_xt_DFP_assist_WUR_F64R_LO(unsigned art);
|
||||
extern void _TIE_xt_DFP_assist_WUR_F64R_HI(unsigned art);
|
||||
extern unsigned _TIE_xt_DFP_assist_RUR_F64S(void);
|
||||
extern void _TIE_xt_DFP_assist_WUR_F64S(unsigned art);
|
||||
#define F64ITER _TIE_xt_DFP_assist_F64ITER
|
||||
#define F64RND _TIE_xt_DFP_assist_F64RND
|
||||
#define F64ADDC _TIE_xt_DFP_assist_F64ADDC
|
||||
#define F64SUBC _TIE_xt_DFP_assist_F64SUBC
|
||||
#define F64SIG _TIE_xt_DFP_assist_F64SIG
|
||||
#define F64CMPL _TIE_xt_DFP_assist_F64CMPL
|
||||
#define F64CMPH _TIE_xt_DFP_assist_F64CMPH
|
||||
#define F64NORM _TIE_xt_DFP_assist_F64NORM
|
||||
#define F64SEXP _TIE_xt_DFP_assist_F64SEXP
|
||||
#define RF64R _TIE_xt_DFP_assist_RF64R
|
||||
#define WF64R _TIE_xt_DFP_assist_WF64R
|
||||
#define RUR_F64R_LO _TIE_xt_DFP_assist_RUR_F64R_LO
|
||||
#define RF64R_LO _TIE_xt_DFP_assist_RUR_F64R_LO
|
||||
#define RUR234 _TIE_xt_DFP_assist_RUR_F64R_LO
|
||||
#define RUR_F64R_HI _TIE_xt_DFP_assist_RUR_F64R_HI
|
||||
#define RF64R_HI _TIE_xt_DFP_assist_RUR_F64R_HI
|
||||
#define RUR235 _TIE_xt_DFP_assist_RUR_F64R_HI
|
||||
#define WUR_F64R_LO _TIE_xt_DFP_assist_WUR_F64R_LO
|
||||
#define WF64R_LO _TIE_xt_DFP_assist_WUR_F64R_LO
|
||||
#define WUR234 _TIE_xt_DFP_assist_WUR_F64R_LO
|
||||
#define WUR_F64R_HI _TIE_xt_DFP_assist_WUR_F64R_HI
|
||||
#define WF64R_HI _TIE_xt_DFP_assist_WUR_F64R_HI
|
||||
#define WUR235 _TIE_xt_DFP_assist_WUR_F64R_HI
|
||||
#define RUR_F64S _TIE_xt_DFP_assist_RUR_F64S
|
||||
#define RF64S _TIE_xt_DFP_assist_RUR_F64S
|
||||
#define RUR236 _TIE_xt_DFP_assist_RUR_F64S
|
||||
#define WUR_F64S _TIE_xt_DFP_assist_WUR_F64S
|
||||
#define WF64S _TIE_xt_DFP_assist_WUR_F64S
|
||||
#define WUR236 _TIE_xt_DFP_assist_WUR_F64S
|
||||
|
||||
#ifndef RUR
|
||||
#define RUR(NUM) RUR##NUM()
|
||||
#endif
|
||||
|
||||
#ifndef WUR
|
||||
#define WUR(VAL, NUM) WUR##NUM(VAL)
|
||||
#endif
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_DFP_assist_HEADER */
|
197
tools/sdk/include/esp32/xtensa/tie/xt_FP.h
Normal file
197
tools/sdk/include/esp32/xtensa/tie/xt_FP.h
Normal file
@ -0,0 +1,197 @@
|
||||
/* Definitions for the xt_FP TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_FP_HEADER
|
||||
#define _XTENSA_xt_FP_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
#include <xtensa/tie/xt_booleans.h>
|
||||
typedef float _TIE_xt_FP_xtfloat;
|
||||
typedef _TIE_xt_FP_xtfloat xtfloat;
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern unsigned _TIE_xt_FP_RUR_FCR(void);
|
||||
extern void _TIE_xt_FP_WUR_FCR(unsigned v);
|
||||
extern unsigned _TIE_xt_FP_RUR_FSR(void);
|
||||
extern void _TIE_xt_FP_WUR_FSR(unsigned v);
|
||||
extern xtfloat _TIE_xt_FP_xtfloat_loadi(const xtfloat * p, immediate imm8x4);
|
||||
extern void _TIE_xt_FP_xtfloat_storei(xtfloat t, xtfloat * p, immediate imm8x4);
|
||||
extern void _TIE_xt_FP_xtfloat_loadip(xtfloat t /*out*/, const xtfloat * p /*inout*/, immediate imm8x4);
|
||||
extern void _TIE_xt_FP_xtfloat_storeip(xtfloat t, xtfloat * p /*inout*/, immediate imm8x4);
|
||||
extern xtfloat _TIE_xt_FP_xtfloat_loadx(const xtfloat * p, int imm8x4);
|
||||
extern void _TIE_xt_FP_xtfloat_storex(xtfloat t, xtfloat * p, int imm8x4);
|
||||
extern void _TIE_xt_FP_xtfloat_loadxp(xtfloat t /*out*/, const xtfloat * p /*inout*/, int imm8x4);
|
||||
extern void _TIE_xt_FP_xtfloat_storexp(xtfloat t, xtfloat * p /*inout*/, int imm8x4);
|
||||
extern xtfloat _TIE_xt_FP_xtfloat_move(xtfloat r);
|
||||
extern int _TIE_xt_FP_ROUND_S(xtfloat s, immediate t);
|
||||
extern int _TIE_xt_FP_TRUNC_S(xtfloat s, immediate t);
|
||||
extern unsigned _TIE_xt_FP_UTRUNC_S(xtfloat s, immediate t);
|
||||
extern int _TIE_xt_FP_FLOOR_S(xtfloat s, immediate t);
|
||||
extern int _TIE_xt_FP_CEIL_S(xtfloat s, immediate t);
|
||||
extern xtfloat _TIE_xt_FP_LSI(const xtfloat * p, immediate imm8x4);
|
||||
extern void _TIE_xt_FP_SSI(xtfloat t, xtfloat * p, immediate imm8x4);
|
||||
extern void _TIE_xt_FP_LSIP(xtfloat t /*out*/, const xtfloat * p /*inout*/, immediate imm8x4);
|
||||
extern void _TIE_xt_FP_SSIP(xtfloat t, xtfloat * p /*inout*/, immediate imm8x4);
|
||||
extern xtfloat _TIE_xt_FP_LSX(const xtfloat * p, int imm8x4);
|
||||
extern void _TIE_xt_FP_SSX(xtfloat t, xtfloat * p, int imm8x4);
|
||||
extern void _TIE_xt_FP_LSXP(xtfloat t /*out*/, const xtfloat * p /*inout*/, int imm8x4);
|
||||
extern void _TIE_xt_FP_SSXP(xtfloat t, xtfloat * p /*inout*/, int imm8x4);
|
||||
extern xtfloat _TIE_xt_FP_ABS_S(xtfloat s);
|
||||
extern xtfloat _TIE_xt_FP_NEG_S(xtfloat s);
|
||||
extern xtfloat _TIE_xt_FP_MOV_S(xtfloat s);
|
||||
extern void _TIE_xt_FP_MOVEQZ_S(xtfloat r /*inout*/, xtfloat s, int t);
|
||||
extern void _TIE_xt_FP_MOVNEZ_S(xtfloat r /*inout*/, xtfloat s, int t);
|
||||
extern void _TIE_xt_FP_MOVLTZ_S(xtfloat r /*inout*/, xtfloat s, int t);
|
||||
extern void _TIE_xt_FP_MOVGEZ_S(xtfloat r /*inout*/, xtfloat s, int t);
|
||||
extern void _TIE_xt_FP_MOVF_S(xtfloat r /*inout*/, xtfloat s, xtbool t);
|
||||
extern void _TIE_xt_FP_MOVT_S(xtfloat r /*inout*/, xtfloat s, xtbool t);
|
||||
extern unsigned _TIE_xt_FP_RFR(xtfloat s);
|
||||
extern xtfloat _TIE_xt_FP_WFR(unsigned s);
|
||||
extern xtfloat _TIE_xt_FP_FLOAT_S(int s, immediate t);
|
||||
extern xtfloat _TIE_xt_FP_UFLOAT_S(unsigned s, immediate t);
|
||||
extern xtbool _TIE_xt_FP_OEQ_S(xtfloat s, xtfloat t);
|
||||
extern xtbool _TIE_xt_FP_OLE_S(xtfloat s, xtfloat t);
|
||||
extern xtbool _TIE_xt_FP_OLT_S(xtfloat s, xtfloat t);
|
||||
extern xtbool _TIE_xt_FP_UEQ_S(xtfloat s, xtfloat t);
|
||||
extern xtbool _TIE_xt_FP_ULE_S(xtfloat s, xtfloat t);
|
||||
extern xtbool _TIE_xt_FP_ULT_S(xtfloat s, xtfloat t);
|
||||
extern xtbool _TIE_xt_FP_UN_S(xtfloat s, xtfloat t);
|
||||
extern xtfloat _TIE_xt_FP_ADD_S(xtfloat s, xtfloat t);
|
||||
extern xtfloat _TIE_xt_FP_SUB_S(xtfloat s, xtfloat t);
|
||||
extern xtfloat _TIE_xt_FP_MUL_S(xtfloat s, xtfloat t);
|
||||
extern void _TIE_xt_FP_MADD_S(xtfloat r /*inout*/, xtfloat s, xtfloat t);
|
||||
extern void _TIE_xt_FP_MSUB_S(xtfloat r /*inout*/, xtfloat s, xtfloat t);
|
||||
extern xtfloat _TIE_xt_FP_RECIP0_S(xtfloat s);
|
||||
extern xtfloat _TIE_xt_FP_DIV0_S(xtfloat s);
|
||||
extern xtfloat _TIE_xt_FP_NEXP01_S(xtfloat s);
|
||||
extern xtfloat _TIE_xt_FP_CONST_S(immediate s);
|
||||
extern void _TIE_xt_FP_MKDADJ_S(xtfloat r /*inout*/, xtfloat s);
|
||||
extern xtfloat _TIE_xt_FP_MKSADJ_S(xtfloat s);
|
||||
extern void _TIE_xt_FP_ADDEXPM_S(xtfloat r /*inout*/, xtfloat s);
|
||||
extern void _TIE_xt_FP_ADDEXP_S(xtfloat r /*inout*/, xtfloat s);
|
||||
extern void _TIE_xt_FP_DIVN_S(xtfloat r /*inout*/, xtfloat s, xtfloat t);
|
||||
extern xtfloat _TIE_xt_FP_RSQRT0_S(xtfloat s);
|
||||
extern xtfloat _TIE_xt_FP_SQRT0_S(xtfloat s);
|
||||
extern void _TIE_xt_FP_MADDN_S(xtfloat r /*inout*/, xtfloat s, xtfloat t);
|
||||
extern xtfloat _TIE_xt_FP_DIV_S(xtfloat s, xtfloat t);
|
||||
extern xtfloat _TIE_xt_FP_SQRT_S(xtfloat s);
|
||||
extern xtfloat _TIE_xt_FP_RECIP_S(xtfloat s);
|
||||
extern xtfloat _TIE_xt_FP_RSQRT_S(xtfloat s);
|
||||
extern xtfloat _TIE_xt_FP_FSQRT_S(xtfloat s);
|
||||
#define XT_RUR_FCR _TIE_xt_FP_RUR_FCR
|
||||
#define RFCR _TIE_xt_FP_RUR_FCR
|
||||
#define RUR232 _TIE_xt_FP_RUR_FCR
|
||||
#define XT_WUR_FCR _TIE_xt_FP_WUR_FCR
|
||||
#define WFCR _TIE_xt_FP_WUR_FCR
|
||||
#define WUR232 _TIE_xt_FP_WUR_FCR
|
||||
#define XT_RUR_FSR _TIE_xt_FP_RUR_FSR
|
||||
#define RFSR _TIE_xt_FP_RUR_FSR
|
||||
#define RUR233 _TIE_xt_FP_RUR_FSR
|
||||
#define XT_WUR_FSR _TIE_xt_FP_WUR_FSR
|
||||
#define WFSR _TIE_xt_FP_WUR_FSR
|
||||
#define WUR233 _TIE_xt_FP_WUR_FSR
|
||||
#define XT_xtfloat_loadi _TIE_xt_FP_xtfloat_loadi
|
||||
#define XT_xtfloat_storei _TIE_xt_FP_xtfloat_storei
|
||||
#define XT_xtfloat_loadip _TIE_xt_FP_xtfloat_loadip
|
||||
#define XT_xtfloat_storeip _TIE_xt_FP_xtfloat_storeip
|
||||
#define XT_xtfloat_loadx _TIE_xt_FP_xtfloat_loadx
|
||||
#define XT_xtfloat_storex _TIE_xt_FP_xtfloat_storex
|
||||
#define XT_xtfloat_loadxp _TIE_xt_FP_xtfloat_loadxp
|
||||
#define XT_xtfloat_storexp _TIE_xt_FP_xtfloat_storexp
|
||||
#define XT_xtfloat_move _TIE_xt_FP_xtfloat_move
|
||||
#define XT_ROUND_S _TIE_xt_FP_ROUND_S
|
||||
#define XT_TRUNC_S _TIE_xt_FP_TRUNC_S
|
||||
#define XT_UTRUNC_S _TIE_xt_FP_UTRUNC_S
|
||||
#define XT_FLOOR_S _TIE_xt_FP_FLOOR_S
|
||||
#define XT_CEIL_S _TIE_xt_FP_CEIL_S
|
||||
#define XT_LSI _TIE_xt_FP_LSI
|
||||
#define XT_SSI _TIE_xt_FP_SSI
|
||||
#define XT_LSIP _TIE_xt_FP_LSIP
|
||||
#define XT_SSIP _TIE_xt_FP_SSIP
|
||||
#define XT_LSX _TIE_xt_FP_LSX
|
||||
#define XT_SSX _TIE_xt_FP_SSX
|
||||
#define XT_LSXP _TIE_xt_FP_LSXP
|
||||
#define XT_SSXP _TIE_xt_FP_SSXP
|
||||
#define XT_ABS_S _TIE_xt_FP_ABS_S
|
||||
#define XT_NEG_S _TIE_xt_FP_NEG_S
|
||||
#define XT_MOV_S _TIE_xt_FP_MOV_S
|
||||
#define XT_MOVEQZ_S _TIE_xt_FP_MOVEQZ_S
|
||||
#define XT_MOVNEZ_S _TIE_xt_FP_MOVNEZ_S
|
||||
#define XT_MOVLTZ_S _TIE_xt_FP_MOVLTZ_S
|
||||
#define XT_MOVGEZ_S _TIE_xt_FP_MOVGEZ_S
|
||||
#define XT_MOVF_S _TIE_xt_FP_MOVF_S
|
||||
#define XT_MOVT_S _TIE_xt_FP_MOVT_S
|
||||
#define XT_RFR _TIE_xt_FP_RFR
|
||||
#define XT_WFR _TIE_xt_FP_WFR
|
||||
#define XT_FLOAT_S _TIE_xt_FP_FLOAT_S
|
||||
#define XT_UFLOAT_S _TIE_xt_FP_UFLOAT_S
|
||||
#define XT_OEQ_S _TIE_xt_FP_OEQ_S
|
||||
#define XT_OLE_S _TIE_xt_FP_OLE_S
|
||||
#define XT_OLT_S _TIE_xt_FP_OLT_S
|
||||
#define XT_UEQ_S _TIE_xt_FP_UEQ_S
|
||||
#define XT_ULE_S _TIE_xt_FP_ULE_S
|
||||
#define XT_ULT_S _TIE_xt_FP_ULT_S
|
||||
#define XT_UN_S _TIE_xt_FP_UN_S
|
||||
#define XT_ADD_S _TIE_xt_FP_ADD_S
|
||||
#define XT_SUB_S _TIE_xt_FP_SUB_S
|
||||
#define XT_MUL_S _TIE_xt_FP_MUL_S
|
||||
#define XT_MADD_S _TIE_xt_FP_MADD_S
|
||||
#define XT_MSUB_S _TIE_xt_FP_MSUB_S
|
||||
#define XT_RECIP0_S _TIE_xt_FP_RECIP0_S
|
||||
#define XT_DIV0_S _TIE_xt_FP_DIV0_S
|
||||
#define XT_NEXP01_S _TIE_xt_FP_NEXP01_S
|
||||
#define XT_CONST_S _TIE_xt_FP_CONST_S
|
||||
#define XT_MKDADJ_S _TIE_xt_FP_MKDADJ_S
|
||||
#define XT_MKSADJ_S _TIE_xt_FP_MKSADJ_S
|
||||
#define XT_ADDEXPM_S _TIE_xt_FP_ADDEXPM_S
|
||||
#define XT_ADDEXP_S _TIE_xt_FP_ADDEXP_S
|
||||
#define XT_DIVN_S _TIE_xt_FP_DIVN_S
|
||||
#define XT_RSQRT0_S _TIE_xt_FP_RSQRT0_S
|
||||
#define XT_SQRT0_S _TIE_xt_FP_SQRT0_S
|
||||
#define XT_MADDN_S _TIE_xt_FP_MADDN_S
|
||||
#define XT_DIV_S _TIE_xt_FP_DIV_S
|
||||
#define XT_SQRT_S _TIE_xt_FP_SQRT_S
|
||||
#define XT_RECIP_S _TIE_xt_FP_RECIP_S
|
||||
#define XT_RSQRT_S _TIE_xt_FP_RSQRT_S
|
||||
#define XT_FSQRT_S _TIE_xt_FP_FSQRT_S
|
||||
|
||||
#ifndef RUR
|
||||
#define RUR(NUM) RUR##NUM()
|
||||
#endif
|
||||
|
||||
#ifndef WUR
|
||||
#define WUR(VAL, NUM) WUR##NUM(VAL)
|
||||
#endif
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_FP_HEADER */
|
239
tools/sdk/include/esp32/xtensa/tie/xt_MAC16.h
Normal file
239
tools/sdk/include/esp32/xtensa/tie/xt_MAC16.h
Normal file
@ -0,0 +1,239 @@
|
||||
/* Definitions for the xt_MAC16 TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_MAC16_HEADER
|
||||
#define _XTENSA_xt_MAC16_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
#include <xtensa/tie/xt_mul.h>
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern void _TIE_xt_MAC16_UMUL_AA_HH(unsigned ars, unsigned art);
|
||||
extern void _TIE_xt_MAC16_UMUL_AA_LH(unsigned ars, unsigned art);
|
||||
extern void _TIE_xt_MAC16_UMUL_AA_HL(unsigned ars, unsigned art);
|
||||
extern void _TIE_xt_MAC16_UMUL_AA_LL(unsigned ars, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MUL_AA_HH(unsigned ars, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MUL_AA_LH(unsigned ars, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MUL_AA_HL(unsigned ars, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MUL_AA_LL(unsigned ars, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MUL_AD_HH(unsigned ars, immediate my);
|
||||
extern void _TIE_xt_MAC16_MUL_AD_LH(unsigned ars, immediate my);
|
||||
extern void _TIE_xt_MAC16_MUL_AD_HL(unsigned ars, immediate my);
|
||||
extern void _TIE_xt_MAC16_MUL_AD_LL(unsigned ars, immediate my);
|
||||
extern void _TIE_xt_MAC16_MUL_DA_HH(immediate mx, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MUL_DA_LH(immediate mx, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MUL_DA_HL(immediate mx, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MUL_DA_LL(immediate mx, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MUL_DD_HH(immediate mx, immediate my);
|
||||
extern void _TIE_xt_MAC16_MUL_DD_LH(immediate mx, immediate my);
|
||||
extern void _TIE_xt_MAC16_MUL_DD_HL(immediate mx, immediate my);
|
||||
extern void _TIE_xt_MAC16_MUL_DD_LL(immediate mx, immediate my);
|
||||
extern void _TIE_xt_MAC16_MULS_AA_HH(unsigned ars, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MULS_AA_LH(unsigned ars, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MULS_AA_HL(unsigned ars, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MULS_AA_LL(unsigned ars, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MULA_AA_HH(unsigned ars, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MULA_AA_LH(unsigned ars, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MULA_AA_HL(unsigned ars, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MULA_AA_LL(unsigned ars, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MULS_AD_HH(unsigned ars, immediate my);
|
||||
extern void _TIE_xt_MAC16_MULS_AD_LH(unsigned ars, immediate my);
|
||||
extern void _TIE_xt_MAC16_MULS_AD_HL(unsigned ars, immediate my);
|
||||
extern void _TIE_xt_MAC16_MULS_AD_LL(unsigned ars, immediate my);
|
||||
extern void _TIE_xt_MAC16_MULA_AD_HH(unsigned ars, immediate my);
|
||||
extern void _TIE_xt_MAC16_MULA_AD_LH(unsigned ars, immediate my);
|
||||
extern void _TIE_xt_MAC16_MULA_AD_HL(unsigned ars, immediate my);
|
||||
extern void _TIE_xt_MAC16_MULA_AD_LL(unsigned ars, immediate my);
|
||||
extern void _TIE_xt_MAC16_MULS_DA_HH(immediate mx, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MULS_DA_LH(immediate mx, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MULS_DA_HL(immediate mx, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MULS_DA_LL(immediate mx, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MULA_DA_HH(immediate mx, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MULA_DA_LH(immediate mx, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MULA_DA_HL(immediate mx, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MULA_DA_LL(immediate mx, unsigned art);
|
||||
extern void _TIE_xt_MAC16_MULS_DD_HH(immediate mx, immediate my);
|
||||
extern void _TIE_xt_MAC16_MULS_DD_LH(immediate mx, immediate my);
|
||||
extern void _TIE_xt_MAC16_MULS_DD_HL(immediate mx, immediate my);
|
||||
extern void _TIE_xt_MAC16_MULS_DD_LL(immediate mx, immediate my);
|
||||
extern void _TIE_xt_MAC16_MULA_DD_HH(immediate mx, immediate my);
|
||||
extern void _TIE_xt_MAC16_MULA_DD_LH(immediate mx, immediate my);
|
||||
extern void _TIE_xt_MAC16_MULA_DD_HL(immediate mx, immediate my);
|
||||
extern void _TIE_xt_MAC16_MULA_DD_LL(immediate mx, immediate my);
|
||||
extern unsigned _TIE_xt_MAC16_RSR_M0(void);
|
||||
extern void _TIE_xt_MAC16_WSR_M0(unsigned art);
|
||||
extern void _TIE_xt_MAC16_XSR_M0(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_MAC16_RSR_M1(void);
|
||||
extern void _TIE_xt_MAC16_WSR_M1(unsigned art);
|
||||
extern void _TIE_xt_MAC16_XSR_M1(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_MAC16_RSR_M2(void);
|
||||
extern void _TIE_xt_MAC16_WSR_M2(unsigned art);
|
||||
extern void _TIE_xt_MAC16_XSR_M2(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_MAC16_RSR_M3(void);
|
||||
extern void _TIE_xt_MAC16_WSR_M3(unsigned art);
|
||||
extern void _TIE_xt_MAC16_XSR_M3(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_MAC16_RSR_ACCLO(void);
|
||||
extern void _TIE_xt_MAC16_WSR_ACCLO(unsigned art);
|
||||
extern void _TIE_xt_MAC16_XSR_ACCLO(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_MAC16_RSR_ACCHI(void);
|
||||
extern void _TIE_xt_MAC16_WSR_ACCHI(unsigned art);
|
||||
extern void _TIE_xt_MAC16_XSR_ACCHI(unsigned art /*inout*/);
|
||||
extern void _TIE_xt_MAC16_MULA_DA_LL_LDDEC(immediate w, const short * s /*inout*/, immediate x, int t);
|
||||
extern void _TIE_xt_MAC16_MULA_DA_LL_LDINC(immediate w, const short * s /*inout*/, immediate x, int t);
|
||||
extern void _TIE_xt_MAC16_MULA_DA_HL_LDDEC(immediate w, const short * s /*inout*/, immediate x, int t);
|
||||
extern void _TIE_xt_MAC16_MULA_DA_HL_LDINC(immediate w, const short * s /*inout*/, immediate x, int t);
|
||||
extern void _TIE_xt_MAC16_MULA_DA_LH_LDDEC(immediate w, const short * s /*inout*/, immediate x, int t);
|
||||
extern void _TIE_xt_MAC16_MULA_DA_LH_LDINC(immediate w, const short * s /*inout*/, immediate x, int t);
|
||||
extern void _TIE_xt_MAC16_MULA_DA_HH_LDDEC(immediate w, const short * s /*inout*/, immediate x, int t);
|
||||
extern void _TIE_xt_MAC16_MULA_DA_HH_LDINC(immediate w, const short * s /*inout*/, immediate x, int t);
|
||||
extern void _TIE_xt_MAC16_MULA_DD_LL_LDDEC(immediate w, const short * s /*inout*/, immediate x, immediate y);
|
||||
extern void _TIE_xt_MAC16_MULA_DD_LL_LDINC(immediate w, const short * s /*inout*/, immediate x, immediate y);
|
||||
extern void _TIE_xt_MAC16_MULA_DD_HL_LDDEC(immediate w, const short * s /*inout*/, immediate x, immediate y);
|
||||
extern void _TIE_xt_MAC16_MULA_DD_HL_LDINC(immediate w, const short * s /*inout*/, immediate x, immediate y);
|
||||
extern void _TIE_xt_MAC16_MULA_DD_LH_LDDEC(immediate w, const short * s /*inout*/, immediate x, immediate y);
|
||||
extern void _TIE_xt_MAC16_MULA_DD_LH_LDINC(immediate w, const short * s /*inout*/, immediate x, immediate y);
|
||||
extern void _TIE_xt_MAC16_MULA_DD_HH_LDDEC(immediate w, const short * s /*inout*/, immediate x, immediate y);
|
||||
extern void _TIE_xt_MAC16_MULA_DD_HH_LDINC(immediate w, const short * s /*inout*/, immediate x, immediate y);
|
||||
extern void _TIE_xt_MAC16_LDDEC(immediate w, const short * p /*inout*/);
|
||||
extern void _TIE_xt_MAC16_ULDDEC(immediate w, const unsigned short * p /*inout*/);
|
||||
extern void _TIE_xt_MAC16_SLDDEC(immediate w, const short * p /*inout*/);
|
||||
extern void _TIE_xt_MAC16_LDINC(immediate w, const short * p /*inout*/);
|
||||
extern void _TIE_xt_MAC16_ULDINC(immediate w, const unsigned short * p /*inout*/);
|
||||
extern void _TIE_xt_MAC16_SLDINC(immediate w, const short * p /*inout*/);
|
||||
extern int _TIE_xt_MAC16_RSR16(void);
|
||||
extern void _TIE_xt_MAC16_WSR16(int t);
|
||||
extern void _TIE_xt_MAC16_XSR16(int t /*inout*/);
|
||||
extern int _TIE_xt_MAC16_RSR17(void);
|
||||
extern void _TIE_xt_MAC16_WSR17(int t);
|
||||
extern void _TIE_xt_MAC16_XSR17(int t /*inout*/);
|
||||
#define XT_UMUL_AA_HH _TIE_xt_MAC16_UMUL_AA_HH
|
||||
#define XT_UMUL_AA_LH _TIE_xt_MAC16_UMUL_AA_LH
|
||||
#define XT_UMUL_AA_HL _TIE_xt_MAC16_UMUL_AA_HL
|
||||
#define XT_UMUL_AA_LL _TIE_xt_MAC16_UMUL_AA_LL
|
||||
#define XT_MUL_AA_HH _TIE_xt_MAC16_MUL_AA_HH
|
||||
#define XT_MUL_AA_LH _TIE_xt_MAC16_MUL_AA_LH
|
||||
#define XT_MUL_AA_HL _TIE_xt_MAC16_MUL_AA_HL
|
||||
#define XT_MUL_AA_LL _TIE_xt_MAC16_MUL_AA_LL
|
||||
#define XT_MUL_AD_HH _TIE_xt_MAC16_MUL_AD_HH
|
||||
#define XT_MUL_AD_LH _TIE_xt_MAC16_MUL_AD_LH
|
||||
#define XT_MUL_AD_HL _TIE_xt_MAC16_MUL_AD_HL
|
||||
#define XT_MUL_AD_LL _TIE_xt_MAC16_MUL_AD_LL
|
||||
#define XT_MUL_DA_HH _TIE_xt_MAC16_MUL_DA_HH
|
||||
#define XT_MUL_DA_LH _TIE_xt_MAC16_MUL_DA_LH
|
||||
#define XT_MUL_DA_HL _TIE_xt_MAC16_MUL_DA_HL
|
||||
#define XT_MUL_DA_LL _TIE_xt_MAC16_MUL_DA_LL
|
||||
#define XT_MUL_DD_HH _TIE_xt_MAC16_MUL_DD_HH
|
||||
#define XT_MUL_DD_LH _TIE_xt_MAC16_MUL_DD_LH
|
||||
#define XT_MUL_DD_HL _TIE_xt_MAC16_MUL_DD_HL
|
||||
#define XT_MUL_DD_LL _TIE_xt_MAC16_MUL_DD_LL
|
||||
#define XT_MULS_AA_HH _TIE_xt_MAC16_MULS_AA_HH
|
||||
#define XT_MULS_AA_LH _TIE_xt_MAC16_MULS_AA_LH
|
||||
#define XT_MULS_AA_HL _TIE_xt_MAC16_MULS_AA_HL
|
||||
#define XT_MULS_AA_LL _TIE_xt_MAC16_MULS_AA_LL
|
||||
#define XT_MULA_AA_HH _TIE_xt_MAC16_MULA_AA_HH
|
||||
#define XT_MULA_AA_LH _TIE_xt_MAC16_MULA_AA_LH
|
||||
#define XT_MULA_AA_HL _TIE_xt_MAC16_MULA_AA_HL
|
||||
#define XT_MULA_AA_LL _TIE_xt_MAC16_MULA_AA_LL
|
||||
#define XT_MULS_AD_HH _TIE_xt_MAC16_MULS_AD_HH
|
||||
#define XT_MULS_AD_LH _TIE_xt_MAC16_MULS_AD_LH
|
||||
#define XT_MULS_AD_HL _TIE_xt_MAC16_MULS_AD_HL
|
||||
#define XT_MULS_AD_LL _TIE_xt_MAC16_MULS_AD_LL
|
||||
#define XT_MULA_AD_HH _TIE_xt_MAC16_MULA_AD_HH
|
||||
#define XT_MULA_AD_LH _TIE_xt_MAC16_MULA_AD_LH
|
||||
#define XT_MULA_AD_HL _TIE_xt_MAC16_MULA_AD_HL
|
||||
#define XT_MULA_AD_LL _TIE_xt_MAC16_MULA_AD_LL
|
||||
#define XT_MULS_DA_HH _TIE_xt_MAC16_MULS_DA_HH
|
||||
#define XT_MULS_DA_LH _TIE_xt_MAC16_MULS_DA_LH
|
||||
#define XT_MULS_DA_HL _TIE_xt_MAC16_MULS_DA_HL
|
||||
#define XT_MULS_DA_LL _TIE_xt_MAC16_MULS_DA_LL
|
||||
#define XT_MULA_DA_HH _TIE_xt_MAC16_MULA_DA_HH
|
||||
#define XT_MULA_DA_LH _TIE_xt_MAC16_MULA_DA_LH
|
||||
#define XT_MULA_DA_HL _TIE_xt_MAC16_MULA_DA_HL
|
||||
#define XT_MULA_DA_LL _TIE_xt_MAC16_MULA_DA_LL
|
||||
#define XT_MULS_DD_HH _TIE_xt_MAC16_MULS_DD_HH
|
||||
#define XT_MULS_DD_LH _TIE_xt_MAC16_MULS_DD_LH
|
||||
#define XT_MULS_DD_HL _TIE_xt_MAC16_MULS_DD_HL
|
||||
#define XT_MULS_DD_LL _TIE_xt_MAC16_MULS_DD_LL
|
||||
#define XT_MULA_DD_HH _TIE_xt_MAC16_MULA_DD_HH
|
||||
#define XT_MULA_DD_LH _TIE_xt_MAC16_MULA_DD_LH
|
||||
#define XT_MULA_DD_HL _TIE_xt_MAC16_MULA_DD_HL
|
||||
#define XT_MULA_DD_LL _TIE_xt_MAC16_MULA_DD_LL
|
||||
#define XT_RSR_M0 _TIE_xt_MAC16_RSR_M0
|
||||
#define XT_WSR_M0 _TIE_xt_MAC16_WSR_M0
|
||||
#define XT_XSR_M0 _TIE_xt_MAC16_XSR_M0
|
||||
#define XT_RSR_M1 _TIE_xt_MAC16_RSR_M1
|
||||
#define XT_WSR_M1 _TIE_xt_MAC16_WSR_M1
|
||||
#define XT_XSR_M1 _TIE_xt_MAC16_XSR_M1
|
||||
#define XT_RSR_M2 _TIE_xt_MAC16_RSR_M2
|
||||
#define XT_WSR_M2 _TIE_xt_MAC16_WSR_M2
|
||||
#define XT_XSR_M2 _TIE_xt_MAC16_XSR_M2
|
||||
#define XT_RSR_M3 _TIE_xt_MAC16_RSR_M3
|
||||
#define XT_WSR_M3 _TIE_xt_MAC16_WSR_M3
|
||||
#define XT_XSR_M3 _TIE_xt_MAC16_XSR_M3
|
||||
#define XT_RSR_ACCLO _TIE_xt_MAC16_RSR_ACCLO
|
||||
#define XT_WSR_ACCLO _TIE_xt_MAC16_WSR_ACCLO
|
||||
#define XT_XSR_ACCLO _TIE_xt_MAC16_XSR_ACCLO
|
||||
#define XT_RSR_ACCHI _TIE_xt_MAC16_RSR_ACCHI
|
||||
#define XT_WSR_ACCHI _TIE_xt_MAC16_WSR_ACCHI
|
||||
#define XT_XSR_ACCHI _TIE_xt_MAC16_XSR_ACCHI
|
||||
#define XT_MULA_DA_LL_LDDEC _TIE_xt_MAC16_MULA_DA_LL_LDDEC
|
||||
#define XT_MULA_DA_LL_LDINC _TIE_xt_MAC16_MULA_DA_LL_LDINC
|
||||
#define XT_MULA_DA_HL_LDDEC _TIE_xt_MAC16_MULA_DA_HL_LDDEC
|
||||
#define XT_MULA_DA_HL_LDINC _TIE_xt_MAC16_MULA_DA_HL_LDINC
|
||||
#define XT_MULA_DA_LH_LDDEC _TIE_xt_MAC16_MULA_DA_LH_LDDEC
|
||||
#define XT_MULA_DA_LH_LDINC _TIE_xt_MAC16_MULA_DA_LH_LDINC
|
||||
#define XT_MULA_DA_HH_LDDEC _TIE_xt_MAC16_MULA_DA_HH_LDDEC
|
||||
#define XT_MULA_DA_HH_LDINC _TIE_xt_MAC16_MULA_DA_HH_LDINC
|
||||
#define XT_MULA_DD_LL_LDDEC _TIE_xt_MAC16_MULA_DD_LL_LDDEC
|
||||
#define XT_MULA_DD_LL_LDINC _TIE_xt_MAC16_MULA_DD_LL_LDINC
|
||||
#define XT_MULA_DD_HL_LDDEC _TIE_xt_MAC16_MULA_DD_HL_LDDEC
|
||||
#define XT_MULA_DD_HL_LDINC _TIE_xt_MAC16_MULA_DD_HL_LDINC
|
||||
#define XT_MULA_DD_LH_LDDEC _TIE_xt_MAC16_MULA_DD_LH_LDDEC
|
||||
#define XT_MULA_DD_LH_LDINC _TIE_xt_MAC16_MULA_DD_LH_LDINC
|
||||
#define XT_MULA_DD_HH_LDDEC _TIE_xt_MAC16_MULA_DD_HH_LDDEC
|
||||
#define XT_MULA_DD_HH_LDINC _TIE_xt_MAC16_MULA_DD_HH_LDINC
|
||||
#define XT_LDDEC _TIE_xt_MAC16_LDDEC
|
||||
#define XT_ULDDEC _TIE_xt_MAC16_ULDDEC
|
||||
#define XT_SLDDEC _TIE_xt_MAC16_SLDDEC
|
||||
#define XT_LDINC _TIE_xt_MAC16_LDINC
|
||||
#define XT_ULDINC _TIE_xt_MAC16_ULDINC
|
||||
#define XT_SLDINC _TIE_xt_MAC16_SLDINC
|
||||
#define XT_RSR16 _TIE_xt_MAC16_RSR16
|
||||
#define XT_WSR16 _TIE_xt_MAC16_WSR16
|
||||
#define XT_XSR16 _TIE_xt_MAC16_XSR16
|
||||
#define XT_RSR17 _TIE_xt_MAC16_RSR17
|
||||
#define XT_WSR17 _TIE_xt_MAC16_WSR17
|
||||
#define XT_XSR17 _TIE_xt_MAC16_XSR17
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_MAC16_HEADER */
|
24
tools/sdk/include/esp32/xtensa/tie/xt_MUL32.h
Normal file
24
tools/sdk/include/esp32/xtensa/tie/xt_MUL32.h
Normal file
@ -0,0 +1,24 @@
|
||||
/* Definitions for the 32-bit Integer Multiply Option. */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2009 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* NOTE: This file exists only for backward compatibility with RB-200X.x
|
||||
and earlier Xtensa releases. Starting with RC-2009.0 you should use
|
||||
<xtensa/tie/xt_mul.h>. */
|
||||
|
||||
#ifndef _XTENSA_xt_MUL32_HEADER
|
||||
#define _XTENSA_xt_MUL32_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
|
||||
#include <xtensa/tie/xt_mul.h>
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
#endif /* !_XTENSA_xt_MUL32_HEADER */
|
69
tools/sdk/include/esp32/xtensa/tie/xt_booleans.h
Normal file
69
tools/sdk/include/esp32/xtensa/tie/xt_booleans.h
Normal file
@ -0,0 +1,69 @@
|
||||
/* Definitions for the xt_booleans TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_booleans_HEADER
|
||||
#define _XTENSA_xt_booleans_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
typedef _TIE_xtbool xtbool;
|
||||
typedef _TIE_xtbool2 xtbool2;
|
||||
typedef _TIE_xtbool4 xtbool4;
|
||||
typedef _TIE_xtbool8 xtbool8;
|
||||
typedef _TIE_xtbool16 xtbool16;
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern xtbool _TIE_xt_booleans_XORB(xtbool bs, xtbool bt);
|
||||
extern xtbool _TIE_xt_booleans_ORBC(xtbool bs, xtbool bt);
|
||||
extern xtbool _TIE_xt_booleans_ORB(xtbool bs, xtbool bt);
|
||||
extern xtbool _TIE_xt_booleans_ANDBC(xtbool bs, xtbool bt);
|
||||
extern xtbool _TIE_xt_booleans_ANDB(xtbool bs, xtbool bt);
|
||||
extern xtbool _TIE_xt_booleans_ALL4(xtbool4 bs4);
|
||||
extern xtbool _TIE_xt_booleans_ANY4(xtbool4 bs4);
|
||||
extern xtbool _TIE_xt_booleans_ALL8(xtbool8 bs8);
|
||||
extern xtbool _TIE_xt_booleans_ANY8(xtbool8 bs8);
|
||||
extern void _TIE_xt_booleans_MOVT(unsigned arr /*inout*/, unsigned ars, xtbool bt);
|
||||
extern void _TIE_xt_booleans_MOVF(unsigned arr /*inout*/, unsigned ars, xtbool bt);
|
||||
#define XT_XORB _TIE_xt_booleans_XORB
|
||||
#define XT_ORBC _TIE_xt_booleans_ORBC
|
||||
#define XT_ORB _TIE_xt_booleans_ORB
|
||||
#define XT_ANDBC _TIE_xt_booleans_ANDBC
|
||||
#define XT_ANDB _TIE_xt_booleans_ANDB
|
||||
#define XT_ALL4 _TIE_xt_booleans_ALL4
|
||||
#define XT_ANY4 _TIE_xt_booleans_ANY4
|
||||
#define XT_ALL8 _TIE_xt_booleans_ALL8
|
||||
#define XT_ANY8 _TIE_xt_booleans_ANY8
|
||||
#define XT_MOVT _TIE_xt_booleans_MOVT
|
||||
#define XT_MOVF _TIE_xt_booleans_MOVF
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_booleans_HEADER */
|
48
tools/sdk/include/esp32/xtensa/tie/xt_coprocessors.h
Normal file
48
tools/sdk/include/esp32/xtensa/tie/xt_coprocessors.h
Normal file
@ -0,0 +1,48 @@
|
||||
/* Definitions for the xt_coprocessors TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_coprocessors_HEADER
|
||||
#define _XTENSA_xt_coprocessors_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern unsigned _TIE_xt_coprocessors_RSR_CPENABLE(void);
|
||||
extern void _TIE_xt_coprocessors_WSR_CPENABLE(unsigned art);
|
||||
extern void _TIE_xt_coprocessors_XSR_CPENABLE(unsigned art /*inout*/);
|
||||
#define XT_RSR_CPENABLE _TIE_xt_coprocessors_RSR_CPENABLE
|
||||
#define XT_WSR_CPENABLE _TIE_xt_coprocessors_WSR_CPENABLE
|
||||
#define XT_XSR_CPENABLE _TIE_xt_coprocessors_XSR_CPENABLE
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_coprocessors_HEADER */
|
395
tools/sdk/include/esp32/xtensa/tie/xt_core.h
Normal file
395
tools/sdk/include/esp32/xtensa/tie/xt_core.h
Normal file
@ -0,0 +1,395 @@
|
||||
/* Definitions for the xt_core TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_core_HEADER
|
||||
#define _XTENSA_xt_core_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern void _TIE_xt_core_ILL(void);
|
||||
extern void _TIE_xt_core_NOP(void);
|
||||
extern void _TIE_xt_core_SIMCALL(void);
|
||||
extern void _TIE_xt_core_MEMW(void);
|
||||
extern void _TIE_xt_core_EXTW(void);
|
||||
extern void _TIE_xt_core_ISYNC(void);
|
||||
extern void _TIE_xt_core_DSYNC(void);
|
||||
extern void _TIE_xt_core_ESYNC(void);
|
||||
extern void _TIE_xt_core_RSYNC(void);
|
||||
extern unsigned _TIE_xt_core_RSR_LBEG(void);
|
||||
extern void _TIE_xt_core_WSR_LBEG(unsigned art);
|
||||
extern void _TIE_xt_core_XSR_LBEG(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_CONFIGID0(void);
|
||||
extern void _TIE_xt_core_WSR_CONFIGID0(unsigned art);
|
||||
extern unsigned _TIE_xt_core_RSR_CONFIGID1(void);
|
||||
extern unsigned _TIE_xt_core_RUR_THREADPTR(void);
|
||||
extern void _TIE_xt_core_WUR_THREADPTR(unsigned v);
|
||||
extern unsigned _TIE_xt_core_uint32_loadi(const unsigned * p, immediate o);
|
||||
extern void _TIE_xt_core_uint32_storei(unsigned c, unsigned * p, immediate o);
|
||||
extern unsigned _TIE_xt_core_uint32_move(unsigned b);
|
||||
extern int _TIE_xt_core_ADDI(int s, immediate i);
|
||||
extern int _TIE_xt_core_OR(int s, int t);
|
||||
extern int _TIE_xt_core_L32I(const int * p, immediate i);
|
||||
extern void _TIE_xt_core_S32I(int r, int * p, immediate i);
|
||||
extern void _TIE_xt_core_S32NB(int r, int * p, immediate i);
|
||||
extern unsigned char _TIE_xt_core_L8UI(const unsigned char * p, immediate i);
|
||||
extern void _TIE_xt_core_S8I(signed char r, signed char * p, immediate i);
|
||||
extern unsigned short _TIE_xt_core_L16UI(const unsigned short * p, immediate i);
|
||||
extern short _TIE_xt_core_L16SI(const short * p, immediate i);
|
||||
extern void _TIE_xt_core_S16I(short r, short * p, immediate i);
|
||||
extern int _TIE_xt_core_ADDMI(int s, immediate i);
|
||||
extern int _TIE_xt_core_ADD(int s, int t);
|
||||
extern int _TIE_xt_core_ADDX2(int s, int t);
|
||||
extern int _TIE_xt_core_ADDX4(int s, int t);
|
||||
extern int _TIE_xt_core_ADDX8(int s, int t);
|
||||
extern int _TIE_xt_core_SUB(int s, int t);
|
||||
extern int _TIE_xt_core_SUBX2(int s, int t);
|
||||
extern int _TIE_xt_core_SUBX4(int s, int t);
|
||||
extern int _TIE_xt_core_SUBX8(int s, int t);
|
||||
extern int _TIE_xt_core_AND(int s, int t);
|
||||
extern int _TIE_xt_core_XOR(int s, int t);
|
||||
extern unsigned _TIE_xt_core_EXTUI(unsigned t, immediate i, immediate o);
|
||||
extern int _TIE_xt_core_MOVI(immediate i);
|
||||
extern void _TIE_xt_core_MOVEQZ(int r /*inout*/, int s, int t);
|
||||
extern void _TIE_xt_core_MOVNEZ(int r /*inout*/, int s, int t);
|
||||
extern void _TIE_xt_core_MOVLTZ(int r /*inout*/, int s, int t);
|
||||
extern void _TIE_xt_core_MOVGEZ(int r /*inout*/, int s, int t);
|
||||
extern int _TIE_xt_core_NEG(int t);
|
||||
extern int _TIE_xt_core_ABS(int t);
|
||||
extern void _TIE_xt_core_SSR(int s);
|
||||
extern void _TIE_xt_core_SSL(int s);
|
||||
extern void _TIE_xt_core_SSA8L(int s);
|
||||
extern void _TIE_xt_core_SSA8B(int s);
|
||||
extern void _TIE_xt_core_SSAI(immediate i);
|
||||
extern int _TIE_xt_core_SLL(int s);
|
||||
extern int _TIE_xt_core_SRC(int s, int t);
|
||||
extern unsigned _TIE_xt_core_SRL(unsigned t);
|
||||
extern int _TIE_xt_core_SRA(int t);
|
||||
extern int _TIE_xt_core_SLLI(int s, immediate i);
|
||||
extern int _TIE_xt_core_SRAI(int t, immediate i);
|
||||
extern unsigned _TIE_xt_core_SRLI(unsigned t, immediate i);
|
||||
extern int _TIE_xt_core_SSAI_SRC(int src1, int src2, immediate amount);
|
||||
extern int _TIE_xt_core_SSR_SRC(int src1, int src2, int amount);
|
||||
extern int _TIE_xt_core_WSR_SAR_SRC(int src1, int src2, int amount);
|
||||
extern int _TIE_xt_core_SSR_SRA(int src, int amount);
|
||||
extern unsigned _TIE_xt_core_SSR_SRL(unsigned src, int amount);
|
||||
extern int _TIE_xt_core_SSL_SLL(int src, int amount);
|
||||
extern int _TIE_xt_core_RSIL(immediate t);
|
||||
extern int _TIE_xt_core_RSR_LEND(void);
|
||||
extern void _TIE_xt_core_WSR_LEND(int t);
|
||||
extern void _TIE_xt_core_XSR_LEND(int t /*inout*/);
|
||||
extern int _TIE_xt_core_RSR_LCOUNT(void);
|
||||
extern void _TIE_xt_core_WSR_LCOUNT(int t);
|
||||
extern void _TIE_xt_core_XSR_LCOUNT(int t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_SAR(void);
|
||||
extern void _TIE_xt_core_WSR_SAR(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_SAR(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_MEMCTL(void);
|
||||
extern void _TIE_xt_core_WSR_MEMCTL(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_MEMCTL(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_LITBASE(void);
|
||||
extern void _TIE_xt_core_WSR_LITBASE(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_LITBASE(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_PS(void);
|
||||
extern void _TIE_xt_core_WSR_PS(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_PS(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EPC1(void);
|
||||
extern void _TIE_xt_core_WSR_EPC1(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EPC1(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EXCSAVE1(void);
|
||||
extern void _TIE_xt_core_WSR_EXCSAVE1(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EXCSAVE1(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EPC2(void);
|
||||
extern void _TIE_xt_core_WSR_EPC2(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EPC2(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EXCSAVE2(void);
|
||||
extern void _TIE_xt_core_WSR_EXCSAVE2(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EXCSAVE2(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EPC3(void);
|
||||
extern void _TIE_xt_core_WSR_EPC3(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EPC3(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EXCSAVE3(void);
|
||||
extern void _TIE_xt_core_WSR_EXCSAVE3(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EXCSAVE3(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EPC4(void);
|
||||
extern void _TIE_xt_core_WSR_EPC4(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EPC4(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EXCSAVE4(void);
|
||||
extern void _TIE_xt_core_WSR_EXCSAVE4(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EXCSAVE4(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EPC5(void);
|
||||
extern void _TIE_xt_core_WSR_EPC5(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EPC5(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EXCSAVE5(void);
|
||||
extern void _TIE_xt_core_WSR_EXCSAVE5(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EXCSAVE5(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EPC6(void);
|
||||
extern void _TIE_xt_core_WSR_EPC6(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EPC6(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EXCSAVE6(void);
|
||||
extern void _TIE_xt_core_WSR_EXCSAVE6(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EXCSAVE6(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EPC7(void);
|
||||
extern void _TIE_xt_core_WSR_EPC7(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EPC7(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EXCSAVE7(void);
|
||||
extern void _TIE_xt_core_WSR_EXCSAVE7(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EXCSAVE7(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_VECBASE(void);
|
||||
extern void _TIE_xt_core_WSR_VECBASE(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_VECBASE(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EPS2(void);
|
||||
extern void _TIE_xt_core_WSR_EPS2(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EPS2(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EPS3(void);
|
||||
extern void _TIE_xt_core_WSR_EPS3(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EPS3(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EPS4(void);
|
||||
extern void _TIE_xt_core_WSR_EPS4(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EPS4(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EPS5(void);
|
||||
extern void _TIE_xt_core_WSR_EPS5(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EPS5(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EPS6(void);
|
||||
extern void _TIE_xt_core_WSR_EPS6(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EPS6(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EPS7(void);
|
||||
extern void _TIE_xt_core_WSR_EPS7(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EPS7(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EXCCAUSE(void);
|
||||
extern void _TIE_xt_core_WSR_EXCCAUSE(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EXCCAUSE(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_EXCVADDR(void);
|
||||
extern void _TIE_xt_core_WSR_EXCVADDR(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_EXCVADDR(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_DEPC(void);
|
||||
extern void _TIE_xt_core_WSR_DEPC(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_DEPC(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_MISC0(void);
|
||||
extern void _TIE_xt_core_WSR_MISC0(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_MISC0(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_MISC1(void);
|
||||
extern void _TIE_xt_core_WSR_MISC1(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_MISC1(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_MISC2(void);
|
||||
extern void _TIE_xt_core_WSR_MISC2(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_MISC2(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_core_RSR_MISC3(void);
|
||||
extern void _TIE_xt_core_WSR_MISC3(unsigned t);
|
||||
extern void _TIE_xt_core_XSR_MISC3(unsigned t /*inout*/);
|
||||
extern int _TIE_xt_core_RSR_PRID(void);
|
||||
#define XT_ILL _TIE_xt_core_ILL
|
||||
#define XT_NOP _TIE_xt_core_NOP
|
||||
#define XT_SIMCALL _TIE_xt_core_SIMCALL
|
||||
#define XT_MEMW _TIE_xt_core_MEMW
|
||||
#define XT_EXTW _TIE_xt_core_EXTW
|
||||
#define XT_ISYNC _TIE_xt_core_ISYNC
|
||||
#define XT_DSYNC _TIE_xt_core_DSYNC
|
||||
#define XT_ESYNC _TIE_xt_core_ESYNC
|
||||
#define XT_RSYNC _TIE_xt_core_RSYNC
|
||||
#define XT_RSR_LBEG _TIE_xt_core_RSR_LBEG
|
||||
#define XT_WSR_LBEG _TIE_xt_core_WSR_LBEG
|
||||
#define XT_XSR_LBEG _TIE_xt_core_XSR_LBEG
|
||||
#define XT_RSR_CONFIGID0 _TIE_xt_core_RSR_CONFIGID0
|
||||
#define XT_WSR_CONFIGID0 _TIE_xt_core_WSR_CONFIGID0
|
||||
#define XT_RSR_CONFIGID1 _TIE_xt_core_RSR_CONFIGID1
|
||||
#define XT_RUR_THREADPTR _TIE_xt_core_RUR_THREADPTR
|
||||
#define RTHREADPTR _TIE_xt_core_RUR_THREADPTR
|
||||
#define RUR231 _TIE_xt_core_RUR_THREADPTR
|
||||
#define XT_WUR_THREADPTR _TIE_xt_core_WUR_THREADPTR
|
||||
#define WTHREADPTR _TIE_xt_core_WUR_THREADPTR
|
||||
#define WUR231 _TIE_xt_core_WUR_THREADPTR
|
||||
#define XT_uint32_loadi _TIE_xt_core_uint32_loadi
|
||||
#define XT_uint32_storei _TIE_xt_core_uint32_storei
|
||||
#define XT_uint32_move _TIE_xt_core_uint32_move
|
||||
#define XT_ADDI _TIE_xt_core_ADDI
|
||||
#define XT_OR _TIE_xt_core_OR
|
||||
#define XT_L32I _TIE_xt_core_L32I
|
||||
#define XT_S32I _TIE_xt_core_S32I
|
||||
#define XT_S32NB _TIE_xt_core_S32NB
|
||||
#define XT_L8UI _TIE_xt_core_L8UI
|
||||
#define XT_S8I _TIE_xt_core_S8I
|
||||
#define XT_L16UI _TIE_xt_core_L16UI
|
||||
#define XT_L16SI _TIE_xt_core_L16SI
|
||||
#define XT_S16I _TIE_xt_core_S16I
|
||||
#define XT_ADDMI _TIE_xt_core_ADDMI
|
||||
#define XT_ADD _TIE_xt_core_ADD
|
||||
#define XT_ADDX2 _TIE_xt_core_ADDX2
|
||||
#define XT_ADDX4 _TIE_xt_core_ADDX4
|
||||
#define XT_ADDX8 _TIE_xt_core_ADDX8
|
||||
#define XT_SUB _TIE_xt_core_SUB
|
||||
#define XT_SUBX2 _TIE_xt_core_SUBX2
|
||||
#define XT_SUBX4 _TIE_xt_core_SUBX4
|
||||
#define XT_SUBX8 _TIE_xt_core_SUBX8
|
||||
#define XT_AND _TIE_xt_core_AND
|
||||
#define XT_XOR _TIE_xt_core_XOR
|
||||
#define XT_EXTUI _TIE_xt_core_EXTUI
|
||||
#define XT_MOVI _TIE_xt_core_MOVI
|
||||
#define XT_MOVEQZ _TIE_xt_core_MOVEQZ
|
||||
#define XT_MOVNEZ _TIE_xt_core_MOVNEZ
|
||||
#define XT_MOVLTZ _TIE_xt_core_MOVLTZ
|
||||
#define XT_MOVGEZ _TIE_xt_core_MOVGEZ
|
||||
#define XT_NEG _TIE_xt_core_NEG
|
||||
#define XT_ABS _TIE_xt_core_ABS
|
||||
#define XT_SSR _TIE_xt_core_SSR
|
||||
#define XT_SSL _TIE_xt_core_SSL
|
||||
#define XT_SSA8L _TIE_xt_core_SSA8L
|
||||
#define XT_SSA8B _TIE_xt_core_SSA8B
|
||||
#define XT_SSAI _TIE_xt_core_SSAI
|
||||
#define XT_SLL _TIE_xt_core_SLL
|
||||
#define XT_SRC _TIE_xt_core_SRC
|
||||
#define XT_SRL _TIE_xt_core_SRL
|
||||
#define XT_SRA _TIE_xt_core_SRA
|
||||
#define XT_SLLI _TIE_xt_core_SLLI
|
||||
#define XT_SRAI _TIE_xt_core_SRAI
|
||||
#define XT_SRLI _TIE_xt_core_SRLI
|
||||
#define XT_SSAI_SRC _TIE_xt_core_SSAI_SRC
|
||||
#define XT_SSR_SRC _TIE_xt_core_SSR_SRC
|
||||
#define XT_WSR_SAR_SRC _TIE_xt_core_WSR_SAR_SRC
|
||||
#define XT_SSR_SRA _TIE_xt_core_SSR_SRA
|
||||
#define XT_SSR_SRL _TIE_xt_core_SSR_SRL
|
||||
#define XT_SSL_SLL _TIE_xt_core_SSL_SLL
|
||||
#define XT_RSIL _TIE_xt_core_RSIL
|
||||
#define XT_RSR_LEND _TIE_xt_core_RSR_LEND
|
||||
#define XT_WSR_LEND _TIE_xt_core_WSR_LEND
|
||||
#define XT_XSR_LEND _TIE_xt_core_XSR_LEND
|
||||
#define XT_RSR_LCOUNT _TIE_xt_core_RSR_LCOUNT
|
||||
#define XT_WSR_LCOUNT _TIE_xt_core_WSR_LCOUNT
|
||||
#define XT_XSR_LCOUNT _TIE_xt_core_XSR_LCOUNT
|
||||
#define XT_RSR_SAR _TIE_xt_core_RSR_SAR
|
||||
#define XT_WSR_SAR _TIE_xt_core_WSR_SAR
|
||||
#define XT_XSR_SAR _TIE_xt_core_XSR_SAR
|
||||
#define XT_RSR_MEMCTL _TIE_xt_core_RSR_MEMCTL
|
||||
#define XT_WSR_MEMCTL _TIE_xt_core_WSR_MEMCTL
|
||||
#define XT_XSR_MEMCTL _TIE_xt_core_XSR_MEMCTL
|
||||
#define XT_RSR_LITBASE _TIE_xt_core_RSR_LITBASE
|
||||
#define XT_WSR_LITBASE _TIE_xt_core_WSR_LITBASE
|
||||
#define XT_XSR_LITBASE _TIE_xt_core_XSR_LITBASE
|
||||
#define XT_RSR_PS _TIE_xt_core_RSR_PS
|
||||
#define XT_WSR_PS _TIE_xt_core_WSR_PS
|
||||
#define XT_XSR_PS _TIE_xt_core_XSR_PS
|
||||
#define XT_RSR_EPC1 _TIE_xt_core_RSR_EPC1
|
||||
#define XT_WSR_EPC1 _TIE_xt_core_WSR_EPC1
|
||||
#define XT_XSR_EPC1 _TIE_xt_core_XSR_EPC1
|
||||
#define XT_RSR_EXCSAVE1 _TIE_xt_core_RSR_EXCSAVE1
|
||||
#define XT_WSR_EXCSAVE1 _TIE_xt_core_WSR_EXCSAVE1
|
||||
#define XT_XSR_EXCSAVE1 _TIE_xt_core_XSR_EXCSAVE1
|
||||
#define XT_RSR_EPC2 _TIE_xt_core_RSR_EPC2
|
||||
#define XT_WSR_EPC2 _TIE_xt_core_WSR_EPC2
|
||||
#define XT_XSR_EPC2 _TIE_xt_core_XSR_EPC2
|
||||
#define XT_RSR_EXCSAVE2 _TIE_xt_core_RSR_EXCSAVE2
|
||||
#define XT_WSR_EXCSAVE2 _TIE_xt_core_WSR_EXCSAVE2
|
||||
#define XT_XSR_EXCSAVE2 _TIE_xt_core_XSR_EXCSAVE2
|
||||
#define XT_RSR_EPC3 _TIE_xt_core_RSR_EPC3
|
||||
#define XT_WSR_EPC3 _TIE_xt_core_WSR_EPC3
|
||||
#define XT_XSR_EPC3 _TIE_xt_core_XSR_EPC3
|
||||
#define XT_RSR_EXCSAVE3 _TIE_xt_core_RSR_EXCSAVE3
|
||||
#define XT_WSR_EXCSAVE3 _TIE_xt_core_WSR_EXCSAVE3
|
||||
#define XT_XSR_EXCSAVE3 _TIE_xt_core_XSR_EXCSAVE3
|
||||
#define XT_RSR_EPC4 _TIE_xt_core_RSR_EPC4
|
||||
#define XT_WSR_EPC4 _TIE_xt_core_WSR_EPC4
|
||||
#define XT_XSR_EPC4 _TIE_xt_core_XSR_EPC4
|
||||
#define XT_RSR_EXCSAVE4 _TIE_xt_core_RSR_EXCSAVE4
|
||||
#define XT_WSR_EXCSAVE4 _TIE_xt_core_WSR_EXCSAVE4
|
||||
#define XT_XSR_EXCSAVE4 _TIE_xt_core_XSR_EXCSAVE4
|
||||
#define XT_RSR_EPC5 _TIE_xt_core_RSR_EPC5
|
||||
#define XT_WSR_EPC5 _TIE_xt_core_WSR_EPC5
|
||||
#define XT_XSR_EPC5 _TIE_xt_core_XSR_EPC5
|
||||
#define XT_RSR_EXCSAVE5 _TIE_xt_core_RSR_EXCSAVE5
|
||||
#define XT_WSR_EXCSAVE5 _TIE_xt_core_WSR_EXCSAVE5
|
||||
#define XT_XSR_EXCSAVE5 _TIE_xt_core_XSR_EXCSAVE5
|
||||
#define XT_RSR_EPC6 _TIE_xt_core_RSR_EPC6
|
||||
#define XT_WSR_EPC6 _TIE_xt_core_WSR_EPC6
|
||||
#define XT_XSR_EPC6 _TIE_xt_core_XSR_EPC6
|
||||
#define XT_RSR_EXCSAVE6 _TIE_xt_core_RSR_EXCSAVE6
|
||||
#define XT_WSR_EXCSAVE6 _TIE_xt_core_WSR_EXCSAVE6
|
||||
#define XT_XSR_EXCSAVE6 _TIE_xt_core_XSR_EXCSAVE6
|
||||
#define XT_RSR_EPC7 _TIE_xt_core_RSR_EPC7
|
||||
#define XT_WSR_EPC7 _TIE_xt_core_WSR_EPC7
|
||||
#define XT_XSR_EPC7 _TIE_xt_core_XSR_EPC7
|
||||
#define XT_RSR_EXCSAVE7 _TIE_xt_core_RSR_EXCSAVE7
|
||||
#define XT_WSR_EXCSAVE7 _TIE_xt_core_WSR_EXCSAVE7
|
||||
#define XT_XSR_EXCSAVE7 _TIE_xt_core_XSR_EXCSAVE7
|
||||
#define XT_RSR_VECBASE _TIE_xt_core_RSR_VECBASE
|
||||
#define XT_WSR_VECBASE _TIE_xt_core_WSR_VECBASE
|
||||
#define XT_XSR_VECBASE _TIE_xt_core_XSR_VECBASE
|
||||
#define XT_RSR_EPS2 _TIE_xt_core_RSR_EPS2
|
||||
#define XT_WSR_EPS2 _TIE_xt_core_WSR_EPS2
|
||||
#define XT_XSR_EPS2 _TIE_xt_core_XSR_EPS2
|
||||
#define XT_RSR_EPS3 _TIE_xt_core_RSR_EPS3
|
||||
#define XT_WSR_EPS3 _TIE_xt_core_WSR_EPS3
|
||||
#define XT_XSR_EPS3 _TIE_xt_core_XSR_EPS3
|
||||
#define XT_RSR_EPS4 _TIE_xt_core_RSR_EPS4
|
||||
#define XT_WSR_EPS4 _TIE_xt_core_WSR_EPS4
|
||||
#define XT_XSR_EPS4 _TIE_xt_core_XSR_EPS4
|
||||
#define XT_RSR_EPS5 _TIE_xt_core_RSR_EPS5
|
||||
#define XT_WSR_EPS5 _TIE_xt_core_WSR_EPS5
|
||||
#define XT_XSR_EPS5 _TIE_xt_core_XSR_EPS5
|
||||
#define XT_RSR_EPS6 _TIE_xt_core_RSR_EPS6
|
||||
#define XT_WSR_EPS6 _TIE_xt_core_WSR_EPS6
|
||||
#define XT_XSR_EPS6 _TIE_xt_core_XSR_EPS6
|
||||
#define XT_RSR_EPS7 _TIE_xt_core_RSR_EPS7
|
||||
#define XT_WSR_EPS7 _TIE_xt_core_WSR_EPS7
|
||||
#define XT_XSR_EPS7 _TIE_xt_core_XSR_EPS7
|
||||
#define XT_RSR_EXCCAUSE _TIE_xt_core_RSR_EXCCAUSE
|
||||
#define XT_WSR_EXCCAUSE _TIE_xt_core_WSR_EXCCAUSE
|
||||
#define XT_XSR_EXCCAUSE _TIE_xt_core_XSR_EXCCAUSE
|
||||
#define XT_RSR_EXCVADDR _TIE_xt_core_RSR_EXCVADDR
|
||||
#define XT_WSR_EXCVADDR _TIE_xt_core_WSR_EXCVADDR
|
||||
#define XT_XSR_EXCVADDR _TIE_xt_core_XSR_EXCVADDR
|
||||
#define XT_RSR_DEPC _TIE_xt_core_RSR_DEPC
|
||||
#define XT_WSR_DEPC _TIE_xt_core_WSR_DEPC
|
||||
#define XT_XSR_DEPC _TIE_xt_core_XSR_DEPC
|
||||
#define XT_RSR_MISC0 _TIE_xt_core_RSR_MISC0
|
||||
#define XT_WSR_MISC0 _TIE_xt_core_WSR_MISC0
|
||||
#define XT_XSR_MISC0 _TIE_xt_core_XSR_MISC0
|
||||
#define XT_RSR_MISC1 _TIE_xt_core_RSR_MISC1
|
||||
#define XT_WSR_MISC1 _TIE_xt_core_WSR_MISC1
|
||||
#define XT_XSR_MISC1 _TIE_xt_core_XSR_MISC1
|
||||
#define XT_RSR_MISC2 _TIE_xt_core_RSR_MISC2
|
||||
#define XT_WSR_MISC2 _TIE_xt_core_WSR_MISC2
|
||||
#define XT_XSR_MISC2 _TIE_xt_core_XSR_MISC2
|
||||
#define XT_RSR_MISC3 _TIE_xt_core_RSR_MISC3
|
||||
#define XT_WSR_MISC3 _TIE_xt_core_WSR_MISC3
|
||||
#define XT_XSR_MISC3 _TIE_xt_core_XSR_MISC3
|
||||
#define XT_RSR_PRID _TIE_xt_core_RSR_PRID
|
||||
|
||||
#ifndef RUR
|
||||
#define RUR(NUM) RUR##NUM()
|
||||
#endif
|
||||
|
||||
#ifndef WUR
|
||||
#define WUR(VAL, NUM) WUR##NUM(VAL)
|
||||
#endif
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_core_HEADER */
|
116
tools/sdk/include/esp32/xtensa/tie/xt_debug.h
Normal file
116
tools/sdk/include/esp32/xtensa/tie/xt_debug.h
Normal file
@ -0,0 +1,116 @@
|
||||
/* Definitions for the xt_debug TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_debug_HEADER
|
||||
#define _XTENSA_xt_debug_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern void _TIE_xt_debug_BREAK(immediate imms, immediate immt);
|
||||
extern void _TIE_xt_debug_BREAK_N(immediate imms);
|
||||
extern unsigned _TIE_xt_debug_RSR_DBREAKA0(void);
|
||||
extern void _TIE_xt_debug_WSR_DBREAKA0(unsigned art);
|
||||
extern void _TIE_xt_debug_XSR_DBREAKA0(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_debug_RSR_DBREAKC0(void);
|
||||
extern void _TIE_xt_debug_WSR_DBREAKC0(unsigned art);
|
||||
extern void _TIE_xt_debug_XSR_DBREAKC0(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_debug_RSR_DBREAKA1(void);
|
||||
extern void _TIE_xt_debug_WSR_DBREAKA1(unsigned art);
|
||||
extern void _TIE_xt_debug_XSR_DBREAKA1(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_debug_RSR_DBREAKC1(void);
|
||||
extern void _TIE_xt_debug_WSR_DBREAKC1(unsigned art);
|
||||
extern void _TIE_xt_debug_XSR_DBREAKC1(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_debug_RSR_IBREAKA0(void);
|
||||
extern void _TIE_xt_debug_WSR_IBREAKA0(unsigned art);
|
||||
extern void _TIE_xt_debug_XSR_IBREAKA0(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_debug_RSR_IBREAKA1(void);
|
||||
extern void _TIE_xt_debug_WSR_IBREAKA1(unsigned art);
|
||||
extern void _TIE_xt_debug_XSR_IBREAKA1(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_debug_RSR_IBREAKENABLE(void);
|
||||
extern void _TIE_xt_debug_WSR_IBREAKENABLE(unsigned art);
|
||||
extern void _TIE_xt_debug_XSR_IBREAKENABLE(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_debug_RSR_DEBUGCAUSE(void);
|
||||
extern void _TIE_xt_debug_WSR_DEBUGCAUSE(unsigned art);
|
||||
extern void _TIE_xt_debug_XSR_DEBUGCAUSE(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_debug_RSR_ICOUNT(void);
|
||||
extern void _TIE_xt_debug_WSR_ICOUNT(unsigned art);
|
||||
extern void _TIE_xt_debug_XSR_ICOUNT(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_debug_RSR_ICOUNTLEVEL(void);
|
||||
extern void _TIE_xt_debug_WSR_ICOUNTLEVEL(unsigned art);
|
||||
extern void _TIE_xt_debug_XSR_ICOUNTLEVEL(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_debug_RSR_DDR(void);
|
||||
extern void _TIE_xt_debug_WSR_DDR(unsigned art);
|
||||
extern void _TIE_xt_debug_XSR_DDR(unsigned art /*inout*/);
|
||||
extern void _TIE_xt_debug_LDDR32_P(const void * ars /*inout*/);
|
||||
extern void _TIE_xt_debug_SDDR32_P(void * ars /*inout*/);
|
||||
#define XT_BREAK _TIE_xt_debug_BREAK
|
||||
#define XT_BREAK_N _TIE_xt_debug_BREAK_N
|
||||
#define XT_RSR_DBREAKA0 _TIE_xt_debug_RSR_DBREAKA0
|
||||
#define XT_WSR_DBREAKA0 _TIE_xt_debug_WSR_DBREAKA0
|
||||
#define XT_XSR_DBREAKA0 _TIE_xt_debug_XSR_DBREAKA0
|
||||
#define XT_RSR_DBREAKC0 _TIE_xt_debug_RSR_DBREAKC0
|
||||
#define XT_WSR_DBREAKC0 _TIE_xt_debug_WSR_DBREAKC0
|
||||
#define XT_XSR_DBREAKC0 _TIE_xt_debug_XSR_DBREAKC0
|
||||
#define XT_RSR_DBREAKA1 _TIE_xt_debug_RSR_DBREAKA1
|
||||
#define XT_WSR_DBREAKA1 _TIE_xt_debug_WSR_DBREAKA1
|
||||
#define XT_XSR_DBREAKA1 _TIE_xt_debug_XSR_DBREAKA1
|
||||
#define XT_RSR_DBREAKC1 _TIE_xt_debug_RSR_DBREAKC1
|
||||
#define XT_WSR_DBREAKC1 _TIE_xt_debug_WSR_DBREAKC1
|
||||
#define XT_XSR_DBREAKC1 _TIE_xt_debug_XSR_DBREAKC1
|
||||
#define XT_RSR_IBREAKA0 _TIE_xt_debug_RSR_IBREAKA0
|
||||
#define XT_WSR_IBREAKA0 _TIE_xt_debug_WSR_IBREAKA0
|
||||
#define XT_XSR_IBREAKA0 _TIE_xt_debug_XSR_IBREAKA0
|
||||
#define XT_RSR_IBREAKA1 _TIE_xt_debug_RSR_IBREAKA1
|
||||
#define XT_WSR_IBREAKA1 _TIE_xt_debug_WSR_IBREAKA1
|
||||
#define XT_XSR_IBREAKA1 _TIE_xt_debug_XSR_IBREAKA1
|
||||
#define XT_RSR_IBREAKENABLE _TIE_xt_debug_RSR_IBREAKENABLE
|
||||
#define XT_WSR_IBREAKENABLE _TIE_xt_debug_WSR_IBREAKENABLE
|
||||
#define XT_XSR_IBREAKENABLE _TIE_xt_debug_XSR_IBREAKENABLE
|
||||
#define XT_RSR_DEBUGCAUSE _TIE_xt_debug_RSR_DEBUGCAUSE
|
||||
#define XT_WSR_DEBUGCAUSE _TIE_xt_debug_WSR_DEBUGCAUSE
|
||||
#define XT_XSR_DEBUGCAUSE _TIE_xt_debug_XSR_DEBUGCAUSE
|
||||
#define XT_RSR_ICOUNT _TIE_xt_debug_RSR_ICOUNT
|
||||
#define XT_WSR_ICOUNT _TIE_xt_debug_WSR_ICOUNT
|
||||
#define XT_XSR_ICOUNT _TIE_xt_debug_XSR_ICOUNT
|
||||
#define XT_RSR_ICOUNTLEVEL _TIE_xt_debug_RSR_ICOUNTLEVEL
|
||||
#define XT_WSR_ICOUNTLEVEL _TIE_xt_debug_WSR_ICOUNTLEVEL
|
||||
#define XT_XSR_ICOUNTLEVEL _TIE_xt_debug_XSR_ICOUNTLEVEL
|
||||
#define XT_RSR_DDR _TIE_xt_debug_RSR_DDR
|
||||
#define XT_WSR_DDR _TIE_xt_debug_WSR_DDR
|
||||
#define XT_XSR_DDR _TIE_xt_debug_XSR_DDR
|
||||
#define XT_LDDR32_P _TIE_xt_debug_LDDR32_P
|
||||
#define XT_SDDR32_P _TIE_xt_debug_SDDR32_P
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_debug_HEADER */
|
58
tools/sdk/include/esp32/xtensa/tie/xt_density.h
Normal file
58
tools/sdk/include/esp32/xtensa/tie/xt_density.h
Normal file
@ -0,0 +1,58 @@
|
||||
/* Definitions for the xt_density TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_density_HEADER
|
||||
#define _XTENSA_xt_density_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern void _TIE_xt_density_ILL_N(void);
|
||||
extern void _TIE_xt_density_NOP_N(void);
|
||||
extern int _TIE_xt_density_L32I_N(const int * p, immediate i);
|
||||
extern void _TIE_xt_density_S32I_N(int t, int * p, immediate i);
|
||||
extern int _TIE_xt_density_ADD_N(int s, int t);
|
||||
extern int _TIE_xt_density_ADDI_N(int s, immediate i);
|
||||
extern int _TIE_xt_density_MOV_N(int s);
|
||||
extern int _TIE_xt_density_MOVI_N(immediate i);
|
||||
#define XT_ILL_N _TIE_xt_density_ILL_N
|
||||
#define XT_NOP_N _TIE_xt_density_NOP_N
|
||||
#define XT_L32I_N _TIE_xt_density_L32I_N
|
||||
#define XT_S32I_N _TIE_xt_density_S32I_N
|
||||
#define XT_ADD_N _TIE_xt_density_ADD_N
|
||||
#define XT_ADDI_N _TIE_xt_density_ADDI_N
|
||||
#define XT_MOV_N _TIE_xt_density_MOV_N
|
||||
#define XT_MOVI_N _TIE_xt_density_MOVI_N
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_density_HEADER */
|
45
tools/sdk/include/esp32/xtensa/tie/xt_exceptions.h
Normal file
45
tools/sdk/include/esp32/xtensa/tie/xt_exceptions.h
Normal file
@ -0,0 +1,45 @@
|
||||
/* Definitions for the xt_exceptions TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_exceptions_HEADER
|
||||
#define _XTENSA_xt_exceptions_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern void _TIE_xt_exceptions_EXCW(void);
|
||||
extern void _TIE_xt_exceptions_SYSCALL(void);
|
||||
#define XT_EXCW _TIE_xt_exceptions_EXCW
|
||||
#define XT_SYSCALL _TIE_xt_exceptions_SYSCALL
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_exceptions_HEADER */
|
46
tools/sdk/include/esp32/xtensa/tie/xt_externalregisters.h
Normal file
46
tools/sdk/include/esp32/xtensa/tie/xt_externalregisters.h
Normal file
@ -0,0 +1,46 @@
|
||||
/* Definitions for the xt_externalregisters TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_externalregisters_HEADER
|
||||
#define _XTENSA_xt_externalregisters_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern unsigned _TIE_xt_externalregisters_RER(unsigned ars);
|
||||
extern void _TIE_xt_externalregisters_WER(unsigned art, unsigned ars);
|
||||
#define XT_RER _TIE_xt_externalregisters_RER
|
||||
#define XT_WER _TIE_xt_externalregisters_WER
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_externalregisters_HEADER */
|
50
tools/sdk/include/esp32/xtensa/tie/xt_integerdivide.h
Normal file
50
tools/sdk/include/esp32/xtensa/tie/xt_integerdivide.h
Normal file
@ -0,0 +1,50 @@
|
||||
/* Definitions for the xt_integerdivide TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_integerdivide_HEADER
|
||||
#define _XTENSA_xt_integerdivide_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern unsigned _TIE_xt_integerdivide_REMS(unsigned ars, unsigned art);
|
||||
extern unsigned _TIE_xt_integerdivide_REMU(unsigned ars, unsigned art);
|
||||
extern unsigned _TIE_xt_integerdivide_QUOS(unsigned ars, unsigned art);
|
||||
extern unsigned _TIE_xt_integerdivide_QUOU(unsigned ars, unsigned art);
|
||||
#define XT_REMS _TIE_xt_integerdivide_REMS
|
||||
#define XT_REMU _TIE_xt_integerdivide_REMU
|
||||
#define XT_QUOS _TIE_xt_integerdivide_QUOS
|
||||
#define XT_QUOU _TIE_xt_integerdivide_QUOU
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_integerdivide_HEADER */
|
56
tools/sdk/include/esp32/xtensa/tie/xt_interrupt.h
Normal file
56
tools/sdk/include/esp32/xtensa/tie/xt_interrupt.h
Normal file
@ -0,0 +1,56 @@
|
||||
/* Definitions for the xt_interrupt TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_interrupt_HEADER
|
||||
#define _XTENSA_xt_interrupt_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern void _TIE_xt_interrupt_WAITI(immediate s);
|
||||
extern unsigned _TIE_xt_interrupt_RSR_INTERRUPT(void);
|
||||
extern void _TIE_xt_interrupt_WSR_INTSET(unsigned art);
|
||||
extern void _TIE_xt_interrupt_WSR_INTCLEAR(unsigned art);
|
||||
extern unsigned _TIE_xt_interrupt_RSR_INTENABLE(void);
|
||||
extern void _TIE_xt_interrupt_WSR_INTENABLE(unsigned art);
|
||||
extern void _TIE_xt_interrupt_XSR_INTENABLE(unsigned art /*inout*/);
|
||||
#define XT_WAITI _TIE_xt_interrupt_WAITI
|
||||
#define XT_RSR_INTERRUPT _TIE_xt_interrupt_RSR_INTERRUPT
|
||||
#define XT_WSR_INTSET _TIE_xt_interrupt_WSR_INTSET
|
||||
#define XT_WSR_INTCLEAR _TIE_xt_interrupt_WSR_INTCLEAR
|
||||
#define XT_RSR_INTENABLE _TIE_xt_interrupt_RSR_INTENABLE
|
||||
#define XT_WSR_INTENABLE _TIE_xt_interrupt_WSR_INTENABLE
|
||||
#define XT_XSR_INTENABLE _TIE_xt_interrupt_XSR_INTENABLE
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_interrupt_HEADER */
|
66
tools/sdk/include/esp32/xtensa/tie/xt_ioports.h
Normal file
66
tools/sdk/include/esp32/xtensa/tie/xt_ioports.h
Normal file
@ -0,0 +1,66 @@
|
||||
/* Definitions for the xt_ioports TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_ioports_HEADER
|
||||
#define _XTENSA_xt_ioports_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern unsigned _TIE_xt_ioports_READ_IMPWIRE(void);
|
||||
extern void _TIE_xt_ioports_SETB_EXPSTATE(immediate bitindex);
|
||||
extern void _TIE_xt_ioports_CLRB_EXPSTATE(immediate bitindex);
|
||||
extern void _TIE_xt_ioports_WRMSK_EXPSTATE(unsigned art, unsigned ars);
|
||||
extern unsigned _TIE_xt_ioports_RUR_EXPSTATE(void);
|
||||
extern void _TIE_xt_ioports_WUR_EXPSTATE(unsigned v);
|
||||
#define READ_IMPWIRE _TIE_xt_ioports_READ_IMPWIRE
|
||||
#define SETB_EXPSTATE _TIE_xt_ioports_SETB_EXPSTATE
|
||||
#define CLRB_EXPSTATE _TIE_xt_ioports_CLRB_EXPSTATE
|
||||
#define WRMSK_EXPSTATE _TIE_xt_ioports_WRMSK_EXPSTATE
|
||||
#define RUR_EXPSTATE _TIE_xt_ioports_RUR_EXPSTATE
|
||||
#define REXPSTATE _TIE_xt_ioports_RUR_EXPSTATE
|
||||
#define RUR230 _TIE_xt_ioports_RUR_EXPSTATE
|
||||
#define WUR_EXPSTATE _TIE_xt_ioports_WUR_EXPSTATE
|
||||
#define WEXPSTATE _TIE_xt_ioports_WUR_EXPSTATE
|
||||
#define WUR230 _TIE_xt_ioports_WUR_EXPSTATE
|
||||
|
||||
#ifndef RUR
|
||||
#define RUR(NUM) RUR##NUM()
|
||||
#endif
|
||||
|
||||
#ifndef WUR
|
||||
#define WUR(VAL, NUM) WUR##NUM(VAL)
|
||||
#endif
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_ioports_HEADER */
|
58
tools/sdk/include/esp32/xtensa/tie/xt_misc.h
Normal file
58
tools/sdk/include/esp32/xtensa/tie/xt_misc.h
Normal file
@ -0,0 +1,58 @@
|
||||
/* Definitions for the xt_misc TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_misc_HEADER
|
||||
#define _XTENSA_xt_misc_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern int _TIE_xt_misc_CLAMPS(int s, immediate i);
|
||||
extern int _TIE_xt_misc_MIN(int s, int t);
|
||||
extern int _TIE_xt_misc_MAX(int s, int t);
|
||||
extern unsigned _TIE_xt_misc_MINU(unsigned s, unsigned t);
|
||||
extern unsigned _TIE_xt_misc_MAXU(unsigned s, unsigned t);
|
||||
extern int _TIE_xt_misc_NSA(int s);
|
||||
extern unsigned _TIE_xt_misc_NSAU(unsigned s);
|
||||
extern int _TIE_xt_misc_SEXT(int s, immediate i);
|
||||
#define XT_CLAMPS _TIE_xt_misc_CLAMPS
|
||||
#define XT_MIN _TIE_xt_misc_MIN
|
||||
#define XT_MAX _TIE_xt_misc_MAX
|
||||
#define XT_MINU _TIE_xt_misc_MINU
|
||||
#define XT_MAXU _TIE_xt_misc_MAXU
|
||||
#define XT_NSA _TIE_xt_misc_NSA
|
||||
#define XT_NSAU _TIE_xt_misc_NSAU
|
||||
#define XT_SEXT _TIE_xt_misc_SEXT
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_misc_HEADER */
|
62
tools/sdk/include/esp32/xtensa/tie/xt_mmu.h
Normal file
62
tools/sdk/include/esp32/xtensa/tie/xt_mmu.h
Normal file
@ -0,0 +1,62 @@
|
||||
/* Definitions for the xt_mmu TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_mmu_HEADER
|
||||
#define _XTENSA_xt_mmu_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern void _TIE_xt_mmu_IDTLB(unsigned ars);
|
||||
extern unsigned _TIE_xt_mmu_RDTLB1(unsigned ars);
|
||||
extern unsigned _TIE_xt_mmu_RDTLB0(unsigned ars);
|
||||
extern unsigned _TIE_xt_mmu_PDTLB(unsigned ars);
|
||||
extern void _TIE_xt_mmu_WDTLB(unsigned art, unsigned ars);
|
||||
extern void _TIE_xt_mmu_IITLB(unsigned ars);
|
||||
extern unsigned _TIE_xt_mmu_RITLB1(unsigned ars);
|
||||
extern unsigned _TIE_xt_mmu_RITLB0(unsigned ars);
|
||||
extern unsigned _TIE_xt_mmu_PITLB(unsigned ars);
|
||||
extern void _TIE_xt_mmu_WITLB(unsigned art, unsigned ars);
|
||||
#define XT_IDTLB _TIE_xt_mmu_IDTLB
|
||||
#define XT_RDTLB1 _TIE_xt_mmu_RDTLB1
|
||||
#define XT_RDTLB0 _TIE_xt_mmu_RDTLB0
|
||||
#define XT_PDTLB _TIE_xt_mmu_PDTLB
|
||||
#define XT_WDTLB _TIE_xt_mmu_WDTLB
|
||||
#define XT_IITLB _TIE_xt_mmu_IITLB
|
||||
#define XT_RITLB1 _TIE_xt_mmu_RITLB1
|
||||
#define XT_RITLB0 _TIE_xt_mmu_RITLB0
|
||||
#define XT_PITLB _TIE_xt_mmu_PITLB
|
||||
#define XT_WITLB _TIE_xt_mmu_WITLB
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_mmu_HEADER */
|
52
tools/sdk/include/esp32/xtensa/tie/xt_mul.h
Normal file
52
tools/sdk/include/esp32/xtensa/tie/xt_mul.h
Normal file
@ -0,0 +1,52 @@
|
||||
/* Definitions for the xt_mul TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_mul_HEADER
|
||||
#define _XTENSA_xt_mul_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern int _TIE_xt_mul_MUL16S(short s, short t);
|
||||
extern unsigned _TIE_xt_mul_MUL16U(unsigned short s, unsigned short t);
|
||||
extern int _TIE_xt_mul_MULL(int s, int t);
|
||||
extern unsigned _TIE_xt_mul_MULUH(unsigned s, unsigned t);
|
||||
extern int _TIE_xt_mul_MULSH(int s, int t);
|
||||
#define XT_MUL16S _TIE_xt_mul_MUL16S
|
||||
#define XT_MUL16U _TIE_xt_mul_MUL16U
|
||||
#define XT_MULL _TIE_xt_mul_MULL
|
||||
#define XT_MULUH _TIE_xt_mul_MULUH
|
||||
#define XT_MULSH _TIE_xt_mul_MULSH
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_mul_HEADER */
|
64
tools/sdk/include/esp32/xtensa/tie/xt_regwin.h
Normal file
64
tools/sdk/include/esp32/xtensa/tie/xt_regwin.h
Normal file
@ -0,0 +1,64 @@
|
||||
/* Definitions for the xt_regwin TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_regwin_HEADER
|
||||
#define _XTENSA_xt_regwin_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern void _TIE_xt_regwin_ENTRY(unsigned ars /*inout*/, immediate uimm12x8);
|
||||
extern void _TIE_xt_regwin_ROTW(immediate simm4);
|
||||
extern int _TIE_xt_regwin_MOVSP(int s);
|
||||
extern int _TIE_xt_regwin_L32E(const int * s, immediate o);
|
||||
extern void _TIE_xt_regwin_S32E(int t, int * s, immediate o);
|
||||
extern unsigned _TIE_xt_regwin_RSR_WINDOWBASE(void);
|
||||
extern void _TIE_xt_regwin_WSR_WINDOWBASE(unsigned t);
|
||||
extern void _TIE_xt_regwin_XSR_WINDOWBASE(unsigned t /*inout*/);
|
||||
extern unsigned _TIE_xt_regwin_RSR_WINDOWSTART(void);
|
||||
extern void _TIE_xt_regwin_WSR_WINDOWSTART(unsigned t);
|
||||
extern void _TIE_xt_regwin_XSR_WINDOWSTART(unsigned t /*inout*/);
|
||||
#define XT_ENTRY _TIE_xt_regwin_ENTRY
|
||||
#define XT_ROTW _TIE_xt_regwin_ROTW
|
||||
#define XT_MOVSP _TIE_xt_regwin_MOVSP
|
||||
#define XT_L32E _TIE_xt_regwin_L32E
|
||||
#define XT_S32E _TIE_xt_regwin_S32E
|
||||
#define XT_RSR_WINDOWBASE _TIE_xt_regwin_RSR_WINDOWBASE
|
||||
#define XT_WSR_WINDOWBASE _TIE_xt_regwin_WSR_WINDOWBASE
|
||||
#define XT_XSR_WINDOWBASE _TIE_xt_regwin_XSR_WINDOWBASE
|
||||
#define XT_RSR_WINDOWSTART _TIE_xt_regwin_RSR_WINDOWSTART
|
||||
#define XT_WSR_WINDOWSTART _TIE_xt_regwin_WSR_WINDOWSTART
|
||||
#define XT_XSR_WINDOWSTART _TIE_xt_regwin_XSR_WINDOWSTART
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_regwin_HEADER */
|
22
tools/sdk/include/esp32/xtensa/tie/xt_scmpr.h
Normal file
22
tools/sdk/include/esp32/xtensa/tie/xt_scmpr.h
Normal file
@ -0,0 +1,22 @@
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_scmpr_h_HEADER
|
||||
#define _XTENSA_xt_scmpr_h_HEADER
|
||||
|
||||
|
||||
/* Header includes start */
|
||||
|
||||
|
||||
/* Header includes end */
|
||||
|
||||
#endif /* !_XTENSA_xt_scmpr_h_HEADER */
|
60
tools/sdk/include/esp32/xtensa/tie/xt_sync.h
Normal file
60
tools/sdk/include/esp32/xtensa/tie/xt_sync.h
Normal file
@ -0,0 +1,60 @@
|
||||
/* Definitions for the xt_sync TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_sync_HEADER
|
||||
#define _XTENSA_xt_sync_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern unsigned _TIE_xt_sync_RSR_SCOMPARE1(void);
|
||||
extern void _TIE_xt_sync_WSR_SCOMPARE1(unsigned art);
|
||||
extern void _TIE_xt_sync_XSR_SCOMPARE1(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_sync_RSR_ATOMCTL(void);
|
||||
extern void _TIE_xt_sync_WSR_ATOMCTL(unsigned art);
|
||||
extern void _TIE_xt_sync_XSR_ATOMCTL(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_sync_L32AI(const unsigned * p, immediate o);
|
||||
extern void _TIE_xt_sync_S32RI(unsigned c, unsigned * p, immediate o);
|
||||
extern void _TIE_xt_sync_S32C1I(unsigned c /*inout*/, const unsigned * p, immediate o);
|
||||
#define XT_RSR_SCOMPARE1 _TIE_xt_sync_RSR_SCOMPARE1
|
||||
#define XT_WSR_SCOMPARE1 _TIE_xt_sync_WSR_SCOMPARE1
|
||||
#define XT_XSR_SCOMPARE1 _TIE_xt_sync_XSR_SCOMPARE1
|
||||
#define XT_RSR_ATOMCTL _TIE_xt_sync_RSR_ATOMCTL
|
||||
#define XT_WSR_ATOMCTL _TIE_xt_sync_WSR_ATOMCTL
|
||||
#define XT_XSR_ATOMCTL _TIE_xt_sync_XSR_ATOMCTL
|
||||
#define XT_L32AI _TIE_xt_sync_L32AI
|
||||
#define XT_S32RI _TIE_xt_sync_S32RI
|
||||
#define XT_S32C1I _TIE_xt_sync_S32C1I
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_sync_HEADER */
|
66
tools/sdk/include/esp32/xtensa/tie/xt_timer.h
Normal file
66
tools/sdk/include/esp32/xtensa/tie/xt_timer.h
Normal file
@ -0,0 +1,66 @@
|
||||
/* Definitions for the xt_timer TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_timer_HEADER
|
||||
#define _XTENSA_xt_timer_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern unsigned _TIE_xt_timer_RSR_CCOUNT(void);
|
||||
extern void _TIE_xt_timer_WSR_CCOUNT(unsigned art);
|
||||
extern void _TIE_xt_timer_XSR_CCOUNT(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_timer_RSR_CCOMPARE0(void);
|
||||
extern void _TIE_xt_timer_WSR_CCOMPARE0(unsigned art);
|
||||
extern void _TIE_xt_timer_XSR_CCOMPARE0(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_timer_RSR_CCOMPARE1(void);
|
||||
extern void _TIE_xt_timer_WSR_CCOMPARE1(unsigned art);
|
||||
extern void _TIE_xt_timer_XSR_CCOMPARE1(unsigned art /*inout*/);
|
||||
extern unsigned _TIE_xt_timer_RSR_CCOMPARE2(void);
|
||||
extern void _TIE_xt_timer_WSR_CCOMPARE2(unsigned art);
|
||||
extern void _TIE_xt_timer_XSR_CCOMPARE2(unsigned art /*inout*/);
|
||||
#define XT_RSR_CCOUNT _TIE_xt_timer_RSR_CCOUNT
|
||||
#define XT_WSR_CCOUNT _TIE_xt_timer_WSR_CCOUNT
|
||||
#define XT_XSR_CCOUNT _TIE_xt_timer_XSR_CCOUNT
|
||||
#define XT_RSR_CCOMPARE0 _TIE_xt_timer_RSR_CCOMPARE0
|
||||
#define XT_WSR_CCOMPARE0 _TIE_xt_timer_WSR_CCOMPARE0
|
||||
#define XT_XSR_CCOMPARE0 _TIE_xt_timer_XSR_CCOMPARE0
|
||||
#define XT_RSR_CCOMPARE1 _TIE_xt_timer_RSR_CCOMPARE1
|
||||
#define XT_WSR_CCOMPARE1 _TIE_xt_timer_WSR_CCOMPARE1
|
||||
#define XT_XSR_CCOMPARE1 _TIE_xt_timer_XSR_CCOMPARE1
|
||||
#define XT_RSR_CCOMPARE2 _TIE_xt_timer_RSR_CCOMPARE2
|
||||
#define XT_WSR_CCOMPARE2 _TIE_xt_timer_WSR_CCOMPARE2
|
||||
#define XT_XSR_CCOMPARE2 _TIE_xt_timer_XSR_CCOMPARE2
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_timer_HEADER */
|
44
tools/sdk/include/esp32/xtensa/tie/xt_trace.h
Normal file
44
tools/sdk/include/esp32/xtensa/tie/xt_trace.h
Normal file
@ -0,0 +1,44 @@
|
||||
/* Definitions for the xt_trace TIE package */
|
||||
|
||||
/*
|
||||
* Customer ID=11657; Build=0x5fe96; Copyright (c) 2004-2010 by Tensilica Inc. ALL RIGHTS RESERVED.
|
||||
* These coded instructions, statements, and computer programs are the
|
||||
* copyrighted works and confidential proprietary information of Tensilica Inc.
|
||||
* They may not be modified, copied, reproduced, distributed, or disclosed to
|
||||
* third parties in any manner, medium, or form, in whole or in part, without
|
||||
* the prior written consent of Tensilica Inc.
|
||||
*/
|
||||
|
||||
/* Do not modify. This is automatically generated.*/
|
||||
|
||||
#ifndef _XTENSA_xt_trace_HEADER
|
||||
#define _XTENSA_xt_trace_HEADER
|
||||
|
||||
#ifdef __XTENSA__
|
||||
#ifdef __XCC__
|
||||
|
||||
#include <xtensa/tie/xt_core.h>
|
||||
|
||||
/*
|
||||
* The following prototypes describe intrinsic functions
|
||||
* corresponding to TIE instructions. Some TIE instructions
|
||||
* may produce multiple results (designated as "out" operands
|
||||
* in the iclass section) or may have operands used as both
|
||||
* inputs and outputs (designated as "inout"). However, the C
|
||||
* and C++ languages do not provide syntax that can express
|
||||
* the in/out/inout constraints of TIE intrinsics.
|
||||
* Nevertheless, the compiler understands these constraints
|
||||
* and will check that the intrinsic functions are used
|
||||
* correctly. To improve the readability of these prototypes,
|
||||
* the "out" and "inout" parameters are marked accordingly
|
||||
* with comments.
|
||||
*/
|
||||
|
||||
extern void _TIE_xt_trace_WSR_MMID(unsigned art);
|
||||
#define XT_WSR_MMID _TIE_xt_trace_WSR_MMID
|
||||
|
||||
#endif /* __XCC__ */
|
||||
|
||||
#endif /* __XTENSA__ */
|
||||
|
||||
#endif /* !_XTENSA_xt_trace_HEADER */
|
Reference in New Issue
Block a user