From patchwork Thu Mar 6 23:34:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 25856 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 94EF520560 for ; Fri, 7 Mar 2014 00:23:14 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id rd18sf12719688iec.4 for ; Thu, 06 Mar 2014 16:23:14 -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=6scWVd5cvfMZ3jI+aXAYe29h2DtI10zjSOnNxwpFx+0=; b=grlmZNOMnMYTSfoOr0a1/yERaxcyJ8Y3HV4EWOJ4PaNrdeZx5g4egyW4gugeBvUcuZ r53TrHXHxBPgwBBpUAH2tcLojBKoa7+WgrDUFetD0ZwSvjyjod4zUgrC1kGBfe4gT+eg X/hNo3rPd7K38sgNX4zpD6yRvnKVpHa6XGMwwnOE6FiwX3nGClrVt2GaS76bJueWB5BB iNZsA6uAKm2dDgQmYNZAUWSlHboTU1B964/VSkKU/Sy+bTD2hqfeoMz2rL1ARTMeHBmw x0SMAl7QAvOAoEggGtWiBbRX23HjDidvRbmNLqlSnM/ONV4m0tZOBjG8cPBm59TCRe9e T/PA== X-Gm-Message-State: ALoCoQmP0tb1LhbCWl2ZUjXhOK5yjWvouuWq7lCkeul+qr2Uz64bIPNTnvxBeW+FFeg0W0YOSVqv X-Received: by 10.182.95.68 with SMTP id di4mr6795560obb.4.1394151794002; Thu, 06 Mar 2014 16:23:14 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.82.39 with SMTP id g36ls992458qgd.25.gmail; Thu, 06 Mar 2014 16:23:13 -0800 (PST) X-Received: by 10.58.132.203 with SMTP id ow11mr7686290veb.1.1394151793829; Thu, 06 Mar 2014 16:23:13 -0800 (PST) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by mx.google.com with ESMTPS id cp10si1681316ved.58.2014.03.06.16.23.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Mar 2014 16:23:13 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.177; Received: by mail-ve0-f177.google.com with SMTP id sa20so3408576veb.36 for ; Thu, 06 Mar 2014 16:23:13 -0800 (PST) X-Received: by 10.52.186.230 with SMTP id fn6mr10035162vdc.14.1394151793739; Thu, 06 Mar 2014 16:23:13 -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.220.78.9 with SMTP id i9csp76510vck; Thu, 6 Mar 2014 16:23:12 -0800 (PST) X-Received: by 10.224.171.200 with SMTP id i8mr6561991qaz.96.1394151792197; Thu, 06 Mar 2014 16:23:12 -0800 (PST) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id h5si185800qas.164.2014.03.06.16.23.12 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 06 Mar 2014 16:23:12 -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]:33473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLiZD-0001u2-Ln for patch@linaro.org; Thu, 06 Mar 2014 19:23:11 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLhoa-0001JS-Pe for qemu-devel@nongnu.org; Thu, 06 Mar 2014 18:35:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLhnz-0003Qw-FH for qemu-devel@nongnu.org; Thu, 06 Mar 2014 18:35:00 -0500 Received: from cantor2.suse.de ([195.135.220.15]:55892 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLhnz-0003Fs-9G; Thu, 06 Mar 2014 18:34:23 -0500 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 0FD22AD3F; Thu, 6 Mar 2014 23:34:23 +0000 (UTC) From: Alexander Graf To: qemu-devel@nongnu.org Date: Fri, 7 Mar 2014 00:34:07 +0100 Message-Id: <1394148857-19607-121-git-send-email-agraf@suse.de> X-Mailer: git-send-email 1.7.12.4 In-Reply-To: <1394148857-19607-1-git-send-email-agraf@suse.de> References: <1394148857-19607-1-git-send-email-agraf@suse.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 195.135.220.15 Cc: blauwirbel@gmail.com, Peter Maydell , qemu-ppc@nongnu.org, aurelien@aurel32.net, aliguori@amazon.com Subject: [Qemu-devel] [PULL 120/130] target-ppc/translate.c: Use ULL suffix for 64 bit constants X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-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: agraf@suse.de X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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 From: Peter Maydell 64 bit constants need the "ULL" suffix, not just "UL", because on 32 bit platforms 'long' is not large enough and this will cause a compiler warning. Signed-off-by: Peter Maydell Reviewed-by: Stefan Weil Signed-off-by: Alexander Graf --- target-ppc/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target-ppc/translate.c b/target-ppc/translate.c index cf8f98a..051693b 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -7727,8 +7727,8 @@ static void gen_xxpermdi(DisasContext *ctx) #define OP_NABS 2 #define OP_NEG 3 #define OP_CPSGN 4 -#define SGN_MASK_DP 0x8000000000000000ul -#define SGN_MASK_SP 0x8000000080000000ul +#define SGN_MASK_DP 0x8000000000000000ull +#define SGN_MASK_SP 0x8000000080000000ull #define VSX_SCALAR_MOVE(name, op, sgn_mask) \ static void glue(gen_, name)(DisasContext * ctx) \