[XviD-devel] New Trellis Quant
James Bilotto
jb13 at gomerbud.com
Sun May 11 16:06:33 CEST 2003
On Sun, May 11, 2003 at 09:21:22PM +0200, Christoph Lampert wrote:
> On Sun, 11 May 2003, James Bilotto wrote:
> > that's werid, my man page look like this
> >
> > BZERO(3) FreeBSD Library Functions Manual BZERO(3)
> >
> > NAME
> > bzero - write zeroes to a byte string
> >
> > [...]
>
> Yes, it seems that bzero() is a BSD function but not part of ANSI C,
> whereas memset is the standard somewhere.
> On Linux, I guess bzero is just a call of memset() anyway.
>
> Still, since we know that our blocks are always 64*sizeof(short),
> we can surely safe a few cycles by a SIMD version.
>
you are right there, but that is why i brought it up. bzero() is supose to use
dedicated hardware on 586 and higher CPU's, but now it semes as if they just
have memset() use what bzero() and bcopy() used if you have the right CPU.
so you are right.
jb13
More information about the XviD-devel
mailing list