p{read,write}{,64} mips n64 changes

Alexandre Oliva aoliva@redhat.com
Tue Mar 18 16:10:00 GMT 2003


On Mar 18, 2003, Jakub Jelinek <jakub@redhat.com> wrote:

>> >>> __LONG_LONG_PAIR (offset >> 31, offset));

> Is >> 31 instead of >> 32 right?

Yup.  offset is a 32-bit word.  The point is to pass the sign of
offset as the upper word, such that it forms a signed 64-bit value.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Libc-alpha mailing list