From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 50885 invoked by alias); 20 Jan 2019 18:12:25 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 50872 invoked by uid 89); 20 Jan 2019 18:12:25 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy=click, website X-HELO: mail-io1-f67.google.com Received: from mail-io1-f67.google.com (HELO mail-io1-f67.google.com) (209.85.166.67) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 20 Jan 2019 18:12:15 +0000 Received: by mail-io1-f67.google.com with SMTP id s8so2427063iob.13 for ; Sun, 20 Jan 2019 10:12:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UZ6K7N3Xb43oYv1LXmezQECuPN28iXRQOuamSrR4l60=; b=hcckJh/rSKcLCZISTUx10LGpAC57e1iSYYx3t/O1V5AjmQ/9933A9PXR9/+Cpkvorj uL25NV1a4Vg2PelJFVL5YvC6GnXVVlQcxsQ7JT1RQLylr/YLkt+bdh+0x3xzn62YrXXG s04DplDR7ySdBT5qiRXekytYKla4NhQ2xzAjZdXdyu87mLL84AZw3tI6YeZcsmVcGSyR r0uosN4ORhzR6TkKutWkYKauSAYDW6/S0lJzMI+ei2GR7fcszOtak5ksghLcaQxLdgy4 CdUIV7UsxzCsh0oyiU5Pbc6V2uAE37K/+TPCKbzKSOE9Hu16dwIQUNkUWH3K4V5JGw4c sXfQ== MIME-Version: 1.0 References: <20190119160233.GA27159@gmail.com> In-Reply-To: From: Uros Bizjak Date: Sun, 20 Jan 2019 18:12:00 -0000 Message-ID: Subject: Re: [PATCH] i386: Move Intel intrinsics head files to To: "H.J. Lu" Cc: Richard Biener , GCC Patches Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-01/txt/msg01156.txt.bz2 On Sun, Jan 20, 2019 at 7:09 PM Uros Bizjak wrote: > > On Sun, Jan 20, 2019 at 4:11 PM H.J. Lu wrote: > > > > On Sun, Jan 20, 2019 at 4:03 AM Uros Bizjak wrote: > > > > > > On 1/19/19, H.J. Lu wrote: > > > > According to Intel Intrinsics Guide: > > > > > > > > https://software.intel.com/sites/landingpage/IntrinsicsGuide/ > > > > > > > > Intel intrinsics should be available by including . This > > > > patch moves remaining Intel intrinsics head files from to > > > > . > > > > > > I can't find the quoted requirement in the provided link. > > > > That is an interactive website. If you type in "_xgetbv" and click on it, > > you will get > > > > Synopsis > > > > unsigned __int64 _xgetbv (unsigned int a) > > #include > > Instruction: xgetbv > > CPUID Flags: XSAVE > > > > Description > > > > Copy up to 64-bits from the value of the extended control register > > (XCR) specified by a into dst. Currently only XFEATURE_ENABLED_MASK > > XCR is supported. > > > > Operation > > > > dst[63:0] := XCR[a] > > Ah, thanks for the hint. LGTM, but still needs RM approval. I wonder, what is/was the purpose of x86intrin.h, considering that everything can be included from immintrin.h? Uros.