florian
|
590ec0f3e6
* more procedures excluded to avoid internalerrors on avr after the trgobj.conservative fix
|
10 éve |
florian
|
ba1297b1ab
+ provide also 8 and 16 bit div/mod helper
|
10 éve |
Jonas Maebe
|
b4033efc00
* fixed typo in comment
|
10 éve |
Jonas Maebe
|
ff020a3be4
+ "Utf8CodePointLen(pansichar,MaxLookAhead,IncludeCombiningDiacriticalMarks):
|
10 éve |
Károly Balogh
|
05e72f52c6
a slightly better generic implementation for SwapEndian() 32 bit and 64 bit ints
|
11 éve |
sergei
|
98332db7fe
* Improved generic implementations of Bsf/Bsr. Existing ones were just ugly, BsfQword/BsrQWord producing total of 15 inline expansions 5 levels down and bloating into just a little less than a kilobyte of code (on MIPS). Now it is at most 3 expansions and 21 instructions (84 bytes), 16 and 32 bit routines are branchless.
|
11 éve |
sergei
|
217ab9879c
* Enabled internal handling of Abs(longint) for all targets. It has been implemented in cross-platform way ages ago (see tcginlinenode.second_abs_long), but not enabled on MIPS,SPARC and m68k.
|
11 éve |
nickysn
|
48c5d9d213
* tobjectvmt.size and .msize in the rtl changed to sizeuint, because ptruint is
|
11 éve |
nickysn
|
e471a7dd2c
* use ObjpasInt, instead of nativeint in fpc_div_dword and fpc_mod_dword
|
11 éve |
sergei
|
94a045aa3d
* Moved declarations of TFPURoundingMode,TFPUExceptionMask and TFPUPrecisionMode to System unit. Declarations in Math unit changed to aliases.
|
11 éve |
sergei
|
a1dfaa54dd
* Fixed exception handling in constructors of TP-style objects to correctly handle cases of statically allocated objects (must call destructor but do not free memory) and objects without destructor (must free memory if it was allocated dynamically).
|
11 éve |
sergei
|
1626667374
* Object helper routines review/improvement for alignment-sensitive targets:
|
11 éve |
nickysn
|
48edf78003
* make BSR/BSF return byte, instead of cardinal on 16/8-bit targets
|
11 éve |
nickysn
|
5c8aa6e5b0
* fpc_mul_integer and fpc_mul_longint: fallback directly to the unsigned
|
11 éve |
nickysn
|
d4e01637e7
* use nativeint, instead of longint in fpc_div_dword and fpc_mod_dword, because
|
11 éve |
florian
|
be3749301f
* fix possible issues due to new behaviour of constant shifting
|
11 éve |
sergei
|
690995fa12
* RTL: fixed some warnings when compiling for x86_64:
|
12 éve |
nickysn
|
7e18ac90e5
* the 'len' argument of fpc_shortstr_assign changed to smallint on 16-bit cpus, because getintparaloc allocates 16-bit ints on i8086
|
12 éve |
paul
|
431ce7afc8
rtl: remove unused variables
|
12 éve |
florian
|
57ee96ef86
* compilation on non x86 fixed
|
13 éve |
florian
|
8818b58e5d
* Bsf/Bsr on x86 handle now correctly 0 as argument, resolves #22783
|
13 éve |
florian
|
bc47125943
* use BsrDWord in software mod/div
|
13 éve |
florian
|
9be3ca04ad
* split FPC_HAS_INTERNAL_BSX_* defines into FPC_HAS_INTERNAL_BSF_* and FPC_HAS_INTERNAL_BSR_*
|
13 éve |
florian
|
2db4606eb0
* fix bootstrapping with 2.6.0
|
13 éve |
florian
|
ff12d63248
+ generic popcnt support
|
13 éve |
florian
|
b782918434
* first draft to support the popcnt instruction, works so far for x86 with a real popcnt instruction
|
13 éve |
pierre
|
a311c53167
Replace HandleErrorFrame calls by HandleErrorAddrFrameInd where possible in common code (to allow correct backtrace for mips cpu)
|
13 éve |
Jonas Maebe
|
b42d204514
* fpc_shortstr_assign as compilerproc, forgot to commit
|
13 éve |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 éve |
sergei
|
f18767f6a8
* generic fpc_shortstr_assign: cleaned up
|
13 éve |