2023.01.26

表二从统计学上总结了各个因素对代码密度的影响

Correlation/ CoefficientArchitectural Parameter
0.9381Minimum possible instruction length
0.9116Number of integer registers
0.7823Virtual address of first instruction
0.6607Architecture has a zero register
0.6159Bit-width
0.4982Number of operands in each instruction
0.3129Year the architecture was introduced
-0.0021Branch delay slot
-0.0809Machine is big-endian
-0.2121Auto-incrementing addressing scheme
-0.2521Hardware status flags (zero/overflow/etc.)
-0.3653Unaligned load/store available
-0.3854Hardware divide in ALU