Message ID | 1422302600-21514-2-git-send-email-kbastian@mail.uni-paderborn.de |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBDDZLJHTWUKBBDU7TKTAKGQE6C77EEQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D819420D5D for <linaro@patches.linaro.org>; Mon, 26 Jan 2015 19:03:43 +0000 (UTC) Received: by mail-lb0-f198.google.com with SMTP id l4sf5297792lbv.1 for <linaro@patches.linaro.org>; Mon, 26 Jan 2015 11:03:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=brSrL9Q2grUu5+T1xD5hp773yUCeuokEgId0wIOjz1Q=; b=Kp6CSrzLMyKxvVyjcALuDdj7dx7FdX+8wNRgfb5vH9IUoRtVJlPZdH4CYSPZXtnKeM TP6XHAs7g7T7QM4qV9WhVxj3cxwUIfNUZk/qqQo8b1YLoxZFkd62x+Bue2BsO9Ts9nQu UY2DASIXwb4T+RAcPIB4JRESOLPsuAcbG4c9k+wwsQTuMrY1rc694ujc5beByW1dZL0Y b2+JcYBdqjvmSkw9HwTHcQ4Oxv2YuO9w4fENhPnxOnDCNfKX39A/XmMNykNfO4q/9xU/ 4tBzXYV4gm649+k6PQchfQVbV/QIJDGVwLK6slJiIHWi/DOHZL2cMMGZ3nBrlysuxbjS 260Q== X-Gm-Message-State: ALoCoQnJ1uIVsVITMY+4ljbPnGxaEg9MXQLZbPCEilDjrcl672Frv7VW1eavkGzhSFnNOQYq6WIV X-Received: by 10.112.42.104 with SMTP id n8mr1474937lbl.19.1422299022734; Mon, 26 Jan 2015 11:03:42 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.242.129 with SMTP id wq1ls493929lac.56.gmail; Mon, 26 Jan 2015 11:03:42 -0800 (PST) X-Received: by 10.112.125.41 with SMTP id mn9mr22833636lbb.80.1422299022431; Mon, 26 Jan 2015 11:03:42 -0800 (PST) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id x4si5153638lbm.37.2015.01.26.11.03.42 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 26 Jan 2015 11:03:42 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by mail-la0-f44.google.com with SMTP id s18so9441088lam.3 for <patchwork-forward@linaro.org>; Mon, 26 Jan 2015 11:03:42 -0800 (PST) X-Received: by 10.152.234.35 with SMTP id ub3mr23116961lac.70.1422299022252; Mon, 26 Jan 2015 11:03:42 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp870098lbj; Mon, 26 Jan 2015 11:03:41 -0800 (PST) X-Received: by 10.229.192.5 with SMTP id do5mr44447758qcb.12.1422299020755; Mon, 26 Jan 2015 11:03:40 -0800 (PST) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id v76si14393479qge.35.2015.01.26.11.03.40 for <patch@linaro.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 26 Jan 2015 11:03:40 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:43489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1YFowl-0006Ox-LX for patch@linaro.org; Mon, 26 Jan 2015 14:03:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <kbastian@mail.uni-paderborn.de>) id 1YFovg-0005JD-79 for qemu-devel@nongnu.org; Mon, 26 Jan 2015 14:02:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <kbastian@mail.uni-paderborn.de>) id 1YFovb-0001eS-Hb for qemu-devel@nongnu.org; Mon, 26 Jan 2015 14:02:32 -0500 Received: from mail.uni-paderborn.de ([131.234.142.9]:53249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <kbastian@mail.uni-paderborn.de>) id 1YFovb-0001ds-BT for qemu-devel@nongnu.org; Mon, 26 Jan 2015 14:02:27 -0500 From: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> To: qemu-devel@nongnu.org Date: Mon, 26 Jan 2015 20:03:12 +0000 Message-Id: <1422302600-21514-2-git-send-email-kbastian@mail.uni-paderborn.de> X-Mailer: git-send-email 2.2.2 In-Reply-To: <1422302600-21514-1-git-send-email-kbastian@mail.uni-paderborn.de> References: <1422302600-21514-1-git-send-email-kbastian@mail.uni-paderborn.de> X-IMT-Spam-Score: 0.0 () X-PMX-Version: 6.2.0.2453472, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2015.1.26.185422 X-IMT-Authenticated-Sender: uid=kbastian,ou=People,o=upb,c=de X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 131.234.142.9 Cc: peter.maydell@linaro.org Subject: [Qemu-devel] [PULL 1/9] target-tricore: Add missing ULL suffix on 64 bit constant X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: kbastian@mail.uni-paderborn.de X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/target-tricore/op_helper.c b/target-tricore/op_helper.c index 13e2729..5704549 100644 --- a/target-tricore/op_helper.c +++ b/target-tricore/op_helper.c @@ -994,7 +994,7 @@ uint32_t helper_sha(CPUTriCoreState *env, target_ulong r1, target_ulong r2) } else if (shift_count > 0) { result = t1 << shift_count; /* calc carry */ - env->PSW_USB_C = ((result & 0xffffffff00000000) != 0); + env->PSW_USB_C = ((result & 0xffffffff00000000ULL) != 0); /* calc v */ env->PSW_USB_V = (((result > 0x7fffffffLL) || (result < -0x80000000LL)) << 31);