[Top] [All Lists]

RE: "sel" field in MTC0 instruction?

To: "'Ralf Baechle'" <>
Subject: RE: "sel" field in MTC0 instruction?
From: "Babbellapati Syam Krishna (IFIN DC COM)" <>
Date: Tue, 14 Oct 2003 15:48:52 +0530
Cc: "''" <>
Original-recipient: rfc822;
>> #define write_32bit_cp0_performance_register(register,value) 
>\ __asm__ 
>> __volatile__( \ "mtc0\t%0,"STR(register)",sel\n\t" \
>> "nop" \
>> : : "r" (value));
>Which seems to be dervied from an old function which was 
>eleminated months ago.  Checkout a current mipsregs.h - which 
>also accesses register with a non-zero selector value.

Thanks Ralf. I could get out of it.


<Prev in Thread] Current Thread [Next in Thread>