From 97c6d5c44f30b29b52d1dc431ab9f2df4bb47fd2 Mon Sep 17 00:00:00 2001 From: lemon Date: Wed, 31 Dec 2025 11:13:15 +0100 Subject: backend: separate instrs for integer/float store --- ir/ir.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ir/ir.h') diff --git a/ir/ir.h b/ir/ir.h index 8402864..5fe5e96 100644 --- a/ir/ir.h +++ b/ir/ir.h @@ -101,7 +101,7 @@ enum op { #define oiscmp(o) in_range(o, Oequ, Ougte) #define oisarith(o) in_range(o, Oneg, Ougte) #define oisalloca(o) in_range(o, Oalloca1, Oalloca16) -#define oisstore(o) in_range(o, Ostore8, Ostore64) +#define oisstore(o) in_range(o, Ostorei8, Ostoref64) #define oisload(o) in_range(o, Oloads8, Oloadf64) extern const char *opnames[]; extern const uchar opnarg[]; @@ -235,6 +235,7 @@ enum { MAXINSTR = 1<<15 }; extern uchar type2cls[]; extern uchar cls2siz[]; extern uchar cls2load[]; +extern uchar cls2store[]; extern const uchar siz2intcls[]; extern struct instr instrtab[]; extern struct use *instruse[]; -- cgit v1.2.3