Sujet : Re: rep movsb vs. simpler instructions for memcpy/memmove
De : already5chosen (at) *nospam* yahoo.com (Michael S)
Groupes : comp.archDate : 13. Mar 2025, 15:29:54
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20250313162954.00003c2a@yahoo.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
User-Agent : Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
On Thu, 13 Mar 2025 02:34:11 -0000 (UTC)
Lawrence D'Oliveiro <
ldo@nz.invalid> wrote:
On Thu, 13 Mar 2025 00:49:47 +0000, MitchAlsup1 wrote:
On Thu, 13 Mar 2025 0:03:51 +0000, Lawrence D'Oliveiro wrote:
On Wed, 12 Mar 2025 17:44:11 +0000, MitchAlsup1 wrote:
My 66000 has MM memmove as an instruction (4-bytes) always
optimal, no checking required.
>
Presumably interruptible and resumable ...
Yep; but also include able to take exceptions.
So you have a VAX-style “first part done” processor status bit? And
you use architectural registers to save/restore the state of an
instruction in progress at the time of an interrupt?
According to my understanding, no and no.
Mitch has instruction that saves architectural+microarchitectural
context in memory and any interrupt or exception has to use it.
Architectural part of saved buffer is documented. Microarchitectural
part, apart from its size, not so much.
That is, according to my understanding. Take it with amount of salt you
find appropriate.