Tested with and without invariants.
I don't know where to put the resolving code, machdep.c seemed like the least objectionable place.
Note that memmove is kind of hairy and is up for further rework.
Paths
| Differential D17124 Authored by mjg on Sep 11 2018, 11:15 PM.
Details
Summary Tested with and without invariants. I don't know where to put the resolving code, machdep.c seemed like the least objectionable place. Note that memmove is kind of hairy and is up for further rework.
Diff Detail
Event TimelineHerald added a subscriber: imp. · View Herald TranscriptSep 11 2018, 11:15 PM2018-09-11 23:15:23 (UTC+0) Harbormaster completed remote builds in B19533: Diff 47932.Sep 11 2018, 11:15 PM2018-09-11 23:15:24 (UTC+0) This revision is now accepted and ready to land.Sep 13 2018, 2:35 PM2018-09-13 14:35:24 (UTC+0) Closed by commit rS338645: amd64: implement ERMS-based memmove, memcpy and memset (authored by mjg). · Explain WhySep 13 2018, 2:54 PM2018-09-13 14:54:13 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 47960 sys/amd64/amd64/machdep.c
sys/amd64/amd64/support.S
|
Move this right after _std. Also, I prefer to have each _erms variant to be located right after its _std counterpart.