Peter Wemm
5d053f461c
We've been lax about matching END() macros in asm code for some time. This
...
is used to set the ELF size attribute for functions. It isn't normally
critical but some things can make use of it (gdb for stack traces).
Valgrind needs it so I'm adding it in. The problem is present on all
branches and on both i386 and amd64.
2008-11-02 01:10:54 +00:00
Alan Cox
97cd6892ba
Optimize the instruction alignment.
2005-04-23 18:45:36 +00:00
Alan Cox
7e266fcd1f
Add a machine-specific, optimized implementation of strcat.
...
PR: 73111
Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD)
MFC after: 3 weeks
2005-04-10 18:58:49 +00:00
Alan Cox
fb41e04787
Eliminate a conditional branch and as a side-effect eliminate a branch to
...
a return instruction. (The latter is discouraged by the Opteron
optimization manual because it disables branch prediction for the return
instruction.)
Reviewed by: bde
2005-04-10 18:12:07 +00:00
Alan Cox
6524eb94a1
Add a machine-specific, optimized implementation of strcpy.
...
PR: 73111
Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD)
MFC after: 3 weeks
2005-04-10 05:11:06 +00:00
Alan Cox
e5dd4df84c
Add a machine-specific, optimized implementation of strcmp.
...
PR: 73111
Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD)
MFC after: 3 weeks
2005-04-09 20:47:08 +00:00
Alan Cox
26f6218be9
Add machine-specific, optimized implementations of bcmp and memcmp.
...
PR: 73111
Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD)
MFC after: 3 weeks
2005-04-08 05:15:55 +00:00
Alan Cox
b5c9ad687a
Eliminate unneeded instructions that are a vestige of mechanical
...
translation from i386.
2005-04-08 05:10:18 +00:00
Alan Cox
0417d4e3e9
Eliminate an unneeded instruction that is a vestige of mechanical
...
translation from i386.
2005-04-07 05:46:46 +00:00
Alan Cox
91c09a383a
Add machine-specific, optimized implementations of bcopy, bzero, memcpy,
...
memmove, and memset.
PR: 73111
Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD)
MFC after: 3 weeks
2005-04-07 03:56:03 +00:00