Bug 16680 – dmd doesn't use druntime optimized versions of subtraction array operations
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-11-11T09:53:00Z
Last change time
2017-08-09T10:39:44Z
Keywords
pull
Assigned to
nobody
Creator
olegus13
Comments
Comment #0 by olegus13 — 2016-11-11T09:53:17Z
DMD generates function name for substract array operations that differs from from name in drintime library.
Eg.
a[] = b[] - c[];
DMD version _arraySliceSliceSubSliceAssign_i
drintime _arraySliceSliceMinSliceAssign_i
I found, that substract operation name was changed in 'arrayop.c' from "Min" to "Sub", see patch https://github.com/dlang/dmd/commit/c5297b8ba310029438dc332152ec173a7387fead (22 Jun 2013).
This new name migrated to newly written code 'arrayop.d'