From owner-p4-projects@FreeBSD.ORG Mon Mar 7 20:15:43 2005 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id AF7D216A4D0; Mon, 7 Mar 2005 20:15:42 +0000 (GMT) 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 8B92716A4CE for ; Mon, 7 Mar 2005 20:15:42 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7880F43D4C for ; Mon, 7 Mar 2005 20:15:42 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j27KFgT0014658 for ; Mon, 7 Mar 2005 20:15:42 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j27KFgic014655 for perforce@freebsd.org; Mon, 7 Mar 2005 20:15:42 GMT (envelope-from jhb@freebsd.org) Date: Mon, 7 Mar 2005 20:15:42 GMT Message-Id: <200503072015.j27KFgic014655@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Subject: PERFORCE change 72653 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 20:15:43 -0000 http://perforce.freebsd.org/chv.cgi?CH=72653 Change 72653 by jhb@jhb_slimer on 2005/03/07 20:15:04 fldcw() and ldmxcsr() use the memory operand as input, not output. Affected files ... .. //depot/projects/smpng/sys/amd64/include/ieeefp.h#5 edit Differences ... ==== //depot/projects/smpng/sys/amd64/include/ieeefp.h#5 (text+ko) ==== @@ -121,10 +121,10 @@ #define __fldenv(addr) __asm __volatile("fldenv %0" : : "m" (*(addr))) #define __fnstenv(addr) __asm __volatile("fnstenv %0" : "=m" (*(addr))) -#define __fldcw(addr) __asm __volatile("fldcw %0" : "=m" (*(addr))) +#define __fldcw(addr) __asm __volatile("fldcw %0" : : "m" (*(addr))) #define __fnstcw(addr) __asm __volatile("fnstcw %0" : "=m" (*(addr))) #define __fnstsw(addr) __asm __volatile("fnstsw %0" : "=m" (*(addr))) -#define __ldmxcsr(addr) __asm __volatile("ldmxcsr %0" : "=m" (*(addr))) +#define __ldmxcsr(addr) __asm __volatile("ldmxcsr %0" : : "m" (*(addr))) #define __stmxcsr(addr) __asm __volatile("stmxcsr %0" : "=m" (*(addr))) /*