Lines Matching +full:conditional +full:- +full:select

2  * tie-asm.h -- compile-time HAL assembler definitions dependent on CORE & TIE
7 /* This header file contains assembly-language definitions (assembly
11 Copyright (c) 1999-2010 Tensilica Inc.
35 /* Selection parameter values for save-area save/restore macros: */
45 #define XTHAL_SAS_CALR 0x0010 /* caller-saved */
46 #define XTHAL_SAS_CALE 0x0020 /* callee-saved */
58 * Macro to save all non-coprocessor (extra) custom TIE and optional state
59 * (not including zero-overhead loop registers).
71 * select Select what category(ies) of registers to store, as a bitmask
73 * alloc Select what category(ies) of registers to allocate; if any
74 * category is selected here that is not in <select>, space for
77 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
80 .ifeq (XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_GLOB) & ~(\select)
89 // Optional caller-saved registers used by default by the compiler:
90 .ifeq (XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_CALR) & ~(\select)
101 // Optional caller-saved registers not used by default by the compiler:
102 .ifeq (XTHAL_SAS_OPT | XTHAL_SAS_NOCC | XTHAL_SAS_CALR) & ~(\select)
112 rsr \at1, SCOMPARE1 // conditional store option
122 * Macro to restore all non-coprocessor (extra) custom TIE and optional state
123 * (not including zero-overhead loop registers).
135 * select Select what category(ies) of registers to load, as a bitmask
137 * alloc Select what category(ies) of registers to allocate; if any
138 * category is selected here that is not in <select>, space for
141 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
144 .ifeq (XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_GLOB) & ~(\select)
153 // Optional caller-saved registers used by default by the compiler:
154 .ifeq (XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_CALR) & ~(\select)
165 // Optional caller-saved registers not used by default by the compiler:
166 .ifeq (XTHAL_SAS_OPT | XTHAL_SAS_NOCC | XTHAL_SAS_CALR) & ~(\select)
177 wsr \at1, SCOMPARE1 // conditional store option