Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
tie-asm.h File Reference

Go to the source code of this file.

Macros

#define XTHAL_SAS_TIE   0x0001 /* custom extension or coprocessor */
 
#define XTHAL_SAS_OPT   0x0002 /* optional (and not a coprocessor) */
 
#define XTHAL_SAS_NOCC   0x0004 /* not used by compiler w/o special opts/code */
 
#define XTHAL_SAS_CC   0x0008 /* used by compiler without special opts/code */
 
#define XTHAL_SAS_CALR   0x0010 /* caller-saved */
 
#define XTHAL_SAS_CALE   0x0020 /* callee-saved */
 
#define XTHAL_SAS_GLOB   0x0040 /* global across function calls (in thread) */
 
#define XTHAL_SAS_ALL   0xFFFF /* include all default NCP contents */
 
#define XCHAL_NCP_NUM_ATMPS   2
 
#define XCHAL_SA_NUM_ATMPS   2
 

Functions

macro xchal_ncp_store ptr at1
at2 at3 at4 ofs 
ifeq (XTHAL_SAS_OPT|XTHAL_SAS_CC|XTHAL_SAS_CALR)&~\select xchal_sa_align\ptr
 
macro xchal_ncp_store ptr at1
at2 at3 at4 ofs rsr ACCLO rsr
ACCHI s32i Lxchal_ofs_ s32i
Lxchal_ofs_ set Lxchal_ofs_
endif 
ifeq (XTHAL_SAS_OPT|XTHAL_SAS_NOCC|XTHAL_SAS_CALR)&~\select xchal_sa_align\ptr
 

Variables

macro xchal_ncp_store ptr at1
at2 at3 at4 
continue
 
macro xchal_ncp_store ptr at1
at2 at3 at4 ofs rsr 
at1
 
macro xchal_ncp_store ptr at1
at2 at3 at4 ofs rsr ACCLO rsr 
at2
 
macro xchal_ncp_store ptr at1
at2 at3 at4 ofs rsr ACCLO rsr
ACCHI s32i 
ptr
 
macro xchal_ncp_store ptr at1
at2 at3 at4 ofs rsr ACCLO rsr
ACCHI s32i Lxchal_ofs_ s32i
Lxchal_ofs_ set 
Lxchal_ofs_
 

Macro Definition Documentation

#define XCHAL_NCP_NUM_ATMPS   2

Definition at line 116 of file tie-asm.h.

#define XCHAL_SA_NUM_ATMPS   2

Definition at line 119 of file tie-asm.h.

#define XTHAL_SAS_ALL   0xFFFF /* include all default NCP contents */

Definition at line 28 of file tie-asm.h.

#define XTHAL_SAS_CALE   0x0020 /* callee-saved */

Definition at line 25 of file tie-asm.h.

#define XTHAL_SAS_CALR   0x0010 /* caller-saved */

Definition at line 24 of file tie-asm.h.

#define XTHAL_SAS_CC   0x0008 /* used by compiler without special opts/code */

Definition at line 22 of file tie-asm.h.

#define XTHAL_SAS_GLOB   0x0040 /* global across function calls (in thread) */

Definition at line 26 of file tie-asm.h.

#define XTHAL_SAS_NOCC   0x0004 /* not used by compiler w/o special opts/code */

Definition at line 21 of file tie-asm.h.

#define XTHAL_SAS_OPT   0x0002 /* optional (and not a coprocessor) */

Definition at line 19 of file tie-asm.h.

#define XTHAL_SAS_TIE   0x0001 /* custom extension or coprocessor */

Definition at line 18 of file tie-asm.h.

Function Documentation

macro xchal_ncp_store ptr at1 at2 at3 at4 ofs rur THREADPTR s32i Lxchal_ofs_ set Lxchal_ofs_ endif endm macro xchal_ncp_load ptr at1 at2 at3 at4 ofs ifeq ( XTHAL_SAS_OPT|XTHAL_SAS_CC XTHAL_SAS_CALR)
macro xchal_ncp_store ptr at1 at2 at3 at4 ofs rsr BR s32i Lxchal_ofs_ set Lxchal_ofs_ endif endm macro xchal_ncp_load ptr at1 at2 at3 at4 ofs ifeq ( XTHAL_SAS_OPT|XTHAL_SAS_NOCC XTHAL_SAS_CALR)

Variable Documentation

macro xchal_cp6_load ptr at1 at2 at3 at4 ofs l32i wur0 at1 l32i wur1 at1 l32i wur2 at1 l32i wur3 at1 l32i wur8 at1 l32i wur9 at1 l32i wur10 at1 l32i wur11 at1 l32i wur12 at1 l32i wur13 at1 l32i wur24 at1 l32i wur25 at1 l32i wur26 at1 l32i at1

Definition at line 40 of file tie-asm.h.

macro xchal_ncp_store ptr at1 at2 at3 at4 ofs rsr ACCLO rsr ACCHI s32i Lxchal_ofs_ s32i Lxchal_ofs_ set Lxchal_ofs_ endif rsr M0 rsr M1 s32i Lxchal_ofs_ s32i Lxchal_ofs_ rsr M2 rsr M3 s32i Lxchal_ofs_ s32i Lxchal_ofs_ set Lxchal_ofs_ endif rsr SCOMPARE1 s32i Lxchal_ofs_ set Lxchal_ofs_ endif rur THREADPTR s32i Lxchal_ofs_ set Lxchal_ofs_ endif endm macro xchal_ncp_load ptr at1 at2 at3 at4 ofs l32i Lxchal_ofs_ l32i Lxchal_ofs_ wsr ACCLO wsr ACCHI set Lxchal_ofs_ endif l32i Lxchal_ofs_ l32i Lxchal_ofs_ wsr M0 wsr M1 l32i Lxchal_ofs_ l32i Lxchal_ofs_ wsr M2 wsr at2

Definition at line 40 of file tie-asm.h.

endm macro xchal_cp7_load p a b c d continue
Initial value:
xchal_sa_start \continue

Definition at line 37 of file tie-asm.h.

macro xchal_cp6_load ptr at1 at2 at3 at4 ofs l32i wur0 at1 l32i wur1 at1 l32i wur2 at1 l32i wur3 at1 l32i wur8 at1 l32i wur9 at1 l32i wur10 at1 l32i wur11 at1 l32i wur12 at1 l32i wur13 at1 l32i wur24 at1 l32i wur25 at1 l32i wur26 at1 l32i wur27 at1 WRBL128I WRBL128I WRBL128I WRBL128I WRBL128I WRBL128I WRBL128I WRBL128I WRBL128I WRBL128I WRBL128I WRBL128I WRBL128I WRBL128I WRBL128I WRBL128I WRAL128I WRAL128I WRAL128I WRAL128I WRAL128I WRAL128I WRAL128I WRAL128I WRAL128I WRAL128I WRAL128I WRAL128I WRAL128I WRAL128I WRAL128I WRAL128I set Lxchal_ofs_

Definition at line 40 of file tie-asm.h.

macro xchal_ncp_store ptr at1 at2 at3 at4 ofs rsr ACCLO rsr ACCHI s32i Lxchal_ofs_ s32i Lxchal_ofs_ set Lxchal_ofs_ endif rsr M0 rsr M1 s32i Lxchal_ofs_ s32i Lxchal_ofs_ rsr M2 rsr M3 s32i Lxchal_ofs_ s32i Lxchal_ofs_ set Lxchal_ofs_ endif rsr SCOMPARE1 s32i Lxchal_ofs_ set Lxchal_ofs_ endif rur THREADPTR s32i Lxchal_ofs_ set Lxchal_ofs_ endif endm macro xchal_ncp_load ptr at1 at2 at3 at4 ofs l32i Lxchal_ofs_ l32i Lxchal_ofs_ wsr ACCLO wsr ACCHI set Lxchal_ofs_ endif l32i Lxchal_ofs_ l32i Lxchal_ofs_ wsr M0 wsr M1 l32i Lxchal_ofs_ l32i Lxchal_ofs_ wsr M2 wsr M3 set Lxchal_ofs_ endif l32i Lxchal_ofs_ wsr SCOMPARE1 set Lxchal_ofs_ endif l32i ptr

Definition at line 40 of file tie-asm.h.