Bug 18942 – core.internal.hash can take advantage of alignment info on non-x86

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-06-05T02:00:02Z
Last change time
2018-07-02T21:49:37Z
Assigned to
No Owner
Creator
Nathan S.

Comments

Comment #0 by n8sh.secondary — 2018-06-05T02:00:02Z
On machines that do not support unaligned memory access, core.internal.hash should use statically available alignment information to determine when `uint` reads can be used.
Comment #1 by n8sh.secondary — 2018-06-05T02:05:01Z
Comment #2 by github-bugzilla — 2018-07-02T21:49:36Z
Commits pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/ff171a8d3febf19002ae0371eb76a46cd4b548f8 Fix Issue 18942 - core.internal.hash can take advantage of alignment info on non-x86 https://github.com/dlang/druntime/commit/892c79280d761bb6048fe5a16b389e4154bcfb38 Merge pull request #2209 from n8sh/core-hash-18942 Fix Issue 18942 - core.internal.hash can take advantage of alignment info on non-x86 merged-on-behalf-of: Sebastian Wilzbach <[email protected]>