From patchwork Mon Jun 9 14:57:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 31586 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 33CDB203AB for ; Mon, 9 Jun 2014 16:03:02 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id k14sf79838wgh.6 for ; Mon, 09 Jun 2014 09:03:00 -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: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=McGqiAxuxWt55Z2ddBuCIRqTRV/WL/YCwDBn2zdcI8c=; b=gB+UM7pDXJ8UkzQxs5syS0HqKzDnejlMNr1rptEZrjm9U3v4+Nz1KOUKaeOKr50xSa nstbudQVtO6Y8lu1cyrW/GaQGZVgxXFnlqba/sgbp573F73uPg0vMmOLkyWEp3/92ZKj oO+dwUog8YoJZPFSJfd9r//tu0OLsds7TCrdwqI6iAtD1aNQ0RIqmmiSQ5LG42rXLuaN e8+MS50UHhQX6ZtyqQW9HhjC4IAh0rjZaHN/GJVdL0HZ65jjuBfmvHPJisZ96WWv8Sdw dh0ZFePpHzcuhIYzIYrAbAsf52drqxogjSzQ9nvQRK9wXl7fesQ2ljGKAO/cmsegr6fR dhqg== X-Gm-Message-State: ALoCoQnmain7TRNhYxrvrX1yvznsJN9XzmURKJFAG+XxA0tahgQR0zO1CvL47j7A0QaqtxUvKuBn X-Received: by 10.112.157.129 with SMTP id wm1mr145857lbb.17.1402329780713; Mon, 09 Jun 2014 09:03:00 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.38.133 with SMTP id t5ls1665451qgt.43.gmail; Mon, 09 Jun 2014 09:03:00 -0700 (PDT) X-Received: by 10.220.50.138 with SMTP id z10mr1143641vcf.75.1402329780456; Mon, 09 Jun 2014 09:03:00 -0700 (PDT) Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) by mx.google.com with ESMTPS id q13si10774699vci.29.2014.06.09.09.03.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 09 Jun 2014 09:03:00 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.169 as permitted sender) client-ip=209.85.128.169; Received: by mail-ve0-f169.google.com with SMTP id pa12so383853veb.0 for ; Mon, 09 Jun 2014 09:03:00 -0700 (PDT) X-Received: by 10.53.8.162 with SMTP id dl2mr22109854vdd.24.1402329780365; Mon, 09 Jun 2014 09:03:00 -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 vs6csp156733vcb; Mon, 9 Jun 2014 09:02:59 -0700 (PDT) X-Received: by 10.224.20.10 with SMTP id d10mr6286525qab.16.1402329779496; Mon, 09 Jun 2014 09:02:59 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 110si23611323qgv.9.2014.06.09.09.02.59 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 09 Jun 2014 09:02: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]:33584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu13q-0001CJ-Br for patch@linaro.org; Mon, 09 Jun 2014 11:00:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu113-00051n-NN for qemu-devel@nongnu.org; Mon, 09 Jun 2014 10:57:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wu112-0005dn-0B for qemu-devel@nongnu.org; Mon, 09 Jun 2014 10:57:41 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:48572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu111-0005dP-Pt for qemu-devel@nongnu.org; Mon, 09 Jun 2014 10:57:39 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1Wu111-0006Ax-6h for qemu-devel@nongnu.org; Mon, 09 Jun 2014 15:57:39 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Mon, 9 Jun 2014 15:57:38 +0100 Message-Id: <1402325858-23615-21-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1402325858-23615-1-git-send-email-peter.maydell@linaro.org> References: <1402325858-23615-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:1d0::1 Subject: [Qemu-devel] [PULL 20/20] target-arm: Delete unused iwmmxt_msadb helper 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: peter.maydell@linaro.org 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.169 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 The iwmmxt_msadb helper and its corresponding gen function are unused; delete them. (This function appears to have never been used right back to the initial implementation of iwMMXt; it is identical to iwmmxt_madduq, and is presumably an accidental remnant from the initial development.) Reviewed-by: Peter Crosthwaite Signed-off-by: Peter Maydell Message-id: 1401822125-1822-1-git-send-email-peter.maydell@linaro.org --- target-arm/helper.h | 2 -- target-arm/iwmmxt_helper.c | 9 --------- target-arm/translate.c | 2 -- 3 files changed, 13 deletions(-) diff --git a/target-arm/helper.h b/target-arm/helper.h index 0ef8fca..facfcd2 100644 --- a/target-arm/helper.h +++ b/target-arm/helper.h @@ -456,8 +456,6 @@ DEF_HELPER_3(iwmmxt_avgb1, i64, env, i64, i64) DEF_HELPER_3(iwmmxt_avgw0, i64, env, i64, i64) DEF_HELPER_3(iwmmxt_avgw1, i64, env, i64, i64) -DEF_HELPER_2(iwmmxt_msadb, i64, i64, i64) - DEF_HELPER_3(iwmmxt_align, i64, i64, i64, i32) DEF_HELPER_4(iwmmxt_insr, i64, i64, i32, i32, i32) diff --git a/target-arm/iwmmxt_helper.c b/target-arm/iwmmxt_helper.c index 398cbcb..a506914 100644 --- a/target-arm/iwmmxt_helper.c +++ b/target-arm/iwmmxt_helper.c @@ -369,15 +369,6 @@ IWMMXT_OP_AVGW(1) #undef IWMMXT_OP_AVGW #undef AVGW -uint64_t HELPER(iwmmxt_msadb)(uint64_t a, uint64_t b) -{ - a = ((((a >> 0 ) & 0xffff) * ((b >> 0) & 0xffff) + - ((a >> 16) & 0xffff) * ((b >> 16) & 0xffff)) & 0xffffffff) | - ((((a >> 32) & 0xffff) * ((b >> 32) & 0xffff) + - ((a >> 48) & 0xffff) * ((b >> 48) & 0xffff)) << 32); - return a; -} - uint64_t HELPER(iwmmxt_align)(uint64_t a, uint64_t b, uint32_t n) { a >>= n << 3; diff --git a/target-arm/translate.c b/target-arm/translate.c index 351943f..cf4e767 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -1382,8 +1382,6 @@ IWMMXT_OP_ENV(avgb1) IWMMXT_OP_ENV(avgw0) IWMMXT_OP_ENV(avgw1) -IWMMXT_OP(msadb) - IWMMXT_OP_ENV(packuw) IWMMXT_OP_ENV(packul) IWMMXT_OP_ENV(packuq)