Pragma Compress - Intel i960 User Manual

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

Advertisement

7
7-30
i960 Processor Compiler User's Guide
4. The last two instructions in the dispatcher are:
callx 80(r10)
ret
5.
is a call to a decompressed secondary function. Set a
callx
breakpoint on
callx
6. Continue debugging the function on the machine level.

#pragma compress

#pragma compress
#pragma nocompress [ [(] function [,...] [)] ]
function
Controls the replacement of RISC instructions with CISC instructions.
Default
The compiler does not usually generate compressed (microcoded CISC)
instructions, but the code produced may still use complex addressing
modes for memory accesses. The compiler may generate single-line
instructions (e.g.,
cmpoble
(e.g.,
and
) but does not always do so.
cmpo
ble
Discussion
The
and
compress
nocompress
instructions with CISC instructions.
If code size is of primary importance, use
instructions with CISC instructions, thereby compressing the code size.
Generated instructions use complex addressing modes. When
is in effect, the compiler also generates single-line instructions for
compare-and-branch instructions when possible.
Use
to use RISC instructions, increasing the number of
nocompress
instructions but producing code that may run faster when instructions are
found in the instruction cache. Generated instructions do not use complex
and step into the function.
[ [(] function [,...] [)] ]
specifies the function for the compiler to
compress or not compress.
) for two-line compare-and-branch instructions
pragmas control the replacement of RISC
compress
to replace RISC
compress

Advertisement

Table of Contents
loading

Table of Contents