- Notifications
You must be signed in to change notification settings - Fork5.2k
Open
Labels
Milestone
Description
Assigning a struct to another static variable struct (Memory<T> below)
publicstructMemory<T>:IEquatable<Memory<T>>,IEquatable<ReadOnlyMemory<T>>{readonlyOwnedMemory<T>_owner;readonlyint_id;readonlyint_index;readonlyint_length;}
Can generate amovs copy
movs qword ptr[rdi],qword ptr[rsi]movs qword ptr[rdi],qword ptr[rsi]
Would this be better as a SSE copy?
movdquxmm0,xmmword ptr[rsi]movdqu xmmword ptr[rdi],xmm0
As seen indotnet/corefxlab#1227 (comment)
/cc@mikedn
category:cq
theme:block-opts
skill-level:intermediate
cost:small
impact:medium