mirror of
https://git.proxmox.com/git/qemu
synced 2025-07-19 21:35:48 +00:00
tcg-ppc64: Use tcg_out64
Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
8327a470df
commit
5e0f40cfed
@ -997,9 +997,6 @@ static void tcg_out_qemu_st(TCGContext *s, const TCGArg *args, int opc)
|
|||||||
static void tcg_target_qemu_prologue(TCGContext *s)
|
static void tcg_target_qemu_prologue(TCGContext *s)
|
||||||
{
|
{
|
||||||
int i, frame_size;
|
int i, frame_size;
|
||||||
#ifndef __APPLE__
|
|
||||||
uint64_t addr;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
frame_size = 0
|
frame_size = 0
|
||||||
+ 8 /* back chain */
|
+ 8 /* back chain */
|
||||||
@ -1020,8 +1017,7 @@ static void tcg_target_qemu_prologue(TCGContext *s)
|
|||||||
|
|
||||||
#ifndef __APPLE__
|
#ifndef __APPLE__
|
||||||
/* First emit adhoc function descriptor */
|
/* First emit adhoc function descriptor */
|
||||||
addr = (uint64_t) s->code_ptr + 24;
|
tcg_out64(s, (uint64_t)s->code_ptr + 24); /* entry point */
|
||||||
tcg_out32(s, addr >> 32); tcg_out32(s, addr); /* entry point */
|
|
||||||
s->code_ptr += 16; /* skip TOC and environment pointer */
|
s->code_ptr += 16; /* skip TOC and environment pointer */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user