Skip to content

Conversation

@lhmouse
Copy link

@lhmouse lhmouse commented Jan 27, 2018

…w-w64 targets.

On MinGW and mingw-w64 targets, memcpy() is imported from MSVCRT.DLL.
With regard to benchmarking purposes, we have to eliminate the overhead
of implicit importation by specifying dllexport explicitly.

Reference: https://gcc.gnu.org/onlinedocs/gcc/Microsoft-Windows-Function-Attributes.html#index-dllimport-function-attribute
Signed-off-by: Liu Hao lh_mouse@126.com

…w-w64 targets.

On MinGW and mingw-w64 targets, `memcpy()` is imported from MSVCRT.DLL.
With regard to benchmarking purposes, we have to eliminate the overhead
of implicit importation by specifying `dllexport` explicitly.

Reference: https://gcc.gnu.org/onlinedocs/gcc/Microsoft-Windows-Function-Attributes.html#index-dllimport-function-attribute
Signed-off-by: Liu Hao <lh_mouse@126.com>
@lhmouse lhmouse mentioned this pull request Jan 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant