mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Create ELF aliases for identical symbols
This change greatly reduces the number of modules that need to be compiled. The only issue right now is that sometimes when viewing symbol table entries, the aliased symbol is chosen.
This commit is contained in:
parent
e1b83399bd
commit
b8a6a989c0
191 changed files with 414 additions and 2190 deletions
|
@ -95,10 +95,10 @@ TEST(LengthInt64Thousands, test) {
|
|||
}
|
||||
|
||||
BENCH(LengthInt64, bench) {
|
||||
unsigned LengthInt64_(int64_t) asm("LengthInt64");
|
||||
unsigned LengthUint64_(uint64_t) asm("LengthUint64");
|
||||
unsigned LengthInt64Thousands_(int64_t) asm("LengthInt64Thousands");
|
||||
unsigned LengthUint64Thousands_(uint64_t) asm("LengthUint64Thousands");
|
||||
unsigned LengthInt64_(int64_t) asm("__LengthInt64");
|
||||
unsigned LengthUint64_(uint64_t) asm("__LengthUint64");
|
||||
unsigned LengthInt64Thousands_(int64_t) asm("__LengthInt64Thousands");
|
||||
unsigned LengthUint64Thousands_(uint64_t) asm("__LengthUint64Thousands");
|
||||
EZBENCH2("LengthInt64", donothing, LengthInt64_(INT64_MIN));
|
||||
EZBENCH2("LengthUint64", donothing, LengthUint64_(UINT64_MAX));
|
||||
EZBENCH2("LengthInt64Thousands", donothing, LengthInt64Thousands_(INT64_MIN));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue