flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
smiddy
I don't know, I've always used a byte-wise comparison and mov.
I've never tried those, so I'd be interested in hearing what others have done. |
|||
![]() |
|
tthsqe
You should be able to use both, and if you need more speed in a performance critical section, you can try to not use the string instructions. Intel has not bothered to made these instructions fast, although that may have changed with the newer processors.
I recently encountered a speed boost on ivy bridge by changing stosq to mov dword[rdi],eax; lea rdi,[rdi+8], but this may mean nothing for your needs. Bottom line: try both and see which one is faster for you. |
|||
![]() |
|
revolution
Don't guess, measure.
|
|||
![]() |
|
smiddy
revolution wrote: Don't guess, measure. ![]() |
|||
![]() |
|
tthsqe
one more thing, 68K != modern intel/amd processor. Completely different ball games.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.