[Vm-dev] Primitive replaceFrom:to:with:startingAt: in the JIT
tim Rowledge
tim at rowledge.org
Wed Dec 27 23:03:58 UTC 2017
> On 27-12-2017, at 2:56 PM, Clément Bera <bera.clement at gmail.com> wrote:
>
>
> Assembling a word when reads are not aligned with the writes seemed tedious - not sure if that's the best time invested/speed-up ratio. One could experiment.
>
It’s just an 8bpp bitblt on a single line. We kinda-sorta have code for that lying around.
How about handling any simple cases you can come up with and failing to the (usually) intrinsic memcpy() ? Take advantage of those 4 people’s months of work!
tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
All programmers are playwrights and all computers are lousy actors.
More information about the Vm-dev
mailing list