mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:02:56 +00:00
[UCRT] Import Microsoft.Windows.SDK.CRTSource version 10.0.22621.3
Imported from https://www.nuget.org/packages/Microsoft.Windows.SDK.CRTSource/10.0.22621.3 License: MIT
This commit is contained in:
parent
f1b60c66f0
commit
04e0dc4a7a
568 changed files with 115483 additions and 0 deletions
27
sdk/lib/ucrt/initializers/i386/sse2_initializer.cpp
Normal file
27
sdk/lib/ucrt/initializers/i386/sse2_initializer.cpp
Normal file
|
@ -0,0 +1,27 @@
|
|||
//
|
||||
// sse2_initializer.cpp
|
||||
//
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
//
|
||||
// CRT initializers and terminators have been extracted from the main CRT sources
|
||||
// to enable the CRT DLL to be built with LTCG enabled. The source files in which
|
||||
// the CRT initializers and terminators are defined cannot be compiled as /GL
|
||||
// because the compiler will optimize them away during link-time code generation.
|
||||
// We inhibit this optimization by defining the initializers and terminators in
|
||||
// separate source files that are not compiled with /GL.
|
||||
//
|
||||
#include <corecrt_internal.h>
|
||||
|
||||
extern "C" int __cdecl __acrt_initialize_sse2();
|
||||
|
||||
#ifdef _M_HYBRID_X86_ARM64
|
||||
#pragma intrinsic(_HybridGenerateThunks)
|
||||
|
||||
extern "C" int __cdecl __acrt_initialize_sse2()
|
||||
{
|
||||
_HybridGenerateThunks(__acrt_initialize_sse2, 1);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
extern "C" _CRTALLOC(".CRT$XIC") _PIFV const __acrt_tran_sse2_initializer = __acrt_initialize_sse2;
|
Loading…
Add table
Add a link
Reference in a new issue