i960 Processor Compiler User's Guide
2-18
2
A (Architecture)
Selects instruction set.
A
architecture
architecture
is one of:
SA, SB, KA, KB, CA, CF, JA, JD, JF, HA, HD, HT, or RP
Default
By default, the compiler uses the i960 KB architecture.
Discussion
Use
the A (Architecture) option to specify the target instruction set. See
also the
-mcore0, -mcore1, -mcore2, and -mcore3 options that let you
generate code that is compatible with multiple i960 processor types.
Note that with release 5.1 using the
-ARP option generates code that is
compatible with current and proposed future variations on the i960 RP
architecture.
You can use predefined macros in your source text to conditionally
compile code for the selected architecture. The compiler defines a
preprocessor macro indicating the selected architecture. The preprocessor
macro takes the form:
_ _i960
xx
xx
is SA, SB, KA, KB, CA, CF, JA, JD, JF, HA, HD, HT,
or
RP. The compiler selects the value of
xx
according to the architecture you specify.
The
_ _i960 macro is defined for all architecture selections. Use
_ _i960 to identify parts of your program specific to the i960 architecture
but not necessarily specific to a particular processor.