diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-30 20:56:52 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-30 20:56:52 +0000 |
commit | 932a69096921c3091ef1ce2b93cc809eb6ec8027 (patch) | |
tree | 4017655a5530eb30c16b1d31a7e77d7ef3ff0f00 /tcg/tcg.h | |
parent | da260249a4109b1ac82016b27973c50f0a74311a (diff) | |
download | hqemu-932a69096921c3091ef1ce2b93cc809eb6ec8027.zip hqemu-932a69096921c3091ef1ce2b93cc809eb6ec8027.tar.gz |
support of long calls for PPC (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4629 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r-- | tcg/tcg.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -410,4 +410,9 @@ uint64_t tcg_helper_divu_i64(uint64_t arg1, uint64_t arg2); uint64_t tcg_helper_remu_i64(uint64_t arg1, uint64_t arg2); extern uint8_t code_gen_prologue[]; +#ifdef __powerpc__ +#define tcg_qemu_tb_exec(tb_ptr) \ + ((long REGPARM __attribute__ ((longcall)) (*)(void *))code_gen_prologue)(tb_ptr) +#else #define tcg_qemu_tb_exec(tb_ptr) ((long REGPARM (*)(void *))code_gen_prologue)(tb_ptr) +#endif |