Re: config option vs. run-time detection (the debate continues ...)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 9 Feb 2001, Kevin D. Kissell wrote:

> The best method I know for post-R3000 CPUs is to
> write and read back the CU1 bit of the Status register.
> CPUs without an integrated FPU will not have a flip-flop
> for the bit, and will read back a 0 even after writing a 1.
> There was never any architectural requirement that
> this be so, however, and this cannot be absolutely
> guaranteed to work.  If anyone has a counter-example,
> however, I'd be interested in hearing about it.

 OK, then we may try to toggle CU1 and only if that succeeds check the FPU
implementation id.  Thanks for the point. 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux