~ubuntu-branches/ubuntu/quantal/vice/quantal

« back to all changes in this revision

Viewing changes to src/vice.h

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2009-03-31 00:37:15 UTC
  • mfrom: (1.1.7 upstream) (9.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090331003715-i5yisvcfv7mgz3eh
Tags: 2.1.dfsg-1
* New major upstream release (closes: #495937).
* Add desktop files (closes: #501181).

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
#endif
51
51
#endif  /* __hpux */
52
52
 
53
 
/* FIXME: We currently allow unaligned memory accesses on i386 only, as they
54
 
   allow for some optimizations.  What other architectures could benefit from
55
 
   having this enabled?  (Maybe the PowerPC would?)  */
56
 
#if defined __i386__
 
53
/* currently tested/testing for the following cpu types:
 
54
 *
 
55
 * cpu        4*u_char fetch   1*u_int32 fetch   define(s)
 
56
 * -----      --------------   ---------------   ---------
 
57
 * alpha          faster           slower        __alpha__
 
58
 * arm (gp2x)     slower (*)       faster (*)    GP2X
 
59
 * ppc            slower           faster        __powerpc__ || __ppc__
 
60
 * x86            slower           faster        __i386__
 
61
 * m68020+        slower           faster        __m680[2346]0__
 
62
 *
 
63
 * arm           untested         untested       __arm__ && !GP2X
 
64
 * bfin          untested         untested       BFIN
 
65
 * hppa          untested         untested       ???
 
66
 * ia64          untested         untested       __ia64__
 
67
 * m88k          untested         untested       ???
 
68
 * mips          untested         untested       __mips__
 
69
 * s390          untested         untested       __s390__
 
70
 * s390x         untested         untested       __s390x__
 
71
 * sparc         untested         untested       sparc
 
72
 * sparc64       untested         untested       ???
 
73
 * vax           untested         untested       __vax__
 
74
 * x86_64        untested         untested       ???
 
75
 */
 
76
 
 
77
/* Allow unaligned access for i386+ based platforms */
 
78
#ifdef __i386__
 
79
#define ALLOW_UNALIGNED_ACCESS
 
80
#endif
 
81
 
 
82
/* Allow unaligned access for m68020+ based platforms */
 
83
#if defined(__m68020__) || defined(__m68030__) || defined(__m68040__) || defined(__m68060__)
 
84
#define ALLOW_UNALIGNED_ACCESS
 
85
#endif
 
86
 
 
87
/* Allow unaligned access for PPC based platforms */
 
88
#if defined(__powerpc__) || defined(__ppc__)
57
89
#define ALLOW_UNALIGNED_ACCESS
58
90
#endif
59
91
 
90
122
#    define N_(String) (String)
91
123
#endif /* ENABLE_NLS */
92
124
 
 
125
/* T_() is just an indicator for new common text which needs
 
126
   to be added to the translate.* translation tables. */
 
127
#define T_(String) (String)
 
128
 
93
129
#ifdef __OS2__
94
130
int yyparse (void);
95
131
#undef __GNUC__