diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-06-09 19:46:12 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-06-09 19:46:12 +0000 |
commit | ebc06f87cac28301bf30e8d23a069691a8db3635 (patch) | |
tree | 7a8e4da1e30b9f6bd77b31ac514e29ee488eb0f1 /dyngen.c | |
parent | 5bbe92995c0bc63eeb45a7bf44eadb051df4aada (diff) |
alpha fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@228 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'dyngen.c')
-rw-r--r-- | dyngen.c | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -1207,26 +1207,6 @@ int load_elf(const char *filename, FILE *outfile, int do_print_enum) } } else { /* generate big code generation switch */ -#ifdef HOST_ALPHA -fprintf(outfile, -"register int gp asm(\"$29\");\n" -"static inline void immediate_ldah(void *p, int val) {\n" -" uint32_t *dest = p;\n" -" long high = ((val >> 16) + ((val >> 15) & 1)) & 0xffff;\n" -"\n" -" *dest &= ~0xffff;\n" -" *dest |= high;\n" -" *dest |= 31 << 16;\n" -"}\n" -"static inline void immediate_lda(void *dest, int val) {\n" -" *(uint16_t *) dest = val;\n" -"}\n" -"void fix_bsr(void *p, int offset) {\n" -" uint32_t *dest = p;\n" -" *dest &= ~((1 << 21) - 1);\n" -" *dest |= (offset >> 2) & ((1 << 21) - 1);\n" -"}\n"); -#endif fprintf(outfile, "int dyngen_code(uint8_t *gen_code_buf,\n" " uint16_t *label_offsets, uint16_t *jmp_offsets,\n" |