From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61146 invoked by alias); 3 Sep 2018 12:27:17 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 61125 invoked by uid 89); 3 Sep 2018 12:27:17 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=loongson, Hx-languages-length:1766, Loongson X-HELO: mail-oi0-f54.google.com Received: from mail-oi0-f54.google.com (HELO mail-oi0-f54.google.com) (209.85.218.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 03 Sep 2018 12:27:15 +0000 Received: by mail-oi0-f54.google.com with SMTP id m11-v6so702910oic.2 for ; Mon, 03 Sep 2018 05:27:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=y8RVChudAv6hcH3ULI5MJEOjV4VsIRsR7nXBj/+1OJM=; b=jKI+6Wwy6YAIyCZfN82Xknsr6SYxcGNOkf12aW0y1tKgM/qVTFH2L1Mik09NGLtEWg DPEpwZA3VDumfVGFbrKuqqtvpYPvCcpur7yKDD11iWkQxcQQp9U/dnvxKAJTdpwam+c8 HbvzxmlWWE8QHeban+axLeXlQ1CxOHFe825gdMNOnJ2ANObreVhNJQGWBt4TcEyKmLed 98wH7Scj5Te9mRPnWw1i9P5pDdqnprAJkLtTnnD2el0171EhWWK0YyL3up6aQSq2nlcg Rb3sj7gmBtykDQh3S0ymvZ5WD8mjU5ejt6MZARk2RNCBRxXpIhSHxmjL35UE3xT+jdrS d3YA== MIME-Version: 1.0 From: Paul Hua Date: Mon, 03 Sep 2018 12:27:00 -0000 Message-ID: Subject: [PATCH 0/6] [MIPS] Reorganize the loongson march and extensions instructions set To: gcc-patches Cc: Matthew Fortune Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-09/txt/msg00099.txt.bz2 Hi: This series patches reorganize the Loongson -march=xxx and Loongson extensions instructions set. For long time, the Loongson extensions instructions set puts under -march=loongson3a option. We can't disable one of them when we need. The patch (1) split Loongson MultiMedia extensions Instructions (MMI) from loongson3a, add -mloongson-mmi/-mno-loongson-mmi option for enable/disable them. The patch (2) split Loongson EXTensions (EXT) instructions from loongson3a, add -mloongson-ext/-mno-loongson-ext option for enable/disable them. The patch (3) add Loongson EXTensions R2 (EXT2) instructions support, add -mloongson-ext2/-mno-loongson-ext2 option for enable/disable them. The patch (4) add Loongson 3A1000 processor support. The gs464 is a codename of 3A1000 microarchitecture. Rename -march=loongson3a to -march=gs464, Keep -march=loongson3a as an alias of -march=gs464 for compatibility. The patch (5) add Loongson 3A2000/3A3000 processor support. Include Loongson MMI, EXT, EXT2 instructions set. The patch (6) add Loongson 2K1000 processor support. Include Loongson MMI, EXT, EXT2 and msa instructions set. The binutils patch has been upstreamed. There are six patches in this set, as follows. 1) 0001-MIPS-Add-support-for-loongson-mmi-instructions.patch 2) 0002-MIPS-Add-support-for-Loongson-EXT-istructions.patch 3) 0003-MIPS-Add-support-for-Loongson-EXT2-istructions.patch 4) 0004-MIPS-Add-support-for-Loongson-3A1000-proccessor.patch 5) 0005-MIPS-Add-support-for-Loongson-3A2000-3A3000-proccess.patch 6) 0006-MIPS-Add-support-for-Loongson-2K1000-proccessor.patch All patchs test under mips64el-linux-gnu no new regressions. Ok for commit ? Thanks, Paul Hua