Message ID | 20231229161754.2802162-2-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=f6bM0Irh; 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 4T1rCv2C4jz1ySy for <incoming@patchwork.ozlabs.org>; Sat, 30 Dec 2023 03:18:51 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 946813858D39 for <incoming@patchwork.ozlabs.org>; Fri, 29 Dec 2023 16:18:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 946813858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703866728; bh=IvjFOEDq2gNtkggUHHZmhNj05Ivs3hx74CHQICfPnjk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=f6bM0IrhZAYDL2YcC22RMCBRT+zdvy2tv2LvXyfdnwI4c2vXytTswf3re7DMWUv+f wlGrPLy2eK07MHNRfDhNQV+iMQcGSfJypAN7Cd4zk7T1fZTIrpaPLgJ7Yg8E7MGx4w TKfe5TdCpdNDBlFf8CA9obsoKJbskklMYyut4Z7U= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by sourceware.org (Postfix) with ESMTPS id 995053858C50; Fri, 29 Dec 2023 16:18:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 995053858C50 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 995053858C50 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.215.169 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703866698; cv=none; b=LufNamRg5DwrFwvjWs39YZEI007vT+XwI/cg+M/H6wIlyopCMLrAYjZBBJ423d3fwRmtWA1IW5wSedko3lthcf/wMGuOe+dJFaB/Q1o0HWKETczE5RFKp+oRk5wOCpbGnOy4GOuMoxGVxv5QPdIN/SsITBvjTqK0es/HZsd2VXs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703866698; c=relaxed/simple; bh=iHtKZ4GrU8QvzbXSwF9j5acrXFMhPOej93dUwIQkhAI=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=OvWpEmEgVZi32adCFGleKsjIiYLms3lRlJ0Y5fyNXEF56QFgd/kK6kJKOtS2WWBsBG5rK0Uk4//mm86T8NtFz/Ry+7oEyBti8fvG5BADkxtbe+Plbqf3h1OXt9+vSpXBdSwwE4vCoVFZZrS0x9raZyoUTroCjwYMNbH7q2jugFE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-5bdb0be3591so5449453a12.2; Fri, 29 Dec 2023 08:18:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703866695; x=1704471495; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IvjFOEDq2gNtkggUHHZmhNj05Ivs3hx74CHQICfPnjk=; b=aLRtOymi4D2tDdW1/pbKa06XA2ZKMYy5HBfKnPKkooFuZmyIpL45TB3uGsLqqzZ2Xq O/Puk6f8m7UTyrRmvWOv3oE8rRVT84aCnkqviDHPSP1xm6lrL62xtgXD2/spzN3tFG9G JOTikPARspTEL2+t+gtHZN7qcwDpvrqOOJao2lsrH08LOuxzTeoSSROLM7FLfeNF2Vj5 urQxY7ETZqX4hxj3CY+TKYg66AYbipy9jUjjQ4SdqNqCxOu+FCjsHYcSMmosI+VmeEft uwynvm9wFiqxlzW7M8sxGn9duD1uoIULqIxvMEWDlNh0LdxCQTLNT1ML/7flyddBj/mo bwyw== X-Gm-Message-State: AOJu0Yy3lmix2QZwZJmlfzIlUq+rIiEJ8CsJEFo2lJjmj+R/qA33X6g9 V/SxDZ9XqFdCA4AnZUbQ2W9fWLnNV0w82aT+ X-Google-Smtp-Source: AGHT+IHcl2dFbOzbT31hWu09GfeNnCsR/qin+LyhywYxNywymwsO2LI5Mc68uaULOPGX0pCyJJ8C1w== X-Received: by 2002:a05:6a21:a59b:b0:196:4761:3f4a with SMTP id gd27-20020a056a21a59b00b0019647613f4amr3726884pzc.123.1703866695068; Fri, 29 Dec 2023 08:18:15 -0800 (PST) Received: from localhost.localdomain ([149.248.38.156]) by smtp.gmail.com with ESMTPSA id a9-20020a63e409000000b005cdbebd61d8sm15222495pgi.9.2023.12.29.08.18.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 08:18:14 -0800 (PST) From: YunQiang Su <syq@gcc.gnu.org> To: gcc-patches@gcc.gnu.org Cc: YunQiang Su <syq@gcc.gnu.org> Subject: [PATCH v2 2/2] MIPS: define_attr perf_ratio in mips.md Date: Sat, 30 Dec 2023 00:17:54 +0800 Message-Id: <20231229161754.2802162-2-syq@gcc.gnu.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231229161754.2802162-1-syq@gcc.gnu.org> References: <20231229161754.2802162-1-syq@gcc.gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.0 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 |
[v2,1/2] MIPS: add pattern insqisi_extended and inshisi_extended
|
expand
|
diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index a4c6d630aeb..7db341c694c 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"))