From patchwork Wed Dec 4 13:27:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ragesh Radhakrishnan X-Patchwork-Id: 22024 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f69.google.com (mail-qe0-f69.google.com [209.85.128.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 427E923FCB for ; Wed, 4 Dec 2013 13:27:21 +0000 (UTC) Received: by mail-qe0-f69.google.com with SMTP id 1sf30842628qec.0 for ; Wed, 04 Dec 2013 05:27:21 -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:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=dB2J8AT2Avz7hf8v7H7mKpKmXID57inuUzSfLXTzRNk=; b=S3zQgizUuYvFqJjTsMrkd3kUY4SlbOY1pDECkjlOKEEQMj9Veld3HJJFaJoGqls5Tp kDyep5vwlXDp78/4lYa2Rdb02TRJkQUaU4L9Lj66BZCKjsnUmug1WGHnNG+5ZxO8H7L3 FeFoiiNAPzaXe7bureQRVQMlQahNP+oUTpuWuh3fbebVdj6B9OH3Nyud3uWoe1mqSQOT Lp85It/MK0Zo4NYMw8uOUn5VsNN3D1dEe5u9xWDtr3hMvc8wxXLSjl+PEpqJR7l1JH3e 9JkXfP/7mnTjbR3zR9/F3B2ZGU/zwKSj8YqModhAoarhD4sSRSBzcinkSs/Ug1DGfZb5 fumQ== X-Gm-Message-State: ALoCoQl6OL1eIHMT6ijK022RAaLNs6Fo71S2YAGd80z2Crap7JYC/7ID1s89jvhpF8Dz8de4ut5l X-Received: by 10.58.237.10 with SMTP id uy10mr26171943vec.16.1386163641074; Wed, 04 Dec 2013 05:27:21 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.25.42 with SMTP id z10ls272716qef.63.gmail; Wed, 04 Dec 2013 05:27:20 -0800 (PST) X-Received: by 10.58.118.36 with SMTP id kj4mr7545850veb.2.1386163640895; Wed, 04 Dec 2013 05:27:20 -0800 (PST) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by mx.google.com with ESMTPS id at8si32969526vec.46.2013.12.04.05.27.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Dec 2013 05:27:20 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.175; Received: by mail-vc0-f175.google.com with SMTP id ld13so11412766vcb.34 for ; Wed, 04 Dec 2013 05:27:20 -0800 (PST) X-Received: by 10.52.162.168 with SMTP id yb8mr15372276vdb.8.1386163640434; Wed, 04 Dec 2013 05:27:20 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp291922vcz; Wed, 4 Dec 2013 05:27:20 -0800 (PST) X-Received: by 10.66.139.130 with SMTP id qy2mr82613902pab.73.1386163639702; Wed, 04 Dec 2013 05:27:19 -0800 (PST) Received: from mail-pb0-f47.google.com (mail-pb0-f47.google.com [209.85.160.47]) by mx.google.com with ESMTPS id sw1si54852096pbc.132.2013.12.04.05.27.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Dec 2013 05:27:19 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.47 is neither permitted nor denied by best guess record for domain of ragesh.r@linaro.org) client-ip=209.85.160.47; Received: by mail-pb0-f47.google.com with SMTP id um1so23406991pbc.20 for ; Wed, 04 Dec 2013 05:27:19 -0800 (PST) X-Received: by 10.68.143.196 with SMTP id sg4mr17763180pbb.155.1386163639308; Wed, 04 Dec 2013 05:27:19 -0800 (PST) Received: from ragesh-Latitude-E6420.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPSA id e6sm30026087pbg.4.2013.12.04.05.27.16 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Dec 2013 05:27:18 -0800 (PST) From: Ragesh Radhakrishnan To: patches@linaro.org Cc: Ragesh Radhakrishnan Subject: [PATCH 9/9] Add aarch64 support for libjpeg-turbo Date: Wed, 4 Dec 2013 18:57:04 +0530 Message-Id: <1386163624-3412-1-git-send-email-ragesh.r@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ragesh.r@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.175 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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add aarch64 architecture support in configure.ac. --- configure.ac | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/configure.ac b/configure.ac index eb580fd..f79e2f3 100644 --- a/configure.ac +++ b/configure.ac @@ -425,6 +425,17 @@ if test "x${with_simd}" != "xno"; then with_simd=no AC_MSG_WARN([SIMD support can't be enabled. Performance will suffer.])]) ;; + aarch64*) + AC_MSG_RESULT([yes (arm)]) + AC_MSG_CHECKING([if the assembler is GNU-compatible and can be used]) + AC_CHECK_COMPATIBLE_ARM64_ASSEMBLER_IFELSE( + [AC_MSG_RESULT([yes]) + simd_arch=aarch64], + [AC_MSG_RESULT([no]) + with_simd=no + AC_MSG_WARN([SIMD support can't be enabled. Performance will suffer.])]) + + ;; *) AC_MSG_RESULT([no ("$host_cpu")]) AC_MSG_WARN([SIMD support not available for this CPU. Performance will suffer.]) @@ -446,6 +457,7 @@ AM_CONDITIONAL([SIMD_X86_64], [test "x$simd_arch" = "xx86_64"]) AM_CONDITIONAL([SIMD_ARM], [test "x$simd_arch" = "xarm"]) AM_CONDITIONAL([X86_64], [test "x$host_cpu" = "xx86_64" -o "x$host_cpu" = "xamd64"]) AM_CONDITIONAL([WITH_TURBOJPEG], [test "x$with_turbojpeg" != "xno"]) +AM_CONDITIONAL([SIMD_ARM_64], [test "x$simd_arch" = "xaarch64"]) AC_ARG_VAR(PKGNAME, [distribution package name (default: libjpeg-turbo)]) if test "x$PKGNAME" = "x"; then