[Issue 22466] Small array initialization and assignment shouldn't defer to memset

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 15 07:59:03 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=22466

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
With the current master, Look Ma, no memset32!!

_D4testQfFZv:
0000:   55                       push      RBP
0001:   48 8B EC                 mov       RBP,RSP
0004:   48 83 EC 10              sub       RSP,010h
0008:   48 B8 01 00 00 00 01 00 00 00  mov       RAX,0100000001h
0012:   48 89 45 F0              mov       -010h[RBP],RAX
0016:   48 89 45 F8              mov       -8[RBP],RAX
001a:   C9                       leave
001b:   C3                       ret

--


More information about the Digitalmars-d-bugs mailing list