beautypg.com

Configuring optimization levels, Igure, Compiler – Zilog Z80380 User Manual

Page 27: Ptimizations

background image

UM004001-COR1103

1–15

Introduction

Sample Session

Configuring Optimization Levels

The C-Compiler Optimizations page allows the user to select an optimization level for the C-
compiler. See Optimization Levels on page 2-9 for a detailed description of the different opti-
mization levels.

Perform the following steps to configure the Optimizations page .

1. Select Optimizations from the Category pop-up list in the C-Compiler Settings Options

dialog box. The Optimizations page appears.

2. Select Level 4 optimization.

3. Click Apply.

F

IGURE

1-8. C-

COMPILER

O

PTIMIZATIONS

PAGE

The following optimization levels are available in the C-Compiler Optimizations page.

The No optimization option disables all optimizations.

The Level 1 optimization option performs:

– constant folding

– dead object removal

– simple jump optimization