forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jettison vxsort support in the GC when optimizing for size (dotnet#85036
) Vxsort comes with precomputed tables that are more than 100 kB in size. Jettison them when optimizing for size. Hello world with optimize for size + invariant globalization is now 1.08 MB. Fixes dotnet#84749.
- Loading branch information
1 parent
02ddff3
commit 6b7292c
Showing
4 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
#include "common.h" | ||
|
||
#include "do_vxsort.h" | ||
|
||
// | ||
// Dummy replacement VXSORT support that always says the CPU doesn't | ||
// support the required instruction set. | ||
// | ||
|
||
bool IsSupportedInstructionSet (InstructionSet instructionSet) | ||
{ | ||
return false; | ||
} | ||
|
||
void InitSupportedInstructionSet (int32_t configSetting) | ||
{ | ||
} | ||
|
||
void do_vxsort_avx2 (uint8_t** low, uint8_t** high, uint8_t *range_low, uint8_t *range_high) | ||
{ | ||
assert(false); | ||
} | ||
|
||
void do_vxsort_avx512 (uint8_t** low, uint8_t** high, uint8_t* range_low, uint8_t* range_high) | ||
{ | ||
assert(false); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters