From owner-freebsd-current@FreeBSD.ORG Sun Sep 20 01:44:10 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0ED69106566B for ; Sun, 20 Sep 2009 01:44:10 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ew0-f208.google.com (mail-ew0-f208.google.com [209.85.219.208]) by mx1.freebsd.org (Postfix) with ESMTP id 728FC8FC15 for ; Sun, 20 Sep 2009 01:44:09 +0000 (UTC) Received: by ewy4 with SMTP id 4so1508434ewy.36 for ; Sat, 19 Sep 2009 18:44:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=xwDzQZRBo3aApX4ZXnZt9bZJ29z57rbN2qnv0pAuJPQ=; b=dUdWgyVY19TZ95ZgZYHm6wkBxtz/qNuU6pLUPTHW1pPwox6PKpToUZJlH0v+FGQbgd CC258mJSFYAOwlRaxbfIjRKHWK7SVEcFsRxg48+vBF1qXJXFjoOsg51nkvVKjNKY6N/5 ftQPpbzzuFGvPZyx4D2vhduiLByq73JC1WAzU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Kqau8A9RwyN6punXCC7oY+8+Ildr26ZTyDgLjJ1fYolKjhYZAhEy2SPys7inWRAse0 bzlgVxCG9B+6eAMGeQj4uxUS5/gQ6LrF42W3THUDz23P5RkdGzp6TQDcGwlQywmJdzch wrbPK4JIlJahOtL5M4xWZCQ7t6qGxwWinWzrg= MIME-Version: 1.0 Received: by 10.210.6.21 with SMTP id 21mr1383442ebf.58.1253411048419; Sat, 19 Sep 2009 18:44:08 -0700 (PDT) In-Reply-To: <507613.41733.qm@web63907.mail.re1.yahoo.com> References: <507613.41733.qm@web63907.mail.re1.yahoo.com> Date: Sat, 19 Sep 2009 21:44:08 -0400 Message-ID: From: Ryan Stone To: Barney Cordoba Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org, Ivan Voras Subject: Re: SSE register return with SSE disabled on AMD64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2009 01:44:10 -0000 You must not use SSE or floating point operations in the kernel. The state of the floating point and SSE registers is *not* saved upon entry to the kernel. If the kernel executes SSE or floating point instructions it will corrupt the state of a userland program. Ryan Stone