From patchwork Thu Aug 19 03:29:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Hua X-Patchwork-Id: 44699 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 121D63897054 for ; Thu, 19 Aug 2021 03:29:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 121D63897054 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1629343785; bh=d3P/hLcajnASe4QxXL2ccbTOdU3KPmQOq9VOEBPfSOE=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=C/sm0g2cQqBbcKJduqKOzMoHb4BH5qhYB8ogqeIL612368c8e3nHoY8cXtvjZJ15E 40Bw/ZNS/QA/UeKI15WxgatWX6kd1BL4cD2yH9a92/698TIlzkxCvevLie0g49XBPO koPmtLGAl2omt81ZdK16ZnIOWaxPzEdaxWtl6e7E= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) by sourceware.org (Postfix) with ESMTPS id BAA3B38515F6 for ; Thu, 19 Aug 2021 03:29:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BAA3B38515F6 Received: by mail-yb1-xb36.google.com with SMTP id a126so9562515ybg.6 for ; Wed, 18 Aug 2021 20:29:13 -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:from:date:message-id:subject:to:cc; bh=d3P/hLcajnASe4QxXL2ccbTOdU3KPmQOq9VOEBPfSOE=; b=dMvC9lOWIz/HqqkIu6i7oXgnTNlNNqghz7kBWCj9sr7sc1cYHn5uTaUm872K45OARn n/TaavnAtXvd88RhefcGF+fnKrnkksyQO7HbyB78yYL/3vEPvPYMB+M3L8zcxrv5BiOF BjsbRpV+40gSLInVTBP4yRXZwyR65/KgkkSRzVcHVVoVDiaa9E2CCN1pWIkw4PvvvpBp Toyh0WVgsglAkZsFvcYYeVJoUnNoeCtrDGTZ2erpClMGvdjULpLRIfAjtTwgaziBHCr5 uW+mROXW00OVQtAwuF/q8NVbnI3Q+qeZHdH1HgQDohoiIRAWJCZIId58OpQHUyTaIgnp ARYg== X-Gm-Message-State: AOAM531Lu95J2DMsdSopvsf8QNeT5jOK4z2vYfSrxzLiuG+uAhlldkzK vy7W+hEDiS7Hwo6JpO3lDSNJplwXVXcXgyxKGE+Pe3Kmly0vUkAe X-Google-Smtp-Source: ABdhPJwqFe52sELwZHafc4RVTro9ahS4dGlg2Z/A9uBFWgAfhP1pkEF6gZ2n+WH0Il0KNa7kVoHpXQWomCn7LmG00Kk= X-Received: by 2002:a25:aaa4:: with SMTP id t33mr15694152ybi.256.1629343753133; Wed, 18 Aug 2021 20:29:13 -0700 (PDT) MIME-Version: 1.0 Date: Thu, 19 Aug 2021 11:29:01 +0800 Message-ID: Subject: [PATCH 0/14][LoongArch] Add LoongArch GLIBC port support To: libc-alpha@sourceware.org X-Spam-Status: No, score=-1.1 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 autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Paul Hua via Libc-alpha From: Paul Hua Reply-To: Paul Hua Cc: Xu Chenghua , huangpei@loongson.cn, caiyinyu@loongson.cn Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" Hi all: This is a series of patches to support the new LoongArch architecture. The LoongArch architecture (LoongArch) is an Instruction Set Architecture (ISA) that has a Reduced Instruction Set Computer (RISC) style. The full documents are on: https://loongson.github.io/LoongArch-Documentation/README-EN.html ISA manual is on: LoongArch Reference Manual Volume 1: Basic Architecture https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html The ELF ABI Document is on: https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html The GCC code based on GCC trunk: https://github.com/loongson/gcc/tree/loongarch_upstream We will send those patches for review soon. The BINUTILS code based on BINUTILS trunk: https://github.com/loongson/binutils-gdb/tree/loongarch/upstream_v6_a1d65b3 The BINUTILS patch is under review: https://sourceware.org/pipermail/binutils/2021-August/117697.html The GLIBC code based on GLIBC trunk: https://github.com/loongson/glibc/commits/loongarch_2_34_for_upstream The kernel patch is under review: https://lwn.net/Articles/861951/ The 32-bit toolchain does not work, we just keep the relevant code. Please skip it while reviewing, we will fix it in the future. Here is the patch list: [PATCH 1/14] [LoongArch] Add relocations and ELF flags to elf.h [PATCH 2/14] [LoongArch] ABI Implementation [PATCH 3/14] [LoongArch] Thread Local Storage Support [PATCH 4/14] [LoongArch] Generic math.h and soft fp Routines [PATCH 5/14] [LoongArch] Atomic and Locking Routines [PATCH 6/14] [LoongArch] Linux Syscall Interface [PATCH 7/14] [LoongArch] Linux ABI [PATCH 8/14] [LoongArch] Linux Startup and Dynamic Loading Code [PATCH 9/14] [LoongArch] Add ABI Lists [PATCH 10/14] [LoongArch] Build Infastructure [PATCH 11/14] [LoongArch] Hard Float Support [PATCH 12/14] [LoongArch] Add optimized string functions [PATCH 13/14] [LoongArch] Add assembly optimized sinf cosf functions [PATCH 14/14] [LoongArch] Add optimized memcpy set move Thanks. Thanks.