Message ID | 20240104015819.353901-1-syq@gcc.gnu.org |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=xvKUzvVf; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4T58sY3Dbmz23dM for <incoming@patchwork.ozlabs.org>; Thu, 4 Jan 2024 12:59:27 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 721FF38582B3 for <incoming@patchwork.ozlabs.org>; Thu, 4 Jan 2024 01:59:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 721FF38582B3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704333564; bh=ux0Tht2Rwc6aBZzNF248p4hWYoedjDOgEzldIJbmpGw=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=xvKUzvVfy5EJ8gC/1H5jTvXh0chSPCADhN5HzBi4MqVTrWHokOzrOk1bf/0Guqv8s d17iL3yl2rKcjbZuz//4BSEkw+vw9UBV1LY+07S/U+ydVW70fFicMxTel+1c7E/7AM iHrLcML4xY5DA1x+qK2ZW6X+TV+b9es8PdsaAz1A= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by sourceware.org (Postfix) with ESMTPS id D24143858D33; Thu, 4 Jan 2024 01:58:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D24143858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gcc.gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D24143858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.214.179 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704333517; cv=none; b=QpL6GL6bCSvARaE4TWD91CXxN4QZ3F/MInVZbTV3oPUgQVG1MiDcIv5KXQ5K3HfIilR3X5LDHlzjV0Q0NgpXL4tEu8luKXLGWU7YrYVfT/7L12fEj5RtHRMxNSmMp1jAeWLHs1q05yadBRxTHx844k+mpaLloZ7ujTZbyB9CSl8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704333517; c=relaxed/simple; bh=O6GS0iq+P+Lf2oiHKHD1QG9iUcbhj/sdnXFYOEoN2ow=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=r6li/XLLyruVNApJzLHdv1jU37dEn8W8hMzejiQMnRl3wqeWTNaszBdOJkL/0CwCJmZiJPDER0I+wjYdVcrkWgerC4ROUKpNBZxMPR4WU7sLfweRm3NVvarUVqqmxHtkU48p99V2ygS9i0/DqGpCY07UMt17e0Q8nGYPwTil69w= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1d427518d52so221805ad.0; Wed, 03 Jan 2024 17:58:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704333513; x=1704938313; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ux0Tht2Rwc6aBZzNF248p4hWYoedjDOgEzldIJbmpGw=; b=aboMD+hrMo0g8ej9/imqCtsM7ucCO5WtmitPZ/knSpztjzH6Jfm9bo6kdlRDhuMaiN eBOlXH9YP7NBdAT0IFY1Vt3plrZmB54ZtNcGN4/5G+7auPsbKsnGA/96JYladVALxV+4 4Hdocqq9Ps9HAa/xsGNtKiRUycKl7Pg5ZV3ukLuXTIOjBJd5JJll0TG+lOop1XrsuV9D nCbfVXeuoayMTi47QjkoQwhO263ascsS+4r2OymGbKEF+keSaQZ3v3/HfUhXtF0ZSkfS Av4oAZMj7fC0DIRS5ulLtbUHoDz560gPh6odYQFXU8U5RK2NlI2F9HxnvCWN8a3mv+GL L/jA== X-Gm-Message-State: AOJu0YzWKE7cg6Dyy8X0oivQ5oHOqvakl15iNJZucgR50N8BY6vR7Rrh dLYQxWhfaGFIHULGpfxbGLz0UjitjJ3PjA== X-Google-Smtp-Source: AGHT+IH5715ynkMjCEIVZCrxwvgsCE35TVG3ZbPYoM6Ea37w++hGKbWzGWPHBJnhVPhkxKjZB3fvGQ== X-Received: by 2002:a17:903:1110:b0:1d3:f95a:a678 with SMTP id n16-20020a170903111000b001d3f95aa678mr2531039plh.46.1704333513209; Wed, 03 Jan 2024 17:58:33 -0800 (PST) Received: from localhost.localdomain ([149.248.38.156]) by smtp.gmail.com with ESMTPSA id e6-20020a170902744600b001d4b0ae7052sm7028122plt.135.2024.01.03.17.58.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 17:58:32 -0800 (PST) From: YunQiang Su <syq@gcc.gnu.org> To: gcc-patches@gcc.gnu.org Cc: YunQiang Su <syq@gcc.gnu.org> Subject: [committed] MIPS: define_attr perf_ratio in mips.md Date: Thu, 4 Jan 2024 09:58:16 +0800 Message-Id: <20240104015819.353901-1-syq@gcc.gnu.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, MEDICAL_SUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 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> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
[committed] MIPS: define_attr perf_ratio in mips.md
|
expand
|
diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 6d47241ea3a..e1762ce105b 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -312,6 +312,10 @@ (define_attr "sync_insn2" "nop,and,xor,not" ;; "11" specifies MEMMODEL_ACQUIRE. (define_attr "sync_memmodel" "" (const_int 10)) +;; Performance ratio. Add this attr to the slow INSNs. +;; Used by mips_insn_cost. +(define_attr "perf_ratio" "" (const_int 0)) + ;; Accumulator operand for madd patterns. (define_attr "accum_in" "none,0,1,2,3,4,5" (const_string "none"))