| version 1.4, 2004/02/20 16:09:04 | version 1.8, 2011/01/15 17:17:23 | 
| Line 1 | Line 1 | 
 | /*      $Id$    */ |  | 
 |  |  | 
 | /* | /* | 
 | * Copyright (c) 2002-2003 NONAKA Kimihiro | * Copyright (c) 2002-2003 NONAKA Kimihiro | 
 | * All rights reserved. | * All rights reserved. | 
| Line 12 | Line 10 | 
 | * 2. Redistributions in binary form must reproduce the above copyright | * 2. Redistributions in binary form must reproduce the above copyright | 
 | *    notice, this list of conditions and the following disclaimer in the | *    notice, this list of conditions and the following disclaimer in the | 
 | *    documentation and/or other materials provided with the distribution. | *    documentation and/or other materials provided with the distribution. | 
 | * 3. The name of the author may not be used to endorse or promote products |  | 
 | *    derived from this software without specific prior written permission. |  | 
 | * | * | 
 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | 
 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | 
| Line 36  extern "C" { | Line 32  extern "C" { | 
 |  |  | 
 | void resolve_init(void); | void resolve_init(void); | 
 |  |  | 
| #if defined(DEBUG) || !defined(IA32_INLINE_CALC_EA) | static INLINE UINT32 | 
| UINT32 calc_ea_dst(UINT32 op); |  | 
| #else |  | 
| UINT32 (*calc_ea_dst_tbl[0x100])(void); |  | 
| UINT32 (*calc_ea32_dst_tbl[0x100])(void); |  | 
|  |  | 
| INLINE static UINT32 |  | 
 | calc_ea_dst(UINT32 op) | calc_ea_dst(UINT32 op) | 
 | { | { | 
 |  | extern UINT32 (*calc_ea_dst_tbl[0x100])(void); | 
 |  | extern UINT32 (*calc_ea32_dst_tbl[0x100])(void); | 
 |  |  | 
 | __ASSERT(op < 0x100); | __ASSERT(op < 0x100); | 
 |  |  | 
| Line 52  calc_ea_dst(UINT32 op) | Line 44  calc_ea_dst(UINT32 op) | 
 | return ((*calc_ea_dst_tbl[op])() & 0xffff); | return ((*calc_ea_dst_tbl[op])() & 0xffff); | 
 | return (*calc_ea32_dst_tbl[op])(); | return (*calc_ea32_dst_tbl[op])(); | 
 | } | } | 
 | #endif |  | 
 |  |  | 
 | #ifdef __cplusplus | #ifdef __cplusplus | 
 | } | } |