Subject: CVS commit: src/sys/arch/vax/vax
To: None <source-changes@NetBSD.org>
From: Anders Magnusson <ragge@netbsd.org>
List: source-changes
Date: 11/30/2003 10:02:21
Module Name:	src
Committed By:	ragge
Date:		Sun Nov 30 10:02:21 UTC 2003

Modified Files:
	src/sys/arch/vax/vax: emulate.S

Log Message:
Bugfixes for emulated instructions MOVTC and MOVTUC, from Bertram Barth:

> - condition-codes should be set from (unmodified) srclen vs. dstlen
>   instead from the modified (register-) values after completion.
>
> - for MOVTUC the V-bit should be set if the esc-char was found.
>
> - the arguments for comparison should be reversed.
>
> - count is unsigned word, but for condition-codes the comparison
>   should be done with signed words (ie. N = srclen LSS dstlen)


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/sys/arch/vax/vax/emulate.S

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