diff options
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; } |