From owner-p4-projects@FreeBSD.ORG Thu Mar 3 22:08:44 2005 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8130A16A4D1; Thu, 3 Mar 2005 22:08:44 +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 3D74116A4CE for ; Thu, 3 Mar 2005 22:08:44 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 053B343D49 for ; Thu, 3 Mar 2005 22:08:44 +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 j23M8hbh012852 for ; Thu, 3 Mar 2005 22:08:43 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j23M8h86012849 for perforce@freebsd.org; Thu, 3 Mar 2005 22:08:43 GMT (envelope-from jhb@freebsd.org) Date: Thu, 3 Mar 2005 22:08:43 GMT Message-Id: <200503032208.j23M8h86012849@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 72453 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: Thu, 03 Mar 2005 22:08:45 -0000 http://perforce.freebsd.org/chv.cgi?CH=72453 Change 72453 by jhb@jhb_slimer on 2005/03/03 22:07:55 Ok, use a more constrained clobber here. Suggested by: alc Affected files ... .. //depot/projects/smpng/sys/sparc64/include/cpufunc.h#21 edit Differences ... ==== //depot/projects/smpng/sys/sparc64/include/cpufunc.h#21 (text+ko) ==== @@ -63,14 +63,14 @@ #define casa(rs1, rs2, rd, asi) ({ \ u_int __rd = (uint32_t)(rd); \ __asm __volatile("casa [%1] %2, %3, %0" \ - : "+r" (__rd) : "r" (rs1), "n" (asi), "r" (rs2) : "memory");\ + : "+r" (__rd) : "r" (rs1), "n" (asi), "r" (rs2), "m" (*rs1));\ __rd; \ }) #define casxa(rs1, rs2, rd, asi) ({ \ u_long __rd = (uint64_t)(rd); \ __asm __volatile("casxa [%1] %2, %3, %0" \ - : "+r" (__rd) : "r" (rs1), "n" (asi), "r" (rs2) : "memory");\ + : "+r" (__rd) : "r" (rs1), "n" (asi), "r" (rs2), "m" (*rs1));\ __rd; \ })