Mercurial > repos > blastem
comparison backend_x86.c @ 1648:b7ecd0d6a77b mame_interp
Merge from default
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 25 Dec 2018 11:12:26 -0800 |
parents | 2a5649a767e7 |
children | 45c4b74e7676 |
comparison
equal
deleted
inserted
replaced
1509:36732f5c2281 | 1648:b7ecd0d6a77b |
---|---|
242 add_rdispr(code, RSP, 0, opts->scratch2, SZ_PTR); | 242 add_rdispr(code, RSP, 0, opts->scratch2, SZ_PTR); |
243 mov_rrind(code, opts->scratch1, opts->scratch2, tmp_size); | 243 mov_rrind(code, opts->scratch1, opts->scratch2, tmp_size); |
244 if (is_write && (memmap[chunk].flags & MMAP_CODE)) { | 244 if (is_write && (memmap[chunk].flags & MMAP_CODE)) { |
245 pop_r(code, opts->scratch2); | 245 pop_r(code, opts->scratch2); |
246 } else { | 246 } else { |
247 add_ir(code, sizeof(void*), RSP, SZ_D); | 247 add_ir(code, sizeof(void*), RSP, SZ_PTR); |
248 code->stack_off -= sizeof(void *); | 248 code->stack_off -= sizeof(void *); |
249 } | 249 } |
250 } else { | 250 } else { |
251 push_r(code, opts->scratch2); | 251 push_r(code, opts->scratch2); |
252 mov_ir(code, (intptr_t)memmap[chunk].buffer, opts->scratch2, SZ_PTR); | 252 mov_ir(code, (intptr_t)memmap[chunk].buffer, opts->scratch2, SZ_PTR); |