Rika Ichinose
|
ff2492edf5
Add System.UMul64x64_128.
|
5 months ago |
Rika Ichinose
|
840df7e243
Disable MemPos on JVM.
|
6 months ago |
Rika Ichinose
|
f7f8c9a615
Publish System.MemPos.
|
6 months ago |
Michaël Van Canneyt
|
8488c87b20
* New fix for fpc_atomic_cmp_xchg_alu, as suggested by Sven
|
7 months ago |
Michaël Van Canneyt
|
5d100fd2c6
cpuNbitalu is not the correct type for fpc_atomic_cmp_xchg_alu on webassembly
|
7 months ago |
Rika Ichinose
|
6035058a21
Shorten generic atomic implementations to offset the LoC cost of the commit before last.
|
8 months ago |
Sven/Sarah Barth
|
ae938e16a5
* correctly disable the Atomic*Lock functions for the fpc_atomic_cmp_xchg_*() helper fallback of the CPU size
|
8 months ago |
Sven/Sarah Barth
|
e94d02a067
* with all existing RTLs switched over to the atomic intrinsics, the define FPC_SYSTEM_INTERLOCKED_USE_INTRIN can be removed again
|
8 months ago |
Sven/Sarah Barth
|
9cbc802d0d
+ add platform independent helper routines for the atomic intrinsics; these only require the implementation of the size specific fpc_atomic_cmp_xhg_* helper, but if only the CPU size specific helper is implemented the others will at least be safe for multi threading inside the same process
|
2 years ago |
Rika Ichinose
|
d7352e7b66
Remove most of the VER3_0 conditionals.
|
11 months ago |
Rika Ichinose
|
875e22f7d7
Implement length(PWideChar) with IndexWord.
|
1 year ago |
florian
|
a0cae50af6
* rtl part of #35433
|
1 year ago |
Rika Ichinose
|
0fe3633044
Simplify shortstr_concat(_multi).
|
1 year ago |
Rika Ichinose
|
fca0ace070
Improve shortstring Pos() and generic fpc_shortstr_compare().
|
2 years ago |
Rika Ichinose
|
0d3d4918b3
Don’t allow generic fpc_pchar_length to arbitrarily over-read.
|
2 years ago |
Rika Ichinose
|
8d1d763a1a
Don’t use local shortstring in generic fpc_pchar_to_shortstr, move directly to the destination.
|
2 years ago |
Michael VAN CANNEYT
|
d2d3fe6bc3
* Char -> AnsiChar
|
2 years ago |
Rika Ichinose
|
f0811e448d
Improve generic CompareWord.
|
2 years ago |
Rika Ichinose
|
ee5b9e53a9
Improve generic CompareDWord.
|
2 years ago |
Jonas Maebe
|
ffa14ee448
Utf8CodePointLen: remove pointer arithmetic to fix JVM compatibility
|
2 years ago |
Rika Ichinose
|
b38d13577f
Make Utf8CodepointLen adhere to the Unicode standard somewhat more and know all of the Unicode 15.0 combining characters.
|
2 years ago |
florian
|
218da184e6
* patch by Rika: Improve generic CompareByte, resolves #40120
|
2 years ago |
Rika Ichinose
|
30e3d93d57
Make generic Index* faster and denser.
|
2 years ago |
florian
|
c1ec558d0a
* first (modified, added a comment) patch by Rika to improve generic Index*, part of #39996
|
2 years ago |
ccrause
|
031c16dd3c
Fix potential overflow when incrementing 8 bit high value of res.
|
2 years ago |
ccrause
|
991460c4ee
Rewrite fpc_shortstr_concat_multi for AVR to not use a temporary shortstring to reduce RAM usage.
|
2 years ago |
Jonas Maebe
|
0758aa1143
FPU exception mask: generlised system unit interface
|
2 years ago |
florian
|
799c22d553
Revert " * patch by Rika: SwapEndian([u]int16) has unnecessary “and $FFFF”, resolves #39814"
|
3 years ago |
florian
|
f92102a5f2
* patch by Rika: SwapEndian([u]int16) has unnecessary “and $FFFF”, resolves #39814
|
3 years ago |
florian
|
781b2d0a80
* patch by Rika: second part of #39496, resolves #30496
|
3 years ago |