История изменений
Исправление SZT, (текущая версия) :
Станут. Точнее, книга может попросту устареть и/или автор может ошибаться
http://www.intel.com/content/dam/doc/manual/64-ia-32-architectures-optimizati...
Страница 160 в pdf файле:
GENERAL OPTIMIZATION GUIDELINES
3.5.1.1 Use of the INC and DEC Instructions
The INC and DEC instructions modify only a subset of the bits in the flag register. This creates a dependence on all previous writes of the flag register. This is especially problematic when these instructions are on the critical path because they are used to change an address for a load on which many other instructions depend.
Assembly/Compiler Coding Rule 33. (M impact, H generality)
INC and DEC instructions should be replaced with ADD or SUB instructions, because ADD and SUB overwrite all flags, whereas INC and DEC do not, therefore creating false dependencies on earlier instructions that set the flags.
Исправление SZT, :
Станут. Точнее, книга может попросту устареть и/или автор может ошибаться
http://www.intel.com/content/dam/doc/manual/64-ia-32-architectures-optimizati...
Страница 160 в pdf файле:
GENERAL OPTIMIZATION GUIDELINES
3.5.1.1
Use of the INC and DEC Instructions The INC and DEC instructions modify only a subset of the bits in the flag register. This creates a dependence on all previous writes of the flag register. This is especially problematic when these instructions are on the critical path because they are used to change an address for a load on which many other instructions depend.
Assembly/Compiler Coding Rule 33. (M impact, H generality)
INC and DEC instructions should be replaced with ADD or SUB instructions, because ADD and SUB overwrite all flags, whereas INC and DEC do not, therefore creating false dependencies on earlier instructions that set the flags.
Исправление SZT, :
Станут. Точнее, книга может попросту устареть и/или автор может ошибаться
http://www.intel.com/content/dam/doc/manual/64-ia-32-architectures-optimizati...
Страница 160 в pdf файле:
GENERAL OPTIMIZATION GUIDELINES
3.5.1.1
Use of the INC and DEC Instructions The INC and DEC instructions modify only a subset of the bits in the flag register. This creates a dependence on all previous writes of the flag register. This is especially problematic when these instructions are on the critical path because they are used to change an address for a load on which many other instructions depend.
Assembly/Compiler Coding Rule 33. (M impact, H generality)
INC and DEC instructions should be replaced with ADD or SUB instructions, because ADD and SUB overwrite all flags, whereas INC and DEC do not, therefore creating false dependencies on earlier instructions that set the flags.
Исходная версия SZT, :
Станут. Точнее, книга может попросту устареть и/или автор может ошибаться
http://www.intel.com/content/dam/doc/manual/64-ia-32-architectures-optimizati...
Страница 160 в pdf файле:
GENERAL OPTIMIZATION GUIDELINES
3.5.1.1
Use of the INC and DEC Instructions The INC and DEC instructions modify only a subset of the bits in the flag register. This creates a dependence on all previous writes of the flag register. This is especially problematic when these instructions are on the critical path because they are used to change an address for a load on which many other instructions depend.
Assembly/Compiler Coding Rule
33. (M impact, H generality)
INC and DEC instructions should be replaced with ADD or SUB instructions, because ADD and SUB overwrite all flags, whereas INC and DEC do not, therefore creating false dependencies on earlier instructions that set the flags.