From owner-svn-src-projects@FreeBSD.ORG Wed Oct 24 05:41:11 2012 Return-Path: Delivered-To: svn-src-projects@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 503102D8; Wed, 24 Oct 2012 05:41:11 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 00F328FC08; Wed, 24 Oct 2012 05:41:10 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 5282411CCC; Wed, 24 Oct 2012 15:41:03 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro.local (c-67-190-8-21.hsd1.co.comcast.net [67.190.8.21]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BHG17617 (AUTH peterg@ptree32.com.au); Wed, 24 Oct 2012 15:40:59 +1000 Message-ID: <50877F67.1040409@freebsd.org> Date: Tue, 23 Oct 2012 23:40:55 -0600 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: svn commit: r241744 - projects/bhyve/usr.sbin/bhyve References: <201210191811.q9JIBIQu049356@svn.freebsd.org> <20121021121006.GA96141@stack.nl> <5085D433.4020101@freebsd.org> <20121023095549.GA27951@stack.nl> <5086C976.9060705@freebsd.org> <5086D040.1090307@FreeBSD.org> In-Reply-To: <5086D040.1090307@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Junkmail-Info: RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,SPF_SOFTFAIL X-Junkmail-Status: score=24/51, host=dommail.onthenet.com.au Cc: svn-src-projects@FreeBSD.org, src-committers@FreeBSD.org, Jilles Tjoelker X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2012 05:41:11 -0000 Hi Andriy, > If this code emulates something like mov into %eax on AMDD64, then it should clear > upper 32-bits of %rax. Which I think your original code already did, but in a > less obvious way than Jilles suggested above. > But I could be very well confused... The 0x88/0x89 forms of the MOV instruction don't touch bytes outside of the operand size. later, Peter.