-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed as duplicate of#104538
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone
Description
We should really just use
MemoryMarshal.Write, but the codegen is suboptimal, see sharplabLooks like a simple addressing mode was not contained. It's just that this PR replaces one unsafe code with another unsafe (a tiny bit better, but still). These APIs allocate, it is unlikely an extra lea makes perf difference here
@jakobbotsch do we have an issue tracking this?
Originally posted by @xtqqczze in #112616 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI