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 |
svenbarth
|
62fc960e63
+ utility function to reverse the bit pattern of a Word
|
8 years ago |
Jonas Maebe
|
315b32918e
+ Tconstexprint-version of ispowerof2() to correctly deal with constants
|
9 years ago |
yury
|
432248cbf1
* Removed lot of unused vars.
|
10 years ago |
nickysn
|
949210e808
+ added min and max functions for Tconstexprint
|
12 years ago |
florian
|
2f8027c63f
+ more sophisticated code to optimize multiplications on arm
|
13 years ago |
masta
|
8001979f7e
Reworked ispowerof2 in cutils.pas
|
13 years ago |
Jonas Maebe
|
02413c8a57
* moved maybequoted() from cutils to cfileutl and let its behaviour vary
|
13 years ago |