From owner-p4-projects Fri Mar 14 13:32: 3 2003 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 27E4A37B404; Fri, 14 Mar 2003 13:32:01 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B41A937B401 for ; Fri, 14 Mar 2003 13:32:00 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6086143F85 for ; Fri, 14 Mar 2003 13:32:00 -0800 (PST) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h2ELW00U049285 for ; Fri, 14 Mar 2003 13:32:00 -0800 (PST) (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2ELVxbu049280 for perforce@freebsd.org; Fri, 14 Mar 2003 13:31:59 -0800 (PST) Date: Fri, 14 Mar 2003 13:31:59 -0800 (PST) Message-Id: <200303142131.h2ELVxbu049280@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin Subject: PERFORCE change 26898 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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