Skip to content

Commit 954c63f

Browse files
committed
store offsets
1 parent 5fcb045 commit 954c63f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugins/intel_cpu/src/emitters/plugin/aarch64/jit_load_store_emitters.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ static void load_with_offset_check(jit_generator* h, const RegType& dst, const X
3434
const int off_mul_vl = offset / 16;
3535

3636
if (off_mod == 0 && off_mul_vl >= 0 && off_mul_vl <= 4095) {
37-
h->ldr(QReg(dst.getIdx()), ptr(src, offset));
37+
h->ldr(QReg(dst.getIdx()), ptr(src, static_cast<uint32_t>(offset)));
3838
} else {
3939
h->add_imm(h->X_DEFAULT_ADDR, src, offset, h->X_TMP_0);
4040
h->ldr(QReg(dst.getIdx()), ptr(h->X_DEFAULT_ADDR));
@@ -76,7 +76,7 @@ static void store_with_offset_check(jit_generator* h, const RegType& src, const
7676
const int off_mul_vl = offset / 16;
7777

7878
if (off_mod == 0 && off_mul_vl >= 0 && off_mul_vl <= 4095) {
79-
h->str(QReg(src.getIdx()), ptr(dst, offset));
79+
h->str(QReg(src.getIdx()), ptr(dst, static_cast<uint32_t>(offset)));
8080
} else {
8181
h->add_imm(h->X_DEFAULT_ADDR, dst, offset, h->X_TMP_0);
8282
h->str(QReg(src.getIdx()), ptr(h->X_DEFAULT_ADDR));

0 commit comments

Comments
 (0)