From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) by sourceware.org (Postfix) with ESMTPS id 73A7A3858426 for ; Sun, 19 Sep 2021 05:46:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 73A7A3858426 Received: by mail-qk1-x72c.google.com with SMTP id ay33so31368243qkb.10 for ; Sat, 18 Sep 2021 22:46:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=PW8xNQbVNst1qXwnS+OcvqL4AKbW0t7W85z6qdWjRsQ=; b=ZnRwmS9WXV7+Bg5/Z9k+mlYOZsn9tw+MBds6CwaW9DTRiif4PGyBoDF2DzDkZFHOui eV72Sp5QfqOEdOf7FQ3UfrAJ6gEtNc1/fWNmdsZ3ppc5H+VizAz0KZIjaWtULRjCVMLz Fxbj1R2FlcFW4XevqSfb2zpdoWf4FdXQj8uDkG3t9VUh4x+3mlyT7HY3aXqokKx7SP02 /eWH1fWGEv5xkXB2KXLIEqIgrmaqrDcxcnj1Zh9jZ3xILjtFu9oe2joQCDxeIENmbLfc 6bp3CQ/IN00bpRY5xq1j5M0RjWyvlchRY7977O+Hu8eJUMMkhFKD0N8c4CSktaznYZ8C qP3w== X-Gm-Message-State: AOAM531KSUZpf2+NyiFhjBQMLYGdUzlmmQjrpEzTyoDeh2bRtPvnjp+t 2ZTLMhLGIgIigxcIgH19KtQAned2EB4= X-Google-Smtp-Source: ABdhPJwiDa2UeUypaxooRzONOWm/bxAfy6bSOTdK2duoY6+6zkMAFKRwu1teOpr6+Dbjm6XPf1s6zQ== X-Received: by 2002:a37:e93:: with SMTP id 141mr10233837qko.132.1632030394672; Sat, 18 Sep 2021 22:46:34 -0700 (PDT) Received: from [172.31.0.175] (c-98-202-48-222.hsd1.ut.comcast.net. [98.202.48.222]) by smtp.gmail.com with ESMTPSA id z20sm6899151qto.71.2021.09.18.22.46.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 18 Sep 2021 22:46:34 -0700 (PDT) Subject: Re: [PATCH] Optimize macro: make it more predictable To: =?UTF-8?Q?Martin_Li=c5=a1ka?= , Richard Biener Cc: Jakub Jelinek , Michael Matz , GCC Patches References: <82e71ebf-7b2e-67e7-1f08-ea525deee4cb@suse.cz> <1dfa7226-3056-d215-4626-01126d428891@suse.cz> <88fde73d-d36a-2010-5837-30f2943d9dad@suse.cz> <6179ac10-8d2c-d0d5-21f4-0b6678fc8592@suse.cz> From: Jeff Law Message-ID: <8f0e9c8e-c6f7-bce9-51dc-ccd126bcfb36@gmail.com> Date: Sat, 18 Sep 2021 23:46:30 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <6179ac10-8d2c-d0d5-21f4-0b6678fc8592@suse.cz> Content-Language: en-US X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_SHORT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2021 05:46:36 -0000 On 9/13/2021 7:52 AM, Martin Liška wrote: > On 8/27/21 11:05, Richard Biener wrote: >> So with ignoring darktable which seems completely insane the cases >> will likely continue >> to work as intended if we change from the current scheme to appending >> as proposed. > > All right, I'm addressing the flag_complex_method in a separate > sub-thread. > > There's slightly updated version of the patch where I modifed the > documentation bits. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? > Thanks, > Martin > > 0001-Append-target-optimize-attr-to-the-current-cmdline.patch > > From e13e3ec56acfb62543bc1912f1310d00eefba5c3 Mon Sep 17 00:00:00 2001 > From: Martin Liska > Date: Wed, 2 Jun 2021 08:44:37 +0200 > Subject: [PATCH] Append target/optimize attr to the current cmdline. > > gcc/c-family/ChangeLog: > > * c-common.c (parse_optimize_options): Combine optimize > options with what was provided on the command line. > > gcc/ChangeLog: > > * toplev.c (toplev::main): Save decoded optimization options. > * toplev.h (save_opt_decoded_options): New. > * doc/extend.texi: Be more clear about optimize and target > attributes. > > gcc/testsuite/ChangeLog: > > * gcc.target/i386/avx512er-vrsqrt28ps-3.c: Disable fast math. > * gcc.target/i386/avx512er-vrsqrt28ps-5.c: Likewise. > * gcc.target/i386/attr-optimize.c: New test. OK jeff