From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by sourceware.org (Postfix) with ESMTPS id 06274385382B for ; Tue, 7 Sep 2021 07:56:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 06274385382B Received: by mail-wm1-x333.google.com with SMTP id n7-20020a05600c3b8700b002f8ca941d89so875845wms.2 for ; Tue, 07 Sep 2021 00:56:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OBAVsr3SWNnyP28i3Si+n7lCy11dZKGv5CWIIY3rYsE=; b=KW4PVlpJWR6lYpCs8zFbB1jYGDqeCe7yN2pM77l/2qbOVMCyc8yCnn5bLVSBUUN6J3 eNWh3Wi2qxiHnfqfLKPemih/htoylrqpkG0oUe+JHPwXElySVgyBeixdk0xOwFD2JZDB S34OWI/UBj+fslNFaIWJl5HkRu/FJ3kCZdxaPip8vguWibU/IV97aZ6DPbKVZY0yLHo9 gYqEsXdijRCRQY/hop83af1ccf/Iq/y+WqIjVd0R74EbBlteGj6Ej7OVNXpKqLJ5Wn52 uhtXSim5K8VekU3U/2pwwrS87kzP3cOTv1EWXHirdWIAfb5urL3ppWkWhdtU1GJAXxrO D9KQ== X-Gm-Message-State: AOAM533QbUqts5s/gvrmQOeoOIpwAPx45X0yHqpQhc/v6rXPVjK1ebgb DQYD/khDvA18ZMVftlbT+1LK8TBc8nZ6PoaVIB8= X-Google-Smtp-Source: ABdhPJzwN+M8Rxfsx/xrGrBCAQ3x1r9Ax6MT1tf65TodOVxCq9REpbNusO3O5xb/OZv5M3/4cPL6zdF1WU2WBe0cgUQ= X-Received: by 2002:a1c:2705:: with SMTP id n5mr2498401wmn.176.1631001388593; Tue, 07 Sep 2021 00:56:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Tue, 7 Sep 2021 08:56:15 +0100 Message-ID: Subject: Re: how to get -march=native's value? To: unlvsur unlvsur Cc: gcc-help 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, HTML_MESSAGE, 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" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2021 07:56:31 -0000 On Tue, 7 Sep 2021, 08:03 unlvsur unlvsur via Gcc-help, < gcc-help@gcc.gnu.org> wrote: > I try to cross compile to another slower machine. -march=native works on > that architectures, but I would like to know what is the value of > -march=??? For -march=native. Is there a way to print march value out?? > It doesn't choose a single value. It enables all the individual options like -msse and that combination of options might not correspond to any particular -march value.