flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
AsmGuru62
Intel says "Avoid using INC/DEC" and replace it with ADD xx,1 or SUB xx,1.
The reference is here: http://www.agner.org/optimize/optimizing_assembly.pdf Part 16.2 |
|||
![]() |
|
revolution
MIHIP: Those instructions are not the same because the FLAGS are set differently.
AsmGuru62: Those old optimisations are not relevant on newer CPUs AFAICT. Since the carry flag was placed into a separate register internally there is no longer any penalty. |
|||
![]() |
|
MIHIP
Ok. Thanks.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.