Home | History | Annotate | Download | only in asm

Lines Matching refs:mftc0

159 #define mftc0(rt,sel)  ({   unsigned long __res;     __asm__ __volatile__(   "	.set	push					\n"   "	.set	mips32r2				\n"   "	.set	noat					\n"   "	# mftc0	$1, $" #rt ", " #sel "			\n"   "	.word	0x41000800 | (" #rt " << 16) | " #sel "	\n"   "	move	%0, $1					\n"   "	.set	pop					\n"   : "=r" (__res));     __res;  })
167 #define read_vpe_c0_vpecontrol() mftc0(1, 1)
170 #define read_vpe_c0_vpeconf0() mftc0(1, 2)
172 #define read_vpe_c0_count() mftc0(9, 0)
175 #define read_vpe_c0_status() mftc0(12, 0)
177 #define read_vpe_c0_cause() mftc0(13, 0)
180 #define read_vpe_c0_config() mftc0(16, 0)
182 #define read_vpe_c0_config1() mftc0(16, 1)
185 #define read_vpe_c0_config7() mftc0(16, 7)
187 #define read_vpe_c0_ebase() mftc0(15, 1)
191 #define read_vpe_c0_badvaddr() mftc0(8, 0)
192 #define read_vpe_c0_epc() mftc0(14, 0)
195 #define read_tc_c0_tcstatus() mftc0(2, 1)
197 #define read_tc_c0_tcbind() mftc0(2, 2)
200 #define read_tc_c0_tcrestart() mftc0(2, 3)
202 #define read_tc_c0_tchalt() mftc0(2, 4)
205 #define read_tc_c0_tccontext() mftc0(2, 5)