[ Home | CW Bug Reports | Mail ]
Pro5 C++による冗長な生成 code
Subject: BUG -- Pro5 C++ generates redundant slow PPC code
---------------------------------------------------------------------------
METROWERKS PRODUCT AND USAGE SECTION
Product name : [ CodeWarrior Professional for Mac ]
Product version : [ Pro 5 ]
Component name : [ C++ code generator ]
Generating: [ Mac OS PowerPC ]
Purpose: [ application ]
---------------------------------------------------------------------------
BUG DESCRIPTION SECTION
Reason for this report: [ generates slow code ]
Bug severity: [ generates slow code ]
Reproducibility: [ always ]
Problem summary:
CW Pro5 C++ compiler generates redundant slow PPC code in comparison
to Pro4. Here is an example. I marked Pro5's redundant instructions
with <<<<<<.
I encountered about 5% slowdown in this rather simple code.
I used the following optimizer options. I couldn't improve Pro5's code
generation with any optimizer options, though.
以降 assemble listが続くが省略
Pro5 C++の code generatorはまだかなり怪しい様です。
私は PowerPlantだけ Pro5付属の 2.0に入れ替えて、後は Pro4のままで
使っています。
次かその次の patchが出るまで Pro5の C++ compilerは使わないつもりです。
この Pageは MacOS X + Radio UserLand で作っています。