Architecture-dependent optimization techniques
Last updated
Last updated
Depending on the processor family used as well as the type of coprocessors available, several optimizations are possible:
Conversion from floating point to fixed point in the absence of math co-processor.
Use of assembly specifics.
Example: on ARM architecture it is possible to set flags when doing an arithmetic operation.
There are many other techniques that, due to time limitations, are not covered in this course unit:
Some classes:
Controlling resource use (e.g. variables assigned to registers).
Exploring parallelism.
Multiple memory banks.
Multimedia instructions.