Commit Graph

66799 Commits

Author SHA1 Message Date
florian
15f29b8fa0 * patch by Rika: Perform 32-bit random if the bound fits into 32 bits at runtime, resolves #40171 2023-02-25 19:57:50 +01:00
Sergey Larin
62c24b3756 Added test to check WideChar const to UTF8String const conversion 2023-02-24 22:59:39 +00:00
Sergey Larin
de58691e75 Allow WideChar const to UTF8String const conversion 2023-02-24 22:59:39 +00:00
J. Gareth "Curious Kit" Moreton
4d33e5f137 * x86: OptPass1_V_MOVAP now uses GetNextInstructionUsingReg and UpdateUsedRegsBetween 2023-02-24 19:39:39 +00:00
J. Gareth "Curious Kit" Moreton
9ee672f9eb * New UpdateUsedRegsBetween utility subroutine 2023-02-24 19:39:39 +00:00
florian
95e5eeb226 * fix compilation with -dEXTDEBUG 2023-02-24 20:39:13 +01:00
florian
7cc94fc000 * patch by Rika: Trivial adjustments to !379, resolves #40168 2023-02-23 22:46:05 +01:00
Michalis Kamburelis
905c485ff4 Fix glDebugMessageXxx to use extdecl 2023-02-22 00:49:07 +00:00
J. Gareth "Curious Kit" Moreton
a5702d89e8 * More complex uses of the pruning methods in TAddNode.Simplify 2023-02-21 20:44:02 +00:00
J. Gareth "Curious Kit" Moreton
9d8fd6d55e * TAddNode.Simplify now uses pruning methods 2023-02-21 20:44:02 +00:00
J. Gareth "Curious Kit" Moreton
7488f1e3f8 * New node pruning methods 2023-02-21 20:44:02 +00:00
J. Gareth "Curious Kit" Moreton
2a44ffe51b * x86: BZHI optimisation now sets the subtract and shift nodes to 'do not execute' as they are skipped over. 2023-02-21 20:44:02 +00:00
J. Gareth "Curious Kit" Moreton
16bd996e74 * x86: 'and not' optimisation now sets the NOT node to 'do not execute' as it is skipped over 2023-02-21 20:44:02 +00:00
J. Gareth "Curious Kit" Moreton
1b43913408 * New 'do not execute' flag for notes and respective internal error triggering 2023-02-21 20:44:02 +00:00
florian
586a7d30ab * patch by ccrause: fixes another .fpc* section problem for AVR, resolves #40162 2023-02-20 22:48:15 +01:00
J. Gareth "Curious Kit" Moreton
090e4fea96 * New test for i40122 2023-02-19 20:22:49 +00:00
J. Gareth "Curious Kit" Moreton
dd7320ec13 * x86: PostPeepholeOptCmp and PostPeepholeOptTestOr
now do a final attempt of TrySwapMovCmp to
	 clean up Pass 2 optimisations
2023-02-19 20:22:49 +00:00
J. Gareth "Curious Kit" Moreton
4d676cd6fa * x86: JccMovJmpMov2CMovCMov will no longer move
MOV instructions (fixes i40122)
2023-02-19 20:22:49 +00:00
florian
8f7e61eef6 * patch by ccrause: do not load .fpc* sections into avr microcontroller to save space, resolves #40160 2023-02-19 20:19:20 +01:00
Rika Ichinose
b723178117 Even better CompareByte for x64.
Tries to handle tails with a SIMD unit as well.
2023-02-19 18:12:37 +00:00
Rika Ichinose
d36e96ea74 Improved CompareDWord for i386 and x86_64. 2023-02-19 18:07:46 +00:00
Rika Ichinose
ee5b9e53a9 Improve generic CompareDWord. 2023-02-19 18:07:46 +00:00
J. Gareth "Curious Kit" Moreton
4e8ef448ed * i386: Bug fix where EBP was marked as preserved when it wasn't, causing faulty optimisations 2023-02-19 16:49:29 +00:00
Marcus Sackrow
1cacbeff1e AThreads: ThreadInfo for the main thread move to a global var to prevent problems with heap manager 2023-02-19 14:09:29 +01:00
Marcus Sackrow
5fe9ed18d9 Amiga: System CloseList() and CleanupThreadProcChain() are called after the memory manager is already shut down changed to native os memory allocation 2023-02-18 20:19:53 +01:00
florian
a221f2af79 * completed post/pre inc/decrement addressing mode instructions in TAoptBaseCpu.RegModifiedByInstruction 2023-02-18 11:15:39 +01:00
Michaël Van Canneyt
e4ad313f8b * Better transaction handling, improved ranking mechanism speed 2023-02-18 09:48:54 +01:00
florian
22f1289b2a * post/pre inc/decrement references modify obviously the base register on avr, resolves #40153 2023-02-17 23:02:40 +01:00
florian
ece59f2534 * also count the use of enum syms in preprocessor expressions correctly 2023-02-16 23:02:47 +01:00
florian
811c683775 * set rangedef of dyn. arrays correctly, resolves #40149 2023-02-15 22:14:55 +01:00
mattias
11cf24891d fcl-web: moved OnLog from TSimpleFileModule to TFPCustomFileModule 2023-02-15 00:52:42 +01:00
mattias
2780b5f830 fcl-web: updated lpi 2023-02-14 22:40:51 +01:00
mattias
b292e19862 fcl-web: simpleserver: fixed parsing config file 2023-02-14 22:40:24 +01:00
mattias
21897ff46c fcl-web: gitignore for linux 2023-02-14 22:39:05 +01:00
mattias
93a47ddada pas2js: fixed compileserver compile with fpc 3.2.2 2023-02-14 22:38:42 +01:00
Pierre Muller
513c8983e0 Fix compilation error with -dFPC_USE_LIBC for loongarch64 cpu 2023-02-13 22:43:30 +00:00
Ondrej Pokorny
86c4b160e2 add all peflags 2023-02-13 21:41:54 +00:00
Pierre Muller
61bee98af9 Fix compilation error for loongarch64 system unit with -dFPC_USE_LIBC option 2023-02-13 16:31:53 +00:00
Pierre Muller
b49c3fe4f8 Aslo check that live_end is assigned before refering to it 2023-02-13 15:50:04 +01:00
Pierre Muller
c8b2a36bb1 Add support for -Ploongarch64 option 2023-02-13 13:01:21 +00:00
florian
63199a0966 * memory sizes updated 2023-02-12 20:55:38 +01:00
Rika Ichinose
eff26797ab SSE2 IndexDWord for x64. 2023-02-12 15:18:45 +00:00
J. Gareth "Curious Kit" Moreton
2224305834 * x86: Fixed bad register tracking in OptPass2JMP 2023-02-12 15:14:21 +00:00
florian
def475f889 * arm compilation fixed 2023-02-11 21:21:21 +01:00
florian
d06852e6e9 + exec_e_cant_call_linker shows now the error message 2023-02-11 21:07:01 +01:00
florian
d3ccd10674 * call esptool.py properly on Darwin 2023-02-11 21:06:40 +01:00
florian
67864b662a * fix systems_freertos 2023-02-11 20:49:52 +01:00
florian
c7a0c0bbb4 * set FPU type properly for riscv32-freertos 2023-02-11 20:42:31 +01:00
florian
f1f84a292c * don't not generate non-constant leb128 entriesm for riscv32-freertos 2023-02-10 21:28:39 +01:00
florian
2ad22a3f32 * unit name fixed 2023-02-10 21:16:03 +01:00