From dea8fd171acb54b6d9685422d5e391fb55074008 Mon Sep 17 00:00:00 2001
From: lemon <lsof@mailbox.org>
Date: Sun, 19 Oct 2025 08:09:09 +0200
Subject: Organize source files into directories

---
 ir/op.def | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)
 create mode 100644 ir/op.def

(limited to 'ir/op.def')

diff --git a/ir/op.def b/ir/op.def
new file mode 100644
index 0000000..9e18fe7
--- /dev/null
+++ b/ir/op.def
@@ -0,0 +1,76 @@
+/* OP     NARG */
+_(nop,      0)
+_(copy,     1)
+_(move,     2)
+_(neg,      1)
+_(not,      1)
+_(cvtf4s,   1)
+_(cvtf4u,   1)
+_(cvtf4f8,  1)
+_(cvtf8s,   1)
+_(cvtf8u,   1)
+_(cvtf8f4,  1)
+_(cvts4f,   1)
+_(cvtu4f,   1)
+_(cvts8f,   1)
+_(cvtu8f,   1)
+_(exts1,    1)
+_(extu1,    1)
+_(exts2,    1)
+_(extu2,    1)
+_(exts4,    1)
+_(extu4,    1)
+_(add,      2)
+_(sub,      2)
+_(mul,      2)
+_(umul,     2)
+_(div,      2)
+_(udiv,     2)
+_(rem,      2)
+_(urem,     2)
+_(and,      2)
+_(ior,      2)
+_(xor,      2)
+_(shl,      2)
+_(sar,      2)
+_(slr,      2)
+_(equ,      2)
+_(neq,      2)
+_(lth,      2)
+_(gth,      2)
+_(lte,      2)
+_(gte,      2)
+_(ulth,     2)
+_(ugth,     2)
+_(ulte,     2)
+_(ugte,     2)
+_(alloca1,  1)
+_(alloca2,  1)
+_(alloca4,  1)
+_(alloca8,  1)
+_(alloca16, 1)
+_(loads1,   1)
+_(loadu1,   1)
+_(loads2,   1)
+_(loadu2,   1)
+_(loads4,   1)
+_(loadu4,   1)
+_(loadi8,   1)
+_(loadf4,   1)
+_(loadf8,   1)
+_(store1,   2)
+_(store2,   2)
+_(store4,   2)
+_(store8,   2)
+_(param,    2)
+_(arg,      2)
+_(call,     2)
+_(call2r,   1)
+_(intrin,   2)
+_(phi,      1)
+_(swap,     2)
+/* machine-specific instructions */
+_(xinc,      1)
+_(xdec,      1)
+_(xsave,     1)
+_(xrestore,  1)
-- 
cgit v1.2.3

