From patchwork Tue Jun 10 16:08:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 31683 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 38FA720675 for ; Tue, 10 Jun 2014 16:49:00 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id lx4sf10019342iec.4 for ; Tue, 10 Jun 2014 09:48:59 -0700 (PDT) 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=5DVymklgGD6z/9/6VD0zbm1uwze0aGrDit2OowLlEDw=; b=WpM0Po23Tt//SYEf7stzjuFIyrYGLGF6F64BpaZx/H4p6BwQHDWk7QRVthyXkiKbWs ctSRxBHPOnhKMCfqx5+oF+ORPuEPomdToiOLdkpKDF94G0NcmREStHXhP4kDMLOccIFh CHF3e0fXE5XbW57A22HXLEhEwTsLd4XMn7I23VBDB/vEy2UMYmuP7TQ1kq2CCe1hc56N OdIur2XZPiISKZBHdRg3RSKYjJw22cMxKIS0ZNcqGjeSkSNOmTla+YAxkWjb1am6hUOx +WVaWV8oR5nv5Q+OoGexPBRetpVkIVnE1PPb7c1xMRwTbhuSr/HYMyYtRfjNiEV4oBMQ inDA== X-Gm-Message-State: ALoCoQk74tvkJyKaBfikON8vnWABpwpBayDGhktjYLCPuQudrG9lm5w/2piuS7yVOsIVqyGuqqZF X-Received: by 10.182.191.73 with SMTP id gw9mr312279obc.50.1402418939741; Tue, 10 Jun 2014 09:48:59 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.26.183 with SMTP id 52ls2214960qgv.15.gmail; Tue, 10 Jun 2014 09:48:59 -0700 (PDT) X-Received: by 10.221.19.196 with SMTP id ql4mr1820330vcb.64.1402418939490; Tue, 10 Jun 2014 09:48:59 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id ve5si12009465vcb.76.2014.06.10.09.48.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Jun 2014 09:48:59 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.181 as permitted sender) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id db11so3049095veb.40 for ; Tue, 10 Jun 2014 09:48:59 -0700 (PDT) X-Received: by 10.53.5.162 with SMTP id cn2mr27693224vdd.13.1402418939402; Tue, 10 Jun 2014 09:48:59 -0700 (PDT) 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.221.54.6 with SMTP id vs6csp240000vcb; Tue, 10 Jun 2014 09:48:59 -0700 (PDT) X-Received: by 10.224.25.133 with SMTP id z5mr15492859qab.97.1402418939017; Tue, 10 Jun 2014 09:48:59 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id v4si28260141qap.83.2014.06.10.09.48.58 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Jun 2014 09:48:59 -0700 (PDT) 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]:41269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuPEI-0002wa-Li for patch@linaro.org; Tue, 10 Jun 2014 12:48:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuPDM-00020h-HP for qemu-devel@nongnu.org; Tue, 10 Jun 2014 12:48:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuPDH-0007Ud-7q for qemu-devel@nongnu.org; Tue, 10 Jun 2014 12:48:00 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:53379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuPDG-0007Tq-VS; Tue, 10 Jun 2014 12:47:55 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 993BD412CF; Tue, 10 Jun 2014 20:47:53 +0400 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 4F38D6CF; Tue, 10 Jun 2014 20:08:49 +0400 (MSK) Received: (nullmailer pid 13317 invoked by uid 1000); Tue, 10 Jun 2014 16:08:47 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Tue, 10 Jun 2014 20:08:31 +0400 Message-Id: <1402416523-13212-14-git-send-email-mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1402416523-13212-1-git-send-email-mjt@msgid.tls.msk.ru> References: <1402416523-13212-1-git-send-email-mjt@msgid.tls.msk.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 86.62.121.231 Cc: qemu-trivial@nongnu.org, Peter Maydell , Michael Tokarev Subject: [Qemu-devel] [PULL 13/25] target-i386/translate.c: Remove unused tcg_gen_lshift() 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: mjt@tls.msk.ru X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.181 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 From: Peter Maydell The function tcg_gen_lshift() is unused; remove it. Signed-off-by: Peter Maydell Signed-off-by: Michael Tokarev --- target-i386/translate.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/target-i386/translate.c b/target-i386/translate.c index 2359787..6fcd824 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -1506,14 +1506,6 @@ static void gen_shift_rm_im(DisasContext *s, TCGMemOp ot, int op1, int op2, } } -static inline void tcg_gen_lshift(TCGv ret, TCGv arg1, target_long arg2) -{ - if (arg2 >= 0) - tcg_gen_shli_tl(ret, arg1, arg2); - else - tcg_gen_shri_tl(ret, arg1, -arg2); -} - static void gen_rot_rm_T1(DisasContext *s, TCGMemOp ot, int op1, int is_right) { target_ulong mask = (ot == MO_64 ? 0x3f : 0x1f);