Message ID | 20220830174830.224541-1-vineetg@rivosinc.com |
---|---|
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:ecc5:0:0:0:0:0 with SMTP id s5csp1909699wro; Tue, 30 Aug 2022 10:49:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR5o4QnI3BpqhWlErErw2SOOhir7hR7ncwYzo2Ybp5hk+aPc82eCfOPNScixKOyf0GKMR7vK X-Received: by 2002:a17:907:60c6:b0:730:d10f:4 with SMTP id hv6-20020a17090760c600b00730d10f0004mr17147149ejc.217.1661881767466; Tue, 30 Aug 2022 10:49:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661881767; cv=none; d=google.com; s=arc-20160816; b=BgSGxOdlq+HOo/y53CfXDw4CLh2sko5bkkv+SS8F75QNZmolsJTpbT7Jz0cLgGhF2O RaV82ylvankAsfedSTOBPTBbzAR0DPvcrmlQCAcExYLjmJTLmILITWt8Rg1y/yabHgYZ Sf++pGIxz2zJgMYp/jxOe5RMU8tWDD5WqFDHZduaN9WnOmNM2O5KVzufIgKr4DAKqzqu IT1kby0l9++tPrQlzRctzZpCkUy9IAcOFvgsSDe1U0qDeRqdkWac65qXsK63cjWBydmE CALjmhj6SZ+KPV/MLp2fiuCI80/9IAxJbzgRy0GtN4zc+mg+6CWYiiVvZAIsy/DAPHjh ovGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :dmarc-filter:delivered-to; bh=Z/obdJlcXFNlAW72Uzzh8ih4xfaAnCghjnG91fNzJFU=; b=Decb/duxeM0CPwZRpNvSLF5fx50mzOOMrbSioaJtlquQYZub5ZDRwD4tfTJ6A8WKhQ CaPzEw4JpCeO2zmveDN2Lr8JylhXIdR9eqQuuHQgTNoF5EgPW8bvaL+1HtDl6pJwRefl Cau73jTl1t+H517NezmchgGO8MX3g6H7kg1ntisVRhEHb9sQ4BKmzVtV93wakZ+q7VXv 6dYP0kMajhkgq5jvobwfLpCXP8MnI9sAbzGwW+hTnouPbC2E36eQxv7brfJH7/ZjxP7S lJAWM29i3OuBCW6x8qRXh54u0w0BLJiPHaiCU0RCuIUPGZQn5DZqMZqmW9lJzqG5rvfF MZYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=mayOrxxP; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id g14-20020a056402090e00b00445e1251177si10229775edz.271.2022.08.30.10.49.27 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Aug 2022 10:49:27 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=fail header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=mayOrxxP; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 03AF73AA9024 for <ouuuleilei@gmail.com>; Tue, 30 Aug 2022 17:48:59 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by sourceware.org (Postfix) with ESMTPS id 7B5BC385841A for <gcc-patches@gcc.gnu.org>; Tue, 30 Aug 2022 17:48:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7B5BC385841A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-pg1-x52b.google.com with SMTP id 69so9674079pgb.13 for <gcc-patches@gcc.gnu.org>; Tue, 30 Aug 2022 10:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=Z/obdJlcXFNlAW72Uzzh8ih4xfaAnCghjnG91fNzJFU=; b=mayOrxxPbAKycH/lmayYx9D08CyDHQPiRknHN8gporkgHiWS2qIpdw+ek3be9hRY/y xUQEFobHXSs2jyAaf8J3wxapogMt74ibqBGkJwBO0RGslcOOCd8FwIDYBKPcDtmb25s/ opgBPSWT+PCc6h59q3DWsIX/pt1lsgEpERBl6nHFP2vXFZ5nLVsGoMkYrkPINtzcNjN6 xbyiQzkATgXEQoTOBxNxqeD3ML1jTXAvrOyqyHubcRsMRw2kk3tQIe8JJ6Jou7mMzVsL 5NKxuf2BcJkfg22Ux39ixJTI0jj6/crxspbvNxzF2ijEKwOR+vIGW61M7ayaFVpoHtP5 CFdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=Z/obdJlcXFNlAW72Uzzh8ih4xfaAnCghjnG91fNzJFU=; b=Zo0PdSxqLVxeHSWY79p0y9I+TqQAtfeaKHV6644hL8qkeNa8ow1U2j2xbSTNPBp5Ct P0l81iovsOf1qlzCmnJlzYeOX9Bs1ykbWzqoK9DRqAcDsfb6ye1760kmAzfbc0KtJdTn F1gN2lNM+1/Nfewh5Rv98olg1ns7mYFM0Rb3+Qe2vG6uwYYP/g73g19AqGU73uV8DU8I dIuoSvvaRFVpjgQPZ8X/4vMOz0OzTluycQBQka7uaMVQgqkuoAGQoZFrh/DHh/1JVDAO 0qO0vD6Fm0bK89NZ4isPRywxZromP04kjpbBka3lfyBIBjSNr+TkNeeTxwlUhzQ8WxgD o2qg== X-Gm-Message-State: ACgBeo2EUN8dp9STtS/IdGAN4oT4v8DpHSJfq1Krb5Y2tYcsZfxhE5xh MMWfVz/xi60bXL9zBP+o65MkIXiMHjB6j/kx8N4= X-Received: by 2002:a63:c00c:0:b0:42b:80a3:28a0 with SMTP id h12-20020a63c00c000000b0042b80a328a0mr16739525pgg.311.1661881714248; Tue, 30 Aug 2022 10:48:34 -0700 (PDT) Received: from vineetg-framework.hq.rivosinc.com ([12.3.194.138]) by smtp.gmail.com with ESMTPSA id w5-20020aa79545000000b005386162bc2asm3618852pfq.92.2022.08.30.10.48.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Aug 2022 10:48:33 -0700 (PDT) From: Vineet Gupta <vineetg@rivosinc.com> To: gcc-patches@gcc.gnu.org Subject: [PATCH 0/2] PIC cleanup Date: Tue, 30 Aug 2022 10:48:28 -0700 Message-Id: <20220830174830.224541-1-vineetg@rivosinc.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, URIBL_BLACK autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Cc: collison@rivosinc.com, gnu-toolchain@rivosinc.com, Vineet Gupta <vineetg@rivosinc.com>, kito.cheng@gmail.com, Philipp Tomsich <philipp.tomsich@vrull.eu> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1742609336468948286?= X-GMAIL-MSGID: =?utf-8?q?1742609336468948286?= |
Series | PIC cleanup | |
Message
Vineet Gupta
Aug. 30, 2022, 5:48 p.m. UTC
Hi, A couple of cleanup patches when trying to understand -mexplicit-relocs and code model. - 1/2 should be strightfwd - 2/2 might be slightly controversial. Tested with a bunch of rv32/rv64 configs: same results before after, granted pic might not really be getting tested here. ========= Summary of gcc testsuite ========= | # of unexpected case / # of unique unexpected case | gcc | g++ | gfortran | rv64imafdc/ lp64d/ medlow | 12 / 10 |11016 / 2776 | 0 / 0 | rv32imafdc/ ilp32d/ medlow | 9 / 7 |10959 / 2764 | 0 / 0 | rv32imac/ ilp32/ medlow | 9 / 7 |10959 / 2764 | 0 / 0 | rv64imac/ lp64/ medlow | 13 / 11 |11016 / 2776 | 0 / 0 | Thx, -Vineet Vineet Gupta (2): RISC-V: remove deprecate pic code model macro RISC-V: remove CM_PIC as it doesn't do much gcc/config/riscv/riscv-c.cc | 7 ------- gcc/config/riscv/riscv-opts.h | 3 +-- gcc/config/riscv/riscv.cc | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-)