EasyManua.ls Logo

Intel i960 - Pragma Align

Intel i960
347 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
gcc960 / ic960 Compatibility
8-3
8
#pragma align
ic960 and gcc960 both implement a #pragma align directive. They
interpret the pragma differently, and the results (changes in the alignment
of members of structures) are not compatible. In the absence of this
pragma, ic960 and gcc960 structures should be compatibly aligned.
pragma i960_align is provided for compatibility with ic960's pragma
align
, and behaves the same for both compiler interfaces.
mic3.0-compat Option
The gcc960 mic3.0-compat option selects the appropriate behavior for
enum variables, selects default signed char variables, and selects clean
linkage (described above) for
char and short parameters and return
values.
mic2.0-compat Option
The gcc960 mic2.0-compat option selects the same behaviors as
mic3.0-compat, except that the behavior for the enum variable is subtly
different and the alignment rules for structure elements are changed to be
compatible with this (now obsolete) release of ic960. The
mic-compat
option supported in gcc960 R1.2 and R1.2.1 is now synonymous with
mic2.0-compat.

Table of Contents

Related product manuals