florian
|
3ad8b4199c
* patch by Rika: Shorten cutils.compareansistrings, resolves #40213
|
2 years ago |
florian
|
b934517871
* patch by Rika: Optimize some compiler/CFileUtl.pas functions for returning unchanged strings, resolves #39882
|
2 years ago |
Jonas Maebe
|
b26703feaa
Darwin version comparisons: factored out into object
|
2 years ago |
Sven/Sarah Barth
|
5562e3e440
+ add a AnsiString based overload of GetToken
|
3 years ago |
florian
|
927e3fd455
* patch by Rika: improve EncodeUleb128/EncodeSleb128, second part of #39750, resolves #39750
|
3 years ago |
florian
|
51ab0d759f
* patch by Rika: improve EncodeUleb128/EncodeSleb128, part of #39750
|
3 years ago |
Karoly Balogh
|
74ab27ae47
cutils: also use minalign, when varalign equals it, not only when varalign is less than it (21 years old bug?)
|
3 years ago |
florian
|
abc4a0a4e6
* patch by Rika: another improvement of cutils.newalignment, part of #39496
|
3 years ago |
florian
|
ab969e0a9b
* patch by Rika: improve ctuils.newalign/align, part of #39496
|
3 years ago |
florian
|
89aeedac1e
* fixes excluding of cpu capabilities
|
3 years ago |
Jonas Maebe
|
3fb0fab410
Fix bitpacking 62/63 bit fields on 64 bit targets
|
3 years ago |
florian
|
0188a558d1
- obsolete defines removed
|
4 years ago |
florian
|
f333fb08ec
* patch by Alfred to fix cutils.CompareVersionStrings, resolves #38514
|
4 years ago |
florian
|
3d049a3309
- remove unused trimbspace
|
4 years ago |
yury
|
1b3a3a7983
* Removed lot of unused local vars. It is useful to turn on the notes in options. :)
|
5 years ago |
pierre
|
0fa70759a2
* cutils.pas (size_2_align): Move to..
|
5 years ago |
florian
|
1ed0000ae8
+ Encode(U/S)leb128 take now a third parameter to force that the constant has a certain minimum size
|
6 years ago |
Jonas Maebe
|
8d19bb12a2
* moved sleb/uleb128 helpers to cutils and use SarInt64() intrinsic (based on
|
6 years ago |
yury
|
8fba43609d
+ Added overloaded version of stringdup() for ansistring to allow stringdup to be inlined.
|
6 years ago |
yury
|
e60a5ebfe7
* Fixed overflow error for the qword version of align() when i=0.
|
6 years ago |
yury
|
4860f3934a
* Fixed overflow error when calling align() with corner case values such as align($7FFFFFFC, 4) for the longint variant.
|
6 years ago |
florian
|
ea32ddd5b2
* avoid overflows of execution weight
|
7 years ago |
florian
|
68eb921d46
* broken compilation after r39347 fixed
|
7 years ago |
svenbarth
|
af6f094420
+ add reverse_longword() function that reverses the bit pattern for a longword, just like reverse_byte() and reverse_word() do for Byte and Word respectively
|
7 years ago |
florian
|
823c77e6cc
* avoid overflow error in ispowerof2 for -2^bitsize, the routine does not handle negative values
|
7 years ago |
nickysn
|
2af5c9d508
* changed type used for section alignment from byte/shortint to longint, so the
|
7 years ago |
svenbarth
|
5c447cba50
* fix for Mantis #32476: use the correct string to check i2
|
7 years ago |
nickysn
|
4b00414183
+ added helper isabspowerof2, which checks whether abs(value) is a power of 2
|
8 years ago |
florian
|
0897bd154a
+ align(<int64>,<int64>) and align(<qword>,<qword>), resolves an issue reported on the mailing list with large records
|
8 years ago |
Károly Balogh
|
5426c11611
marked a few uses of TConstExprInt as const during parameter passing, to avoid a few unnecessary record copying
|
8 years ago |