3 ms·
It takes some time to start up, but can be the fastest for large block copies. REPNE SCASB is useful to implement strlen, and REPE CMPSB for strcmp. Don't know
by rep_lodsb 4y ago
It takes some time to start up, but can be the fastest for large block copies.
REPNE SCASB is useful to implement strlen, and REPE CMPSB for strcmp. Don't know offhand how optimized these are though.
REP LODSB, on the other hand, is completely useless :)