From owner-p4-projects@FreeBSD.ORG Mon May 26 19:12:49 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 17B8E37B404; Mon, 26 May 2003 19:12:49 -0700 (PDT) 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 A3AF237B401 for ; Mon, 26 May 2003 19:12:48 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E87C43F75 for ; Mon, 26 May 2003 19:12:48 -0700 (PDT) (envelope-from jmallett@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 h4R2Cm0U037370 for ; Mon, 26 May 2003 19:12:48 -0700 (PDT) (envelope-from jmallett@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4R2Clvq037367 for perforce@freebsd.org; Mon, 26 May 2003 19:12:47 -0700 (PDT) Date: Mon, 26 May 2003 19:12:47 -0700 (PDT) Message-Id: <200305270212.h4R2Clvq037367@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jmallett@freebsd.org using -f From: Juli Mallett To: Perforce Change Reviews Subject: PERFORCE change 31912 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: Tue, 27 May 2003 02:12:50 -0000 http://perforce.freebsd.org/chv.cgi?CH=31912 Change 31912 by jmallett@jmallett_dalek on 2003/05/26 19:12:44 Put input constraints that we actually need to have the value of into the input field. Affected files ... .. //depot/projects/mips/sys/mips/include/atomic.h#17 edit Differences ... ==== //depot/projects/mips/sys/mips/include/atomic.h#17 (text+ko) ==== @@ -107,8 +107,8 @@ asmop "\n\t" \ "sc %[temp], %[p]\n\t" \ "beqz %[temp], 1b\n\t" \ - : [val] "=&r"(val), [temp] "=&r"(temp), [p] "+m"(*p) \ - : \ + : [temp] "=&r"(temp), [p] "+m"(*p) \ + : [val] "r"(val) \ : "memory" \ ); \ } @@ -195,8 +195,8 @@ asmop "\n\t" \ "scd %[temp], %[p]\n\t" \ "beqz %[temp], 1b\n\t" \ - : [val] "=&r"(val), [temp] "=&r"(temp), [p] "+m"(*p) \ - : \ + : [temp] "=&r"(temp), [p] "+m"(*p) \ + : [val] "r"(val) \ : "memory" \ ); \ }