florian
|
781b2d0a80
* patch by Rika: second part of #39496, resolves #30496
|
3 роки тому |
Károly Balogh
|
45b5e9215c
rtl: remove defines for v2.x compiler from the common part of the RTL. It's no longer suppported to build with that
|
4 роки тому |
florian
|
3072df59ff
* overflow checked mul helpers do not need to check all bits either
|
4 роки тому |
svenbarth
|
0c316deab5
* readd SmallInt typecasts to SmallInt overload of SwapEndian
|
4 роки тому |
svenbarth
|
9d86fed95b
* avoid range check error when using SwapEndian with 16-bit constants
|
4 роки тому |
yury
|
ec10ee8218
* Improved generic implementations of fpc_mul_dword, fpc_mul_word, fpc_mul_byte to use less iterations and registers.
|
5 роки тому |
florian
|
828e961f3d
* remove unused constants
|
5 роки тому |
Jeppe Johansen
|
1b698d319f
- Fix bug in software overflow checking for longint's.
|
6 роки тому |
Jeppe Johansen
|
67bf76c50e
- Fix overflow checking in software multiplication routines. Overflow checking should also be enabled for the unsigned multiplications.
|
6 роки тому |
florian
|
90557f2e62
* properly calcualte aligncount as proposed by Jeppe, should resolve #33323
|
6 роки тому |
yury
|
a19528efa1
* Fixed warnings.
|
6 роки тому |
florian
|
33463c8698
* moved align helper so it actually gets inlined
|
6 роки тому |
florian
|
7817102727
* patch by Christo Crause to implement 8 bit multiplications for "mul-less" avr types, resolves issue #31925
|
7 роки тому |
florian
|
16c9a2260d
* check alignment properly in CompareDWord for 64 bit targets
|
8 роки тому |
nickysn
|
34113b930b
* removed the checkoverflow: boolean parameter of the software mul helpers;
|
8 роки тому |
nickysn
|
ba665e103c
+ added sqr(shortint) and sqr(smallint) for CPUs with 8/16-bit alu
|
8 роки тому |
nickysn
|
78a7445751
+ added Odd(byte) and Odd(shortint) for cpus with 8-bit alu and Odd(word)/
|
8 роки тому |
nickysn
|
fa645dcaf7
+ added abs(smallint) and abs(shortint) for cpus with 8-bit or 16-bit alu
|
8 роки тому |
Károly Balogh
|
346f040a54
also try to inline 32bit SwapEndian variants, as they're still reasonably simple
|
8 роки тому |
pierre
|
ded1fb23a2
Improve stack trace output with -Cr option, contributed by Colin Western
|
8 роки тому |
pierre
|
d2d1794b40
Use HandleError instead of RunError in fpc_help_destructor, fpc_check_object and fpc_check_object_ext
|
8 роки тому |
nickysn
|
b14f277e8f
+ use rtl helpers for 64-bit shl/shr/sar/rol/ror modify in place operations, on
|
8 роки тому |
florian
|
86f0b59095
* avoid conversion to larger type in Align
|
8 роки тому |
pierre
|
b9e6938519
Correct behavior: if VMT becomes NIL, RTE 219 must be generated as this happens if EXPVMT is not an ancestor of starting VMT
|
9 роки тому |
svenbarth
|
59303c5113
Fix -CR after the recent VMT changes.
|
9 роки тому |
florian
|
2b082d88a6
* generic implementation of fpc_pchar_length uses IndexByte instead of a simple while loop
|
9 роки тому |
florian
|
91c59cb512
* fix Fill* code for CPUs with 8 Bit ALU
|
9 роки тому |
nickysn
|
db7b743139
* yet another longint replaced with objpasint in fpc_shortstr_compare_equal
|
9 роки тому |
nickysn
|
b561b3c2ba
* use objpasint (generates better code on 16-bit and 8-bit cpus) instead of
|
9 роки тому |
florian
|
590ec0f3e6
* more procedures excluded to avoid internalerrors on avr after the trgobj.conservative fix
|
10 роки тому |