< Compile Options / Object Options >
When the instalign4 option is specified, the instruction at the location address is aligned to the 4-byte boundary. |
Instruction alignment is performed only when the instruction at the specified location exceeds the address which is a multiple of the alignment value (4)*1. |
The following three types of branch destination can be selected by specifying the suboptions of -instalign4*2. |
No specification: Head of function and case and default labels of switch statement |
When this option is selected, the alignment value of the program section is changed from 1 to 4 (for instalign4) or 8 (for instalign8). |
This option aims to efficiently operate the instruction queues of the RX CPU and improve the speed of program execution by aligning the addresses of branch destination instructions. |
RX110, RX111, RX113, RX130, RX13T, RX210, RX21A, RX220
Refer to -instalign8 for the other devices.
This is when the instruction size is equal to or smaller than the alignment value. If the instruction size is greater than the alignment value, alignment is performed only when the number of exceeding points is two or more. |
Alignment is adjusted only for the branch destinations listed above; alignment of the other destinations is not adjusted. For example, when loop is selected, alignment of the head of a loop is adjusted but alignment is not adjusted at the branch destination of an if statement that is used in the loop but does not generate a loop. |