Added Marcus version of __swap_int16(); it's commented out for now, though,

but we might want to add it later.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4561 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2003-09-08 12:23:03 +00:00
parent e4cf172727
commit a8ee1dbc56
@@ -14,6 +14,15 @@ FUNCTION(__swap_int16):
shr $16, %eax
ret
/* this one is much faster on a P4, courtesy of Marcus Overhagen,
* a good candidate for per processor optimizations: */
/*
FUNCTION(__swap_int16_p4):
movl 4(%esp), %eax
rolw $8, %ax
ret
*/
/* uint32 __swap_int32(uint32 value) */
FUNCTION(__swap_int32):
movl 4(%esp), %eax