diff options
| author | 2025-11-21 16:49:53 +0100 | |
|---|---|---|
| committer | 2025-11-21 16:49:53 +0100 | |
| commit | ec4cfe9db9afc1d1c633a922174f5bb0685b0c32 (patch) | |
| tree | 2717b985346d2112f69539577df3a332acb8bd7a /ir/intrin.c | |
| parent | 285063eba442e2a8ac29fd42e0d17d996bcc5d00 (diff) | |
change op names to match 285063eba44
Diffstat (limited to 'ir/intrin.c')
| -rw-r--r-- | ir/intrin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/intrin.c b/ir/intrin.c index 3edf931..8c1a128 100644 --- a/ir/intrin.c +++ b/ir/intrin.c @@ -36,8 +36,8 @@ intrin(struct block *blk, int *curi, enum intrin in, struct arg *args, int narg, pdst = insertinstr(blk, ++*curi, mkinstr(Oadd, KPTR, *args[0].arg, mkref(RICON, off))); psrc = insertinstr(blk, ++*curi, mkinstr(Oadd, KPTR, *args[1].arg, mkref(RICON, off))); } - src = insertinstr(blk, ++*curi, mkinstr(Oloads1 + 2*ilog2(step), step < 8 ? KI32 : KI64, psrc)); - insertinstr(blk, ++*curi, mkinstr(Ostore1 + ilog2(step), 0, pdst, src)); + src = insertinstr(blk, ++*curi, mkinstr(Oloads8 + 2*ilog2(step), step < 8 ? KI32 : KI64, psrc)); + insertinstr(blk, ++*curi, mkinstr(Ostore8 + ilog2(step), 0, pdst, src)); } return 1; } |