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

Go to the source code of this file.

Macros

#define fc   .error "fc should not be used directly."
 
#define thash   .error "thash should not be used directly."
 
#define ttag   .error "ttag should not be used directly."
 
#define cover   .error "cover should not be used directly."
 
#define cpuid   .error "cpuid should not be used directly."
 
#define pmd   .error "pmd should not be used directly."
 
#define IS_RREG_IN(reg)   is_rreg_in reg ;
 
#define IS_RREG_OUT(reg)
 
#define IS_RREG_CLOB(reg)   IS_RREG_OUT(reg)
 
#define IS_PRED_IN(pred)
 
#define IS_PRED_OUT(pred)
 
#define IS_PRED_CLOB(pred)   IS_PRED_OUT(pred)
 
#define DO_SAVE_MIN(__COVER, SAVE_IFS, EXTRA, WORKAROUND)   nop 0
 
#define MOV_FROM_IFA(reg)   IS_RREG_OUT(reg)
 
#define MOV_FROM_ITIR(reg)   IS_RREG_OUT(reg)
 
#define MOV_FROM_ISR(reg)   IS_RREG_OUT(reg)
 
#define MOV_FROM_IHA(reg)   IS_RREG_OUT(reg)
 
#define MOV_FROM_IPSR(pred, reg)
 
#define MOV_FROM_IIM(reg)   IS_RREG_OUT(reg)
 
#define MOV_FROM_IIP(reg)   IS_RREG_OUT(reg)
 
#define MOV_FROM_IVR(reg, clob)
 
#define MOV_FROM_PSR(pred, reg, clob)
 
#define MOV_FROM_ITC(pred, pred_clob, reg, clob)
 
#define MOV_TO_IFA(reg, clob)
 
#define MOV_TO_ITIR(pred, reg, clob)
 
#define MOV_TO_IHA(pred, reg, clob)
 
#define MOV_TO_IPSR(pred, reg, clob)
 
#define MOV_TO_IFS(pred, reg, clob)
 
#define MOV_TO_IIP(reg, clob)
 
#define MOV_TO_KR(kr, reg, clob0, clob1)
 
#define ITC_I(pred, reg, clob)
 
#define ITC_D(pred, reg, clob)
 
#define ITC_I_AND_D(pred_i, pred_d, reg, clob)
 
#define THASH(pred, reg0, reg1, clob)
 
#define SSM_PSR_IC_AND_DEFAULT_BITS_AND_SRLZ_I(clob0, clob1)
 
#define SSM_PSR_IC_AND_SRLZ_D(clob0, clob1)
 
#define RSM_PSR_IC(clob)   IS_RREG_CLOB(clob)
 
#define SSM_PSR_I(pred, pred_clob, clob)
 
#define RSM_PSR_I(pred, clob0, clob1)
 
#define RSM_PSR_I_IC(clob0, clob1, clob2)
 
#define RSM_PSR_DT   nop 0
 
#define RSM_PSR_BE_I(clob0, clob1)
 
#define SSM_PSR_DT_AND_SRLZ_I   nop 0
 
#define BSW_0(clob0, clob1, clob2)
 
#define BSW_1(clob0, clob1)
 
#define COVER   nop 0
 
#define RFI   br.ret.sptk.many rp /* defining nop causes dependency error */
 

Variables

macro is_rreg_in reg ifc reg = r0
 
macro is_rreg_in reg ifc r0
nop exitm 
endif
 

Macro Definition Documentation

#define BSW_0 (   clob0,
  clob1,
  clob2 
)
Value:
IS_RREG_CLOB(clob1) \
IS_RREG_CLOB(clob2)

Definition at line 259 of file pvchk_inst.h.

#define BSW_1 (   clob0,
  clob1 
)
Value:
IS_RREG_CLOB(clob1)

Definition at line 263 of file pvchk_inst.h.

#define cover   .error "cover should not be used directly."

Definition at line 49 of file pvchk_inst.h.

#define COVER   nop 0

Definition at line 266 of file pvchk_inst.h.

#define cpuid   .error "cpuid should not be used directly."

Definition at line 54 of file pvchk_inst.h.

#define DO_SAVE_MIN (   __COVER,
  SAVE_IFS,
  EXTRA,
  WORKAROUND 
)    nop 0

Definition at line 159 of file pvchk_inst.h.

__u8 fc   .error "fc should not be used directly."

Definition at line 40 of file pvchk_inst.h.

#define IS_PRED_CLOB (   pred)    IS_PRED_OUT(pred)

Definition at line 156 of file pvchk_inst.h.

#define IS_PRED_IN (   pred)
Value:
;; \
(pred) nop 0 \
;;

Definition at line 146 of file pvchk_inst.h.

#define IS_PRED_OUT (   pred)
Value:
;; \
cmp.eq pred, p0 = r0, r0 \
;;

Definition at line 151 of file pvchk_inst.h.

#define IS_RREG_CLOB (   reg)    IS_RREG_OUT(reg)

Definition at line 143 of file pvchk_inst.h.

#define IS_RREG_IN (   reg)    is_rreg_in reg ;

Definition at line 136 of file pvchk_inst.h.

#define IS_RREG_OUT (   reg)
Value:
;; \
mov reg = r0 \
;;

Definition at line 138 of file pvchk_inst.h.

#define ITC_D (   pred,
  reg,
  clob 
)
Value:
IS_RREG_IN(reg) \
IS_RREG_CLOB(clob)

Definition at line 218 of file pvchk_inst.h.

#define ITC_I (   pred,
  reg,
  clob 
)
Value:
IS_RREG_IN(reg) \
IS_RREG_CLOB(clob)

Definition at line 214 of file pvchk_inst.h.

#define ITC_I_AND_D (   pred_i,
  pred_d,
  reg,
  clob 
)
Value:
IS_PRED_IN(pred_d) \
IS_RREG_IN(reg) \
IS_RREG_CLOB(clob)

Definition at line 222 of file pvchk_inst.h.

#define MOV_FROM_IFA (   reg)    IS_RREG_OUT(reg)

Definition at line 161 of file pvchk_inst.h.

#define MOV_FROM_IHA (   reg)    IS_RREG_OUT(reg)

Definition at line 167 of file pvchk_inst.h.

#define MOV_FROM_IIM (   reg)    IS_RREG_OUT(reg)

Definition at line 172 of file pvchk_inst.h.

#define MOV_FROM_IIP (   reg)    IS_RREG_OUT(reg)

Definition at line 174 of file pvchk_inst.h.

#define MOV_FROM_IPSR (   pred,
  reg 
)
Value:
IS_RREG_OUT(reg)

Definition at line 169 of file pvchk_inst.h.

#define MOV_FROM_ISR (   reg)    IS_RREG_OUT(reg)

Definition at line 165 of file pvchk_inst.h.

#define MOV_FROM_ITC (   pred,
  pred_clob,
  reg,
  clob 
)
Value:
IS_PRED_CLOB(pred_clob) \
IS_RREG_OUT(reg) \
IS_RREG_CLOB(clob)

Definition at line 183 of file pvchk_inst.h.

#define MOV_FROM_ITIR (   reg)    IS_RREG_OUT(reg)

Definition at line 163 of file pvchk_inst.h.

#define MOV_FROM_IVR (   reg,
  clob 
)
Value:
IS_RREG_CLOB(clob)

Definition at line 176 of file pvchk_inst.h.

#define MOV_FROM_PSR (   pred,
  reg,
  clob 
)
Value:
IS_RREG_OUT(reg) \
IS_RREG_CLOB(clob)

Definition at line 179 of file pvchk_inst.h.

#define MOV_TO_IFA (   reg,
  clob 
)
Value:
IS_RREG_CLOB(clob)

Definition at line 188 of file pvchk_inst.h.

#define MOV_TO_IFS (   pred,
  reg,
  clob 
)
Value:
IS_RREG_IN(reg) \
IS_RREG_CLOB(clob)

Definition at line 203 of file pvchk_inst.h.

#define MOV_TO_IHA (   pred,
  reg,
  clob 
)
Value:
IS_RREG_IN(reg) \
IS_RREG_CLOB(clob)

Definition at line 195 of file pvchk_inst.h.

#define MOV_TO_IIP (   reg,
  clob 
)
Value:
IS_RREG_CLOB(clob)

Definition at line 207 of file pvchk_inst.h.

#define MOV_TO_IPSR (   pred,
  reg,
  clob 
)
Value:
IS_RREG_IN(reg) \
IS_RREG_CLOB(clob)

Definition at line 199 of file pvchk_inst.h.

#define MOV_TO_ITIR (   pred,
  reg,
  clob 
)
Value:
IS_RREG_IN(reg) \
IS_RREG_CLOB(clob)

Definition at line 191 of file pvchk_inst.h.

#define MOV_TO_KR (   kr,
  reg,
  clob0,
  clob1 
)
Value:
IS_RREG_CLOB(clob0) \
IS_RREG_CLOB(clob1)

Definition at line 210 of file pvchk_inst.h.

#define pmd   .error "pmd should not be used directly."

Definition at line 55 of file pvchk_inst.h.

#define RFI   br.ret.sptk.many rp /* defining nop causes dependency error */

Definition at line 268 of file pvchk_inst.h.

#define RSM_PSR_BE_I (   clob0,
  clob1 
)
Value:
IS_RREG_CLOB(clob1)

Definition at line 254 of file pvchk_inst.h.

#define RSM_PSR_DT   nop 0

Definition at line 252 of file pvchk_inst.h.

#define RSM_PSR_I (   pred,
  clob0,
  clob1 
)
Value:
IS_RREG_CLOB(clob0) \
IS_RREG_CLOB(clob1)

Definition at line 244 of file pvchk_inst.h.

#define RSM_PSR_I_IC (   clob0,
  clob1,
  clob2 
)
Value:
IS_RREG_CLOB(clob1) \
IS_RREG_CLOB(clob2)

Definition at line 248 of file pvchk_inst.h.

#define RSM_PSR_IC (   clob)    IS_RREG_CLOB(clob)

Definition at line 238 of file pvchk_inst.h.

#define SSM_PSR_DT_AND_SRLZ_I   nop 0

Definition at line 257 of file pvchk_inst.h.

#define SSM_PSR_I (   pred,
  pred_clob,
  clob 
)
Value:
IS_PRED_CLOB(pred_clob) \
IS_RREG_CLOB(clob)

Definition at line 240 of file pvchk_inst.h.

#define SSM_PSR_IC_AND_DEFAULT_BITS_AND_SRLZ_I (   clob0,
  clob1 
)
Value:
IS_RREG_CLOB(clob1)

Definition at line 232 of file pvchk_inst.h.

#define SSM_PSR_IC_AND_SRLZ_D (   clob0,
  clob1 
)
Value:
IS_RREG_CLOB(clob1)

Definition at line 235 of file pvchk_inst.h.

#define thash   .error "thash should not be used directly."

Definition at line 41 of file pvchk_inst.h.

#define THASH (   pred,
  reg0,
  reg1,
  clob 
)
Value:
IS_RREG_OUT(reg0) \
IS_RREG_IN(reg1) \
IS_RREG_CLOB(clob)

Definition at line 227 of file pvchk_inst.h.

#define ttag   .error "ttag should not be used directly."

Definition at line 48 of file pvchk_inst.h.

Variable Documentation

endif endif
Initial value:
= r8
(\pred) mov r8 = \reg

Definition at line 128 of file pvchk_inst.h.

mov reg = r0

Definition at line 128 of file pvchk_inst.h.