Date: Fri, 14 Mar 2003 13:31:59 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 26898 for review Message-ID: <200303142131.h2ELVxbu049280@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=26898 Change 26898 by jhb@jhb_laptop on 2003/03/14 13:31:16 Revert this change as it wasn't correct. Note that low and high switch between inputs and outputs and that %edx needs to start out as 0 and has rem only for an output. Affected files ... .. //depot/projects/smpng/sys/i386/i386/math_emulate.c#7 edit Differences ... ==== //depot/projects/smpng/sys/i386/i386/math_emulate.c#7 (text+ko) ==== @@ -889,9 +889,9 @@ } #define DIV10(low,high,rem) \ - __asm__("divl %4 ; xchgl %1,%2 ; divl %4" \ - :"+d" (rem),"+a" (low),"+r" (high) \ - :"c" (10)) + __asm__("divl %6 ; xchgl %1,%2 ; divl %6" \ + :"=d" (rem),"=a" (low),"=r" (high) \ + :"0" (0),"1" (high),"2" (low),"c" (10)) static void put_BCD(const temp_real * tmp,struct trapframe * info, unsigned short code) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303142131.h2ELVxbu049280>