Add M32R architecture support (bug #10020)

Still needs autotools support, so this won't actually _build_: it's just
a starting point.
This commit is contained in:
Kazuhiro Inaoka
2008-04-30 11:58:32 +03:00
committed by Daniel Stone
parent b71b51c982
commit ce36ae526d
6 changed files with 33 additions and 6 deletions

View File

@@ -217,6 +217,26 @@ SOFTWARE.
#endif /* SuperH */
#if defined(__m32r__)
#if defined(__BIG_ENDIAN__)
# define IMAGE_BYTE_ORDER MSBFirst
# define BITMAP_BIT_ORDER MSBFirst
# define GLYPHPADBYTES 4
# define GETLEFTBITS_ALIGNMENT 1
#else
# define IMAGE_BYTE_ORDER LSBFirst
# define BITMAP_BIT_ORDER LSBFirst
# define GLYPHPADBYTES 4
# define GETLEFTBITS_ALIGNMENT 1
#endif
#define AVOID_MEMORY_READ
#define FAST_CONSTANT_OFFSET_MODE
#define LARGE_INSTRUCTION_CACHE
#define PLENTIFUL_REGISTERS
#endif /* __m32r__ */
#if (defined(sun) && (defined(__sparc) || defined(sparc))) || \
(defined(__uxp__) && (defined(sparc) || defined(mc68000))) || \