[llvm-branch-commits] [SPARC][IAS] Add definitions for UA 2005 instructions (PR #138400)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat May 3 18:45:12 PDT 2025


================
@@ -0,0 +1,21 @@
+//===---- SparcInstrVIS.td - Visual Instruction Set extensions (VIS) -----===//
+//
+// 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 contains instruction formats, definitions and patterns needed for
+// UA 2005 instructions on SPARC.
+//===----------------------------------------------------------------------===//
+
+// UltraSPARC Architecture 2005 Instructions
+let Predicates = [HasUA2005] in {
+let hasSideEffects = 1 in
+def ALLCLEAN : InstSP<(outs), (ins), "allclean", []> {
----------------
koachan wrote:

I prefer for these to be kept here in a separate file, especially since the other patches are adding more ISA extension instructions to this file.

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


More information about the llvm-branch-commits mailing list