Subject: CVS commit: src/sys/arch/vax/boot/common
To: None <>
From: David Laight <>
List: source-changes
Date: 09/04/2003 10:40:45
Module Name:	src
Committed By:	dsl
Date:		Thu Sep  4 10:40:45 UTC 2003

Modified Files:
	src/sys/arch/vax/boot/common: str.S

Log Message:
Add memcmp, memcpy and memset
Fix strncmp(x, y, 0)
Use unsigned compares for strcmp and memcmp (and bcmp).
Compiles but untested
cmpc3/5 set %r4 and %r5 to zero, It doesn't look as though the procedure
call is set to preserve these, and I doubt that gcc is treating them as
scratch registers - does our vax pcs actually have %r2 and %r3 as scratch regs?

To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/sys/arch/vax/boot/common/str.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.