Module Name: src Committed By: martin Date: Tue Feb 17 15:11:28 UTC 2015
Modified Files: src/sys/external/bsd/sljit/dist/sljit_src [netbsd-7]: sljitNativeX86_common.c Log Message: Pull up following revision(s) (requested by alnsn in ticket #531): sys/external/bsd/sljit/dist/sljit_src/sljitNativeX86_common.c: revision 1.7 Apply a bugfix from r282 http://sourceforge.net/p/sljit/code/282/. The bug was originally reported by me in a newer upstream version. American fuzzy lop rediscovered it for the version of sljit in the NetBSD tree. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.6.2.1 \ src/sys/external/bsd/sljit/dist/sljit_src/sljitNativeX86_common.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/sljit/dist/sljit_src/sljitNativeX86_common.c diff -u src/sys/external/bsd/sljit/dist/sljit_src/sljitNativeX86_common.c:1.6 src/sys/external/bsd/sljit/dist/sljit_src/sljitNativeX86_common.c:1.6.2.1 --- src/sys/external/bsd/sljit/dist/sljit_src/sljitNativeX86_common.c:1.6 Tue Jun 17 19:33:20 2014 +++ src/sys/external/bsd/sljit/dist/sljit_src/sljitNativeX86_common.c Tue Feb 17 15:11:28 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: sljitNativeX86_common.c,v 1.6 2014/06/17 19:33:20 alnsn Exp $ */ +/* $NetBSD: sljitNativeX86_common.c,v 1.6.2.1 2015/02/17 15:11:28 martin Exp $ */ /* * Stack-less Just-In-Time compiler @@ -1749,7 +1749,7 @@ static sljit_si emit_mul(struct sljit_co *(sljit_si*)inst = (sljit_si)src2w; } else { - EMIT_MOV(compiler, TMP_REG2, 0, SLJIT_IMM, src1w); + EMIT_MOV(compiler, TMP_REG2, 0, SLJIT_IMM, src2w); if (dst_r != src1) EMIT_MOV(compiler, dst_r, 0, src1, src1w); inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG2, 0);