From f03e8517df936d6f5741f7ea1a4ed4cc53c70493 Mon Sep 17 00:00:00 2001 From: Mid <> Date: Sun, 14 Sep 2025 10:44:23 +0300 Subject: [PATCH] document xop_sz --- src/x86/cg.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/x86/cg.c b/src/x86/cg.c index 78514d1..cdea206 100644 --- a/src/x86/cg.c +++ b/src/x86/cg.c @@ -129,6 +129,10 @@ static AST *is_field_access(AST *e) { return NULL; } +/* + * Convert a XOP-able expression into an x86 operand. + * Result MUST be determinstic and always the same, for the same given expression. + * */ static const char *xop_sz(AST *tlc, AST *e, int sz) { #define XOPBUFS 16 #define XOPBUFSZ 32