Home
last modified time | relevance | path

Searched refs:TSTATE_CCR_SHIFT (Results 1 – 15 of 15) sorted by relevance

/titanic_41/usr/src/uts/sparc/v9/sys/
H A Dprivregs.h466 #define TSTATE_CCR_SHIFT 32 macro
492 #define TSTATE_ICC ((long long)CCR_ICC << TSTATE_CCR_SHIFT)
493 #define TSTATE_XCC ((long long)CCR_XCC << TSTATE_CCR_SHIFT)
494 #define TSTATE_IC ((long long)CCR_IC << TSTATE_CCR_SHIFT)
495 #define TSTATE_IV ((long long)CCR_IV << TSTATE_CCR_SHIFT)
496 #define TSTATE_IN ((long long)CCR_IN << TSTATE_CCR_SHIFT)
497 #define TSTATE_XV ((long long)CCR_XV << TSTATE_CCR_SHIFT)
498 #define TSTATE_XZ ((long long)CCR_XZ << TSTATE_CCR_SHIFT)
500 #define TSTATE_ICC (CCR_ICC << TSTATE_CCR_SHIFT)
501 #define TSTATE_XCC (CCR_XCC << TSTATE_CCR_SHIFT)
[all …]
/titanic_41/usr/src/uts/sparc/v9/os/
H A Dsimulator.c797 s1 = ((rp->r_tstate & TSTATE_IN) >> (TSTATE_CCR_SHIFT + 3)) ^ in simulate_mulscc()
798 ((rp->r_tstate & TSTATE_IV) >> (TSTATE_CCR_SHIFT + 1)); in simulate_mulscc()
814 rp->r_tstate |= (uint64_t)((c >> 31) & 1) << (TSTATE_CCR_SHIFT + 0); in simulate_mulscc()
815 rp->r_tstate |= (uint64_t)((v >> 31) & 1) << (TSTATE_CCR_SHIFT + 1); in simulate_mulscc()
816 rp->r_tstate |= (uint64_t)(d ? 0 : 1) << (TSTATE_CCR_SHIFT + 2); in simulate_mulscc()
817 rp->r_tstate |= (uint64_t)((d >> 31) & 1) << (TSTATE_CCR_SHIFT + 3); in simulate_mulscc()
H A Dxregs.c298 rp->r_tstate &= ~((uint64_t)CCR_XCC << TSTATE_CCR_SHIFT); in xregs_setgregs()
300 ((uint64_t)CCR_XCC << TSTATE_CCR_SHIFT); in xregs_setgregs()
H A Dv9dep.c338 tbits = (((grp[REG_CCR] & TSTATE_CCR_MASK) << TSTATE_CCR_SHIFT) | in setgregs()
340 rp->r_tstate &= ~(((uint64_t)TSTATE_CCR_MASK << TSTATE_CCR_SHIFT) | in setgregs()
404 grp[REG_CCR] = (rp->r_tstate >> TSTATE_CCR_SHIFT) & TSTATE_CCR_MASK; in getgregs()
/titanic_41/usr/src/uts/sparc/v9/fpu/
H A Dv9instr.c287 ccr.i = (uint32_t)((tstate >> TSTATE_CCR_SHIFT) & 0xf); in fmovcc_icc()
290 ccr.i = (uint32_t)(((tstate >> TSTATE_CCR_SHIFT) & 0xf0) >> 4); in fmovcc_icc()
/titanic_41/usr/src/uts/sun4v/os/
H A Dmach_trap.c174 ccr = (tstate >> TSTATE_CCR_SHIFT) & TSTATE_CCR_MASK; in ptl1_showtrap()
/titanic_41/usr/src/uts/sun4u/os/
H A Dmach_trap.c200 ccr = (tstate >> TSTATE_CCR_SHIFT) & TSTATE_CCR_MASK; in ptl1_showtrap()
/titanic_41/usr/src/uts/sparc/v9/ml/
H A Dsyscall_trap.s237 sllx %g3, TSTATE_CCR_SHIFT, %g3
H A Dsparcv9_subr.s1736 sllx %l0, TSTATE_CCR_SHIFT, %l0 ! %l0 <<= CCR_SHIFT
/titanic_41/usr/src/uts/sparc/fs/proc/
H A Dprmachdep.c293 dest[R_CCR] = ((r->r_tstate >> TSTATE_CCR_SHIFT) & CCR_XCC) | in prgregset_32ton()
294 ((src[R_PSR] >> (TSTATE_CCR_SHIFT-PSR_TSTATE_CC_SHIFT)) & CCR_ICC); in prgregset_32ton()
/titanic_41/usr/src/uts/sparc/dtrace/
H A Ddtrace_isa.c762 return ((rp->r_tstate >> TSTATE_CCR_SHIFT) & in dtrace_getreg()
H A Dfasttrap_isa.c675 uint_t ccr = rp->r_tstate >> TSTATE_CCR_SHIFT; in fasttrap_pid_probe()
/titanic_41/usr/src/uts/sun4/os/
H A Dvisinstr.c535 << TSTATE_CCR_SHIFT); in vis_edge()
537 pregs->r_tstate |= ((uint64_t)ccr << TSTATE_CCR_SHIFT); in vis_edge()
/titanic_41/usr/src/uts/sun4v/ml/
H A Dtrap_table.s2287 sllx %g3, TSTATE_CCR_SHIFT, %g2
/titanic_41/usr/src/uts/sun4u/ml/
H A Dtrap_table.s2526 sllx %g3, TSTATE_CCR_SHIFT, %g2