PERFORCE change 30321 for review
Peter Wemm
peter at FreeBSD.org
Thu May 1 10:19:12 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=30321
Change 30321 by peter at peter_daintree on 2003/05/01 10:18:22
rcsid/whitespace/comment sync
Affected files ...
.. //depot/projects/hammer/lib/libc/amd64/gen/alloca.S#8 edit
Differences ...
==== //depot/projects/hammer/lib/libc/amd64/gen/alloca.S#8 (text+ko) ====
@@ -39,7 +39,7 @@
#endif /* LIBC_SCCS and not lint */
#include <machine/asm.h>
-__FBSDID("$FreeBSD: src/lib/libc/i386/gen/alloca.S,v 1.10 2002/03/23 02:44:18 obrien Exp $");
+__FBSDID("$FreeBSD: src/lib/libc/amd64/gen/alloca.S,v 1.1 2003/05/01 16:04:38 obrien Exp $");
/* like alloc, but automatic automatic free in return */
@@ -47,10 +47,8 @@
ENTRY(alloca)
popq %rdx /* pop return addr */
movl %rsp,%rcx
- addq $15,%rdi /* round up to 16 bytes */
+ addq $15,%rdi /* round amount to allocate up to 16 bytes */
andq $~15,%rdi
subq %rdi,%rsp
movq %rsp,%rax /* base of newly allocated space */
jmp *%rdx /* "return" */
-
-
More information about the p4-projects
mailing list