Re: readsw/writesw readsl/writesl

From: David S. Miller (davem@redhat.com)
Date: Tue Aug 27 2002 - 02:30:27 EST


   From: Andre Hedrick <andre@linux-ide.org>
   Date: Mon, 26 Aug 2002 23:23:22 -0700 (PDT)
   
   Would you consider these for each arch as there are coresponding one for
   IOMIO, and life would be better if we had a standard set for MMIO.
   
   Please consider the request.

The only reason insl() exists is because the x86 has special
instructions to perform that operation.

It used to be an optimization when cpus were really slow.

No cpu to my knowledge has special instructions to readsl et al. and
on no cpu would be faster than a hand coded loop.

In fact I would instead vote to delete {in,out}s{b,w,l}() and friends.
:-)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:19 EST