Go to the documentation of this file. 1 #ifndef _ASM_NATIVE_PVCHK_INST_H
2 #define _ASM_NATIVE_PVCHK_INST_H
40 #define fc .error "fc should not be used directly."
41 #define thash .error "thash should not be used directly."
48 #define ttag .error "ttag should not be used directly."
49 #define cover .error "cover should not be used directly."
54 #define cpuid .error "cpuid should not be used directly."
55 #define pmd .error "pmd should not be used directly."
127 .macro is_rreg_in
reg
136 #define IS_RREG_IN(reg) is_rreg_in reg ;
138 #define IS_RREG_OUT(reg) \
143 #define IS_RREG_CLOB(reg) IS_RREG_OUT(reg)
146 #define IS_PRED_IN(pred) \
151 #define IS_PRED_OUT(pred) \
153 cmp.eq pred, p0 = r0, r0 \
156 #define IS_PRED_CLOB(pred) IS_PRED_OUT(pred)
159 #define DO_SAVE_MIN(__COVER, SAVE_IFS, EXTRA, WORKAROUND) \
161 #define MOV_FROM_IFA(reg) \
163 #define MOV_FROM_ITIR(reg) \
165 #define MOV_FROM_ISR(reg) \
167 #define MOV_FROM_IHA(reg) \
169 #define MOV_FROM_IPSR(pred, reg) \
172 #define MOV_FROM_IIM(reg) \
174 #define MOV_FROM_IIP(reg) \
176 #define MOV_FROM_IVR(reg, clob) \
179 #define MOV_FROM_PSR(pred, reg, clob) \
183 #define MOV_FROM_ITC(pred, pred_clob, reg, clob) \
185 IS_PRED_CLOB(pred_clob) \
188 #define MOV_TO_IFA(reg, clob) \
191 #define MOV_TO_ITIR(pred, reg, clob) \
195 #define MOV_TO_IHA(pred, reg, clob) \
199 #define MOV_TO_IPSR(pred, reg, clob) \
203 #define MOV_TO_IFS(pred, reg, clob) \
207 #define MOV_TO_IIP(reg, clob) \
210 #define MOV_TO_KR(kr, reg, clob0, clob1) \
212 IS_RREG_CLOB(clob0) \
214 #define ITC_I(pred, reg, clob) \
218 #define ITC_D(pred, reg, clob) \
222 #define ITC_I_AND_D(pred_i, pred_d, reg, clob) \
227 #define THASH(pred, reg0, reg1, clob) \
232 #define SSM_PSR_IC_AND_DEFAULT_BITS_AND_SRLZ_I(clob0, clob1) \
233 IS_RREG_CLOB(clob0) \
235 #define SSM_PSR_IC_AND_SRLZ_D(clob0, clob1) \
236 IS_RREG_CLOB(clob0) \
238 #define RSM_PSR_IC(clob) \
240 #define SSM_PSR_I(pred, pred_clob, clob) \
242 IS_PRED_CLOB(pred_clob) \
244 #define RSM_PSR_I(pred, clob0, clob1) \
246 IS_RREG_CLOB(clob0) \
248 #define RSM_PSR_I_IC(clob0, clob1, clob2) \
249 IS_RREG_CLOB(clob0) \
250 IS_RREG_CLOB(clob1) \
254 #define RSM_PSR_BE_I(clob0, clob1) \
255 IS_RREG_CLOB(clob0) \
257 #define SSM_PSR_DT_AND_SRLZ_I \
259 #define BSW_0(clob0, clob1, clob2) \
260 IS_RREG_CLOB(clob0) \
261 IS_RREG_CLOB(clob1) \
263 #define BSW_1(clob0, clob1) \
264 IS_RREG_CLOB(clob0) \