ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/uae_cpu/compiler/compemu.h
(Generate patch)

Comparing BasiliskII/src/uae_cpu/compiler/compemu.h (file contents):
Revision 1.10 by gbeauche, 2004-11-01T16:01:51Z vs.
Revision 1.14 by gbeauche, 2007-06-29T16:36:03Z

# Line 3 | Line 3
3   *
4   *  Original 68040 JIT compiler for UAE, copyright 2000-2002 Bernd Meyer
5   *
6 < *  Adaptation for Basilisk II and improvements, copyright 2000-2004
6 > *  Adaptation for Basilisk II and improvements, copyright 2000-2005
7   *    Gwenole Beauchesne
8   *
9 < *  Basilisk II (C) 1997-2004 Christian Bauer
9 > *  Basilisk II (C) 1997-2005 Christian Bauer
10   *  
11   *  This program is free software; you can redistribute it and/or modify
12   *  it under the terms of the GNU General Public License as published by
# Line 124 | Line 124 | union cacheline {
124  
125   #define KILLTHERAT 1  /* Set to 1 to avoid some partial_rat_stalls */
126  
127 /* Whether to preserve registers across calls to JIT compiled routines */
128 #if defined(X86_ASSEMBLY) || defined(X86_64_ASSEMBLY)
129 #define USE_PUSH_POP 0
130 #else
131 #define USE_PUSH_POP 1
132 #endif
133
127   #if defined(__x86_64__)
128   #define N_REGS 16 /* really only 15, but they are numbered 0-3,5-15 */
129   #else
# Line 346 | Line 339 | DECLARE_MIDFUNC(shra_w_ri(RW2 r, IMM i))
339   DECLARE_MIDFUNC(shra_b_ri(RW1 r, IMM i));
340   DECLARE_MIDFUNC(setcc(W1 d, IMM cc));
341   DECLARE_MIDFUNC(setcc_m(IMM d, IMM cc));
342 + DECLARE_MIDFUNC(cmov_b_rr(RW1 d, R1 s, IMM cc));
343 + DECLARE_MIDFUNC(cmov_w_rr(RW2 d, R2 s, IMM cc));
344   DECLARE_MIDFUNC(cmov_l_rr(RW4 d, R4 s, IMM cc));
345   DECLARE_MIDFUNC(cmov_l_rm(RW4 d, IMM s, IMM cc));
346 < /* Set native Z flag only if register is zero */
352 < DECLARE_MIDFUNC(setzflg_l(RW4 r));
346 > DECLARE_MIDFUNC(bsf_l_rr(W4 d, R4 s));
347   DECLARE_MIDFUNC(pop_m(IMM d));
348   DECLARE_MIDFUNC(push_m(IMM d));
349   DECLARE_MIDFUNC(pop_l(W4 d));
# Line 516 | Line 510 | extern void writelong_clobber(int addres
510   extern void get_n_addr(int address, int dest, int tmp);
511   extern void get_n_addr_jmp(int address, int dest, int tmp);
512   extern void calc_disp_ea_020(int base, uae_u32 dp, int target, int tmp);
513 + /* Set native Z flag only if register is zero */
514 + extern void set_zero(int r, int tmp);
515   extern int kill_rodent(int r);
516   extern void sync_m68k_pc(void);
517   extern uae_u32 get_const(int r);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines