From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by sourceware.org (Postfix) with ESMTPS id C7E913854087 for ; Thu, 15 Dec 2022 07:41:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C7E913854087 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yb1-xb2d.google.com with SMTP id y135so2503414yby.12 for ; Wed, 14 Dec 2022 23:41:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=S/iCGbNJ+PJE3gXjSIGL9/Po04eGJHb+9PCWojB575Q=; b=V+AmfRyFePy+uruBiY0cyKKXa3aTi3DwxbxvYxI9/0Wd9uGJEbMdi9tAI6Xle89RtQ B9LeVuynCgORCbc4ZQYW3CBwOKsXuChv9BvPmhjrn6G+20ILFeLvZL6/9t17Vc/V8paH Lbuzqp+MJoOOr2YuTQauxI//S8aWcgt5+WHqjyvbrGANup38CBcjRt4Prq617QP+EjOK SNJOuZ8FuVcm7VD9AYBAYLwqkKjV8G5Xi/11LFgBjm4uZBjgUugUnNiezroBAUiFMkdg aV39A+SoTr7Jmcz/zmbkaZJ1RCoe6bIGRTGoBYBC5Kj3onipFsH6zkCXv9iAPXfKguej 5lHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S/iCGbNJ+PJE3gXjSIGL9/Po04eGJHb+9PCWojB575Q=; b=kf7CTnGuLqKZhNErC70sSoVGZJ67Dr7+4hEHuKOo3KRTR/01SjDuCZDnZB7PXAxfMW c0xr7CTe732YCYl5KRJi4+c8w531n0gFV9Ls21t7KYO0Do/uxwegoiEYZdi0n2/JeMgt S+zd5df5jrT7Oxc3n97W+c+pt1FdBVbhbHZp+ve0dCXF6VV6zHvsVat4M6WoyBlvpI+w /0WWdAu1I7mUGaeape/g10Zql/CcviuvI76NO5Ju5bpqGjp/NeVaCYRKUbZYrEOLBEm1 ErAKapDfyPLKaLCA0Z0OF6A95Ry+DcPCs+oOTaHL9tRT/8OcKIw6SZyUhEs9H/H0pH41 1i5Q== X-Gm-Message-State: ANoB5pnRZvnNw3Asqd9rh0/YJdaRpmTSsvuQfPDsbSzwdTSV+gKui9CL y+JNx5WNsnnqzlBLcMV5xFgLJHhYly1sjdTbW70= X-Google-Smtp-Source: AA0mqf6J96oTbcBQq34bt9oLcpR5XvUY+DMEErgjVZ4ZQPVoB2P4v2r0PicGLo40XdqyH2axT9/cyQyM3GmS85bptP0= X-Received: by 2002:a25:8087:0:b0:701:848f:c3c with SMTP id n7-20020a258087000000b00701848f0c3cmr17509046ybk.251.1671090084212; Wed, 14 Dec 2022 23:41:24 -0800 (PST) MIME-Version: 1.0 References: <20221215062137.3128845-1-hongtao.liu@intel.com> <20221215062137.3128845-2-hongtao.liu@intel.com> In-Reply-To: From: Hongtao Liu Date: Thu, 15 Dec 2022 15:45:14 +0800 Message-ID: Subject: Re: [PATCH V2 2/2] [x86] x86: Add a new option -mdaz-ftz to enable FTZ and DAZ flags in MXCSR. To: Jakub Jelinek Cc: liuhongt , gcc-patches@gcc.gnu.org, hjl.tools@gmail.com, ubizjak@gmail.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Thu, Dec 15, 2022 at 3:39 PM Jakub Jelinek wrote: > > On Thu, Dec 15, 2022 at 02:21:37PM +0800, liuhongt via Gcc-patches wrote: > > --- a/gcc/config/i386/i386.opt > > +++ b/gcc/config/i386/i386.opt > > @@ -420,6 +420,10 @@ mpc80 > > Target RejectNegative > > Set 80387 floating-point precision to 80-bit. > > > > +mdaz-ftz > > +Target > > s/Target/Driver/ Change to Driver and Got error like:cc1: error: command-line option =E2=80=98-mdaz-ftz=E2=80=99 is valid for the driver but not for C. > > > +Set the FTZ and DAZ Flags. > > Jakub > --=20 BR, Hongtao