[llvm] [RISCV] AI Foundry ET extensions for RISC-V (PR #174571)
Abel Bernabeu via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 7 15:03:30 PST 2026
================
@@ -0,0 +1,751 @@
+# XAIFsimd - AIFoundry.org ET AMO instructions
+
+# RUN: llvm-mc --arch=riscv64 -mattr=+xetsimd --show-encoding %s | FileCheck -check-prefixes=CHECK-ENC,CHECK-INST %s
+
+#====----------------------------------------------------------------------===//
+# Scalar INT AMO local|global
+#====----------------------------------------------------------------------===//
+
+# CHECK-INST: amoaddg.d a4, s9, (t1)
+# CHECK-ENC: encoding: [0x3b,0x37,0x93,0x03]
+amoaddg.d a4, s9, (t1)
----------------
abel-bernabeu wrote:
Agreed.
https://github.com/llvm/llvm-project/pull/174571
More information about the llvm-commits
mailing list