From f54b3f920f12fb4fb41e259f793a853860a7d2ec Mon Sep 17 00:00:00 2001 From: aurel32 Date: Sat, 12 Apr 2008 20:14:54 +0000 Subject: HPPA (PA-RISC) host support (Stuart Brady) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4199 c046a42c-6fe2-441c-8c8c-71466251a162 --- dyngen-exec.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dyngen-exec.h') diff --git a/dyngen-exec.h b/dyngen-exec.h index 45a1ece40e..1cccec8091 100644 --- a/dyngen-exec.h +++ b/dyngen-exec.h @@ -124,6 +124,11 @@ extern int printf(const char *, ...); #define AREG1 "r4" #define AREG2 "r5" #define AREG3 "r6" +#elif defined(__hppa__) +#define AREG0 "r17" +#define AREG1 "r14" +#define AREG2 "r15" +#define AREG3 "r16" #elif defined(__mips__) #define AREG0 "fp" #define AREG1 "s0" @@ -279,6 +284,8 @@ extern int __op_jmp0, __op_jmp1, __op_jmp2, __op_jmp3; #elif defined(__mips__) #define EXIT_TB() asm volatile ("jr $ra") #define GOTO_LABEL_PARAM(n) asm volatile (".set noat; la $1, " ASM_NAME(__op_gen_label) #n "; jr $1; .set at") +#elif defined(__hppa__) +#define GOTO_LABEL_PARAM(n) asm volatile ("b,n " ASM_NAME(__op_gen_label) #n) #else #error unsupported CPU #endif -- cgit v1.2.3