From patchwork Sat Dec 19 23:17:16 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 41483 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 13F00B6F16 for ; Sun, 20 Dec 2009 10:31:38 +1100 (EST) Received: from localhost ([127.0.0.1]:45567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NM8lr-0003St-6Q for incoming@patchwork.ozlabs.org; Sat, 19 Dec 2009 18:31:35 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NM8jb-0002Wg-Kt for qemu-devel@nongnu.org; Sat, 19 Dec 2009 18:29:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NM8ja-0002VP-2i for qemu-devel@nongnu.org; Sat, 19 Dec 2009 18:29:14 -0500 Received: from [199.232.76.173] (port=39849 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NM8jZ-0002V5-Sq for qemu-devel@nongnu.org; Sat, 19 Dec 2009 18:29:13 -0500 Received: from are.twiddle.net ([75.149.56.221]:39307) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NM8jZ-0002un-J3 for qemu-devel@nongnu.org; Sat, 19 Dec 2009 18:29:13 -0500 Received: by are.twiddle.net (Postfix, from userid 5000) id EE8558E0; Sat, 19 Dec 2009 15:29:12 -0800 (PST) Message-Id: <9f33a8f00045c6cf1ba26be71b76ff84fb7e0eac.1261264754.git.rth@twiddle.net> In-Reply-To: <2d2f4a285db07da0e453535318a463573c5397d4.1261264754.git.rth@twiddle.net> References: <2d2f4a285db07da0e453535318a463573c5397d4.1261264754.git.rth@twiddle.net> From: Richard Henderson Date: Sat, 19 Dec 2009 15:17:16 -0800 To: qemu-devel@nongnu.org X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: aurelien@aurel32.net Subject: [Qemu-devel] [PATCH 3/3] linux-user: Initialize Alpha FPCR register. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Richard Henderson --- linux-user/main.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/linux-user/main.c b/linux-user/main.c index 12502ad..b67662c 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -3052,6 +3052,8 @@ int main(int argc, char **argv, char **envp) env->ir[30] = regs->usp; env->pc = regs->pc; env->unique = regs->unique; + cpu_alpha_store_fpcr(env, (FPCR_INVD | FPCR_DZED | FPCR_OVFD + | FPCR_UNFD | FPCR_INED | FPCR_DNOD)); } #elif defined(TARGET_CRIS) {