Architecture Macros And Compatibility; Char Types - Intel i960 User Manual

Processor compiler
Hide thumbs Also See for i960:
Table of Contents

Advertisement

8
Table 8-1
8-2
i960 Processor Compiler User's Guide

char Types

The ic960 compiler (all releases) treats default
whereas gcc960 treats them as
behavior if the
mic3.0-compat
are selected, or if the
fsigned-char
symbol
__CHAR_UNSIGNED__
determine which model is in use.
Identifying Architectures
The traditions for architecture-identifying preprocessor macro definitions
are somewhat different between ic960 and gcc960. Both interfaces define
the macros
,
__i960
__i960 xx
(e.g., CA for the i960 CA processor, as selected by the
are the recommended macros for testing for the i960 processor
architecture.
For compatibility reasons, the compilation system also defines additional
variations on these macros, as shown in Table 8-1.

Architecture Macros and Compatibility

gcc960
_ _i960_ _
X
_i960 xx
-
_ _i960_ xx _ _
X
_ _i960 xx _ _
X
types as
char
. gcc960 emulates ic960's
unsigned
or
options (see below)
mic2.0-compat
option is selected. The preprocessor
is set appropriately to allow programs to
, and
, where
_i960
xx
ic960
-
X
-
-
,
signed
is the architecture
option). These
ACA

Advertisement

Table of Contents
loading

Table of Contents