6 |
|
* Adaptation for Basilisk II and improvements, copyright 2000-2005 |
7 |
|
* Gwenole Beauchesne |
8 |
|
* |
9 |
< |
* Basilisk II (C) 1997-2005 Christian Bauer |
9 |
> |
* Basilisk II (C) 1997-2008 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 |
30 |
|
|
31 |
|
#if USE_JIT |
32 |
|
|
33 |
+ |
#if defined __i386__ || defined __x86_64__ |
34 |
+ |
#include "flags_x86.h" |
35 |
+ |
#else |
36 |
+ |
#error "Unsupported JIT compiler for this architecture" |
37 |
+ |
#endif |
38 |
+ |
|
39 |
|
#if JIT_DEBUG |
40 |
|
/* dump some information (m68k block, x86 block addresses) about the compiler state */ |
41 |
|
extern void compiler_dumpstate(void); |
345 |
|
DECLARE_MIDFUNC(shra_b_ri(RW1 r, IMM i)); |
346 |
|
DECLARE_MIDFUNC(setcc(W1 d, IMM cc)); |
347 |
|
DECLARE_MIDFUNC(setcc_m(IMM d, IMM cc)); |
348 |
+ |
DECLARE_MIDFUNC(cmov_b_rr(RW1 d, R1 s, IMM cc)); |
349 |
+ |
DECLARE_MIDFUNC(cmov_w_rr(RW2 d, R2 s, IMM cc)); |
350 |
|
DECLARE_MIDFUNC(cmov_l_rr(RW4 d, R4 s, IMM cc)); |
351 |
|
DECLARE_MIDFUNC(cmov_l_rm(RW4 d, IMM s, IMM cc)); |
352 |
|
DECLARE_MIDFUNC(bsf_l_rr(W4 d, R4 s)); |