From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) by sourceware.org (Postfix) with ESMTPS id 845873857429 for ; Tue, 14 Jun 2022 04:37:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 845873857429 Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-30c2f288f13so17781417b3.7 for ; Mon, 13 Jun 2022 21:37:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PF5azwS88mh4sTP0El+bnEvrdOvh1OioEMVFBok3/sg=; b=osTRdFS23fHlmczb0EKqJSE6F+M+ToP9NcHgodSeqGsPl62rrP8rjfPc2SkkIS5+kR 1IlcfwYpSLUogpY8ZBrZ9c6xc88frjpaG6wBGvQYqDkHDdKi/4oHg8y4GkLzewnIUXAe Dg/FMbrEQIUJQFB6wtwx3+wiuBNJqpKqBrYfQIE8A7kiiPaFwbDvwGUMZbuhKqyebWfc 63uEjRwQON9IBgdY7dLbIWP6yW5/0mi0pSP2Zi0aX5LCl9mkgpuL255VRhc9D8ue48Ti ZUIifZa1biWW7jFedKpQVgESotZeu7fsjwiVCbOTK4C9iryMi4QXuK+7UBjwqMcXlSH9 9BGQ== X-Gm-Message-State: AJIora9NfIdk6nylqAJc0EM+XZ5aOffLmv02eFVt4xhep5srgKDZOrDV oxzQs+sFlN7RR1fznThYeHXi9BfMThB7GN29N1tgnwloedxH/A== X-Google-Smtp-Source: AGRyM1uHmvalC8A0dPo3IV6wUWp96GUFQc1YkNNuWq+d1NXwn7t7kRE8ilEK4QzFm4SyhYYTS6aB7JPVBR9WEDQLOBI= X-Received: by 2002:a81:1ecc:0:b0:30c:792d:e087 with SMTP id e195-20020a811ecc000000b0030c792de087mr3469121ywe.116.1655181442995; Mon, 13 Jun 2022 21:37:22 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Chris Packham Date: Tue, 14 Jun 2022 16:37:11 +1200 Message-ID: Subject: Re: 1.25.0: aarch64-unknown-linux-gnu with neon support To: Zvi Vered Cc: crossgcc maillist Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: crossgcc@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: crossgcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2022 04:37:26 -0000 On Tue, Jun 14, 2022 at 3:21 PM Zvi Vered wrote: > > Hi Chris, > > Thank you very much for your reply. > According to: > https://developer.arm.com/Processors/Cortex-A53 > > The architecture of Cortex-A53 is ARMv8. > Is has "Neon advanced SIMD" > > I wonder how to configure crosstool 1.25.0 to fit exactly this CPU for linux, 64bits. cortex-a53 Just the normal "aarch64-unknown-linux-gnu" sample should be fine. There is also "aarch64-rpi3-linux-gnu" which targets cortex-a53 specifically but the only thing that really does is set the default -mcpu value. > > Best regards, > Zvika > > > On Mon, Jun 13, 2022 at 12:24 PM Chris Packham wrote: >> >> On Mon, Jun 13, 2022 at 2:29 PM Zvi Vered via crossgcc >> wrote: >> > >> > Hello, >> > >> > I ran: >> > ct-ng aarch64-unknown-linux-gnu >> > but with this configuration, under "Target options" I can't set FPU. >> > >> > How can I create gcc for armv8 (coretex A53), 64bit with the option: >> > -mfpu=neon >> >> The aarch64 configs don't use the FPU option (I think because the FPU >> is required by the ARMv8 spec). Instead you probably want to use the >> -mcpu/-mtune options as per >> https://gcc.gnu.org/onlinedocs/gcc-12.1.0/gcc/AArch64-Options.html#AArch64-Options >> >> > >> > Thank you, >> > Zvika >> > -- >> > For unsubscribe information see http://sourceware.org/lists.html#faq