[llvm] [AArch64] Add Ampere1B scheduling/pipeline model (PR #81341)

David Green via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 11 02:42:12 PST 2024


================
@@ -0,0 +1,1063 @@
+//=- AArch64SchedAmpere1B.td - Ampere-1B scheduling def -----*- tablegen -*-=//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines the machine model for the Ampere Computing Ampere-1B to
+// support instruction scheduling and other instruction cost heuristics.
+//
+//===----------------------------------------------------------------------===//
+
+// The Ampere-1 core is an out-of-order micro-architecture.  The front
----------------
davemgreen wrote:

There are some references to "Ampere-1" that could be updated to Ampere-1B in the new schedule if you are adding an update.

Otherwise it looks like the scheduling models have quite a few updates. If they were more similar I might have suggested that there might be a way to tweak the existing model based on the actual CPU, as opposed to adding a complete new scheduling model. But it looks like they are quite different already.

https://github.com/llvm/llvm-project/pull/81341


More information about the llvm-commits mailing list