From patchwork Wed Jan 8 15:00:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 22976 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f70.google.com (mail-pa0-f70.google.com [209.85.220.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 954E4202E2 for ; Wed, 8 Jan 2014 15:00:51 +0000 (UTC) Received: by mail-pa0-f70.google.com with SMTP id fa1sf4688841pad.9 for ; Wed, 08 Jan 2014 07:00:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mailing-list:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:sender :delivered-to:mime-version:date:message-id:subject:from:to :x-original-sender:x-original-authentication-results:content-type; bh=xihINhm4dqJlG/4+e7MF2NsqC0+UgsjgeUkBaumoz3k=; b=GBfglxpvURWFS10E9YOwHbVEysrs4OGI79IXhyu8EiKVRoB0z8P6aB48EMp65dE63y W038x2YdGUdKDI3ODjLc/F93MhqO0oxi+HYs4XAxb1etDIMNU940yWKh6nsl81qnQWUG dFjJhNL7iFPEUhvijllHNn6C0zqX+b2dwL+foVXz3ARKMUXOFwGWLDGv5F6ARXEMD2iW hBtnFlQTV4kOqPd5n84Xk2IvqSXgkEl3oO4yKyhkfH4R87sydv+Sa+vkjksbV/U4x+h0 G9jS9/mz3LcBPpskkHnT/vW12iRh1nw96qofx3vXnIZPRoTa3W25awKo5xyaEZ2Kuqk+ fWtQ== X-Gm-Message-State: ALoCoQluIGeWIOSQ7Jzo9wcgTdwn2FK7sXX2U6eLmRSey84Ppx4SE6IOtaBuPcOuNBsy3pX5dccI X-Received: by 10.66.190.38 with SMTP id gn6mr5282770pac.30.1389193250885; Wed, 08 Jan 2014 07:00:50 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.35.18 with SMTP id d18ls571228qej.14.gmail; Wed, 08 Jan 2014 07:00:50 -0800 (PST) X-Received: by 10.49.52.102 with SMTP id s6mr210249616qeo.60.1389193250754; Wed, 08 Jan 2014 07:00:50 -0800 (PST) Received: from mail-ve0-x22a.google.com (mail-ve0-x22a.google.com [2607:f8b0:400c:c01::22a]) by mx.google.com with ESMTPS id i10si1339648qen.10.2014.01.08.07.00.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Jan 2014 07:00:50 -0800 (PST) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::22a is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::22a; Received: by mail-ve0-f170.google.com with SMTP id oy12so1352982veb.1 for ; Wed, 08 Jan 2014 07:00:50 -0800 (PST) X-Received: by 10.58.146.5 with SMTP id sy5mr3893459veb.43.1389193250435; Wed, 08 Jan 2014 07:00:50 -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.59.13.131 with SMTP id ey3csp231060ved; Wed, 8 Jan 2014 07:00:49 -0800 (PST) X-Received: by 10.68.75.9 with SMTP id y9mr89034294pbv.61.1389193249031; Wed, 08 Jan 2014 07:00:49 -0800 (PST) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id dv5si855201pbb.193.2014.01.08.07.00.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jan 2014 07:00:49 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-359129-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 28464 invoked by alias); 8 Jan 2014 15:00:35 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 28450 invoked by uid 89); 8 Jan 2014 15:00:34 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oa0-f53.google.com Received: from mail-oa0-f53.google.com (HELO mail-oa0-f53.google.com) (209.85.219.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 08 Jan 2014 15:00:33 +0000 Received: by mail-oa0-f53.google.com with SMTP id h16so1831465oag.26 for ; Wed, 08 Jan 2014 07:00:31 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.60.97.36 with SMTP id dx4mr15381659oeb.40.1389193231419; Wed, 08 Jan 2014 07:00:31 -0800 (PST) Received: by 10.60.62.140 with HTTP; Wed, 8 Jan 2014 07:00:31 -0800 (PST) Date: Wed, 8 Jan 2014 16:00:31 +0100 Message-ID: Subject: [Patch,ARM] crypto intrinsics in AArch32 testsuite fix From: Christophe Lyon To: "gcc-patches@gcc.gnu.org" X-IsSubscribed: yes X-Original-Sender: christophe.lyon@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::22a 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; dkim=pass header.i=@gcc.gnu.org X-Google-Group-Id: 836684582541 Hi, Commit 206131 introduced check_effective_target_arm_crypto_ok in lib/target-supports.exp, to check that the target supports -mfpu=crypto-neon-fp-armv8 -mfloat-abi=softfp. However, when GCC is configured for target arm-none-linux-gnueabihf, I can see all the new tests fail: sysroot-arm-none-linux-gnueabihf/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory (stubs.h is included via arm_neon.h) This is because check_effective_target_arm_crypto_ok sample test is too simple. Making it include arm_neon.h does the trick (and makes the tests UNSUPPORTED rather than FAIL). OK? Christophe. 2014-01-08 Christophe Lyon * lib/target-supports.exp (check_effective_target_arm_crypto_ok): Include arm_neon.h in sample test. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a8910bb..cc10936 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-01-08 Christophe Lyon + + * lib/target-supports.exp (check_effective_target_arm_crypto_ok): + Include arm_neon.h in sample test. + 2014-01-07 Paolo Carlini * g++.dg/ext/is_base_of_incomplete-2.C: New. diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 5166679..7b40ccd 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -2305,6 +2305,7 @@ proc check_effective_target_arm_unaligned { } { proc check_effective_target_arm_crypto_ok {} { if { [check_effective_target_arm32] } { return [check_no_compiler_messages arm_crypto_ok object { + #include int foo (void) { __asm__ volatile ("aese.8 q0, q0");