pierre
81402bb077
* Improve DEBUG_PPU code
...
* Move flog file closing from closefile method to destroy destructor.
* Fix write_data output into flog
git-svn-id: trunk@48890 -
2021-03-06 22:00:30 +00:00
Mattias Gaertner
bb83bb4203
pastojs: fixed create TGUID object literal
...
git-svn-id: trunk@48889 -
2021-03-06 21:34:45 +00:00
marcus
d7a45c646e
AmigaOS4: renamed reserved name "class" as field name
...
git-svn-id: trunk@48888 -
2021-03-06 20:18:40 +00:00
florian
ba0f08018f
* fix test so it really uses random values for the boolean, thanks Jonas for the hint!
...
git-svn-id: trunk@48887 -
2021-03-06 15:16:29 +00:00
florian
83ce289ea4
* last commit fixed, hopefully final fix
...
git-svn-id: trunk@48886 -
2021-03-06 15:03:33 +00:00
florian
f448603970
* improved last commit, better handling of boolean expressions
...
git-svn-id: trunk@48885 -
2021-03-06 14:55:50 +00:00
florian
62bd0068b6
* do not apply the (a and b) or (c and not(b)) into c xor ((c xor a) and b) optimziation if short boolean evaluation is used, should resolve #38576
...
* improved test
git-svn-id: trunk@48884 -
2021-03-06 14:48:15 +00:00
florian
c15bb07bf6
* do not generate mul instructions if the mul extension is not available
...
git-svn-id: trunk@48883 -
2021-03-06 14:23:54 +00:00
pierre
3dd6272891
Add new make rule named full_targets
...
git-svn-id: trunk@48882 -
2021-03-06 10:42:50 +00:00
florian
6b9a3bf283
+ new RiscV32 SUBARCH rv32i
...
git-svn-id: trunk@48881 -
2021-03-05 21:48:22 +00:00
florian
913bd009e9
* patch by J. Gareth Moreton: take care of -Os for SubMov2*, part of #38579
...
git-svn-id: trunk@48878 -
2021-03-04 21:35:13 +00:00
marco
81f0442e5d
* Patch from Lacak. Better fix for mantis 30853
...
git-svn-id: trunk@48876 -
2021-03-04 10:37:50 +00:00
pierre
01a351f804
Fix for bug report 38549 about wrong code generation
...
for mips/mipsel and riscv32/riscv64 CPUs for
set operators '<=' and '>='.
New tests for this bug report.
tw38549.pp, main source, also included
by tw38549a.pp, tw38549b.pp, tw38459c.pp and tw38459d.pp
with explicit {$packset X}, with X=1,2,4, or 8 added.
git-svn-id: trunk@48874 -
2021-03-03 22:15:20 +00:00
florian
01937c4630
* patch by J. Gareth Moreton: SubMov2LeaSub optimisation improvement, resolves #38555
...
git-svn-id: trunk@48871 -
2021-03-02 21:27:43 +00:00
michael
187d63c8e1
* Add constants found in newer kernels
...
git-svn-id: trunk@48864 -
2021-03-02 10:28:21 +00:00
Mattias Gaertner
49830232d7
fcl-passrc: fixed spaces
...
git-svn-id: trunk@48863 -
2021-03-02 09:20:18 +00:00
svenbarth
893cf511bc
* fix casing of "VAr", no code changes
...
git-svn-id: trunk@48862 -
2021-03-02 08:06:05 +00:00
Mattias Gaertner
8c38953440
fcl-passrc: useanalyzer: fixed marking nested type
...
git-svn-id: trunk@48861 -
2021-03-01 22:01:31 +00:00
Mattias Gaertner
c6f5d37d3e
fcl-passrc: fixed debugging
...
git-svn-id: trunk@48860 -
2021-03-01 21:56:42 +00:00
Mattias Gaertner
9e5ff2186b
pastojs: fixed IsTGUID
...
git-svn-id: trunk@48859 -
2021-03-01 21:25:46 +00:00
Mattias Gaertner
4ed82dcc1c
fcl-passrc: fixed IsTGUID
...
git-svn-id: trunk@48858 -
2021-03-01 21:25:03 +00:00
florian
8ffa01e95f
* patch by J. Gareth Moreton: MOV/SHR reference optimisation, resolves #38560
...
git-svn-id: trunk@48857 -
2021-03-01 20:39:57 +00:00
florian
90710d055b
* fix spilling of (v)min/max/s/ps/d operations
...
git-svn-id: trunk@48856 -
2021-03-01 20:29:58 +00:00
florian
316f2429f0
* do not omit location_force_reg on second operand of sar/ro* if
...
it is used to adapt the size of the operand
git-svn-id: trunk@48855 -
2021-03-01 20:21:42 +00:00
nickysn
940738a3a1
* synchronized with trunk
...
git-svn-id: branches/wasm@48846 -
2021-03-01 13:21:24 +00:00
florian
01178532e5
* sar*/ro* do not call location_force_reg if not needed
...
git-svn-id: trunk@48844 -
2021-02-28 22:11:05 +00:00
florian
fb6867963f
* write execution time more precisely
...
git-svn-id: trunk@48843 -
2021-02-28 21:58:32 +00:00
Mattias Gaertner
ce3edc8c95
pastojs: fixed calling Instance.StaticMethod
...
git-svn-id: trunk@48842 -
2021-02-28 21:26:56 +00:00
florian
e0a1bc6675
+ optimize (a and b) or (c and not(b)) into c xor ((c xor a) and b)
...
+ test
git-svn-id: trunk@48841 -
2021-02-28 18:20:46 +00:00
florian
272a0e3e26
+ apply excess precision also to unary minus nodes
...
* made excess precision really working
git-svn-id: trunk@48840 -
2021-02-28 10:52:11 +00:00
Tomas Hajny
8602a29383
* align shortname to previous releases
...
git-svn-id: trunk@48839 -
2021-02-28 10:29:59 +00:00
Tomas Hajny
0aae9dd375
* make shortname really short
...
git-svn-id: trunk@48838 -
2021-02-28 10:27:51 +00:00
Tomas Hajny
f7bf90f6a8
* package tplylib added, corrections for more than 31 items on a tab
...
git-svn-id: trunk@48836 -
2021-02-28 02:08:17 +00:00
florian
fe57cd3536
* fix LLVM after r48828
...
* global gotos really use the return type of fpc_setjmp to test where we come from
git-svn-id: trunk@48835 -
2021-02-27 22:07:58 +00:00
Jonas Maebe
9c831677ff
* support Objective-C classes and protocols with -gw3 (mantis #36250 )
...
git-svn-id: trunk@48834 -
2021-02-27 21:44:53 +00:00
Jonas Maebe
803779002d
* the new constant string arraydefs are also implicit pointers types for JVM
...
git-svn-id: trunk@48833 -
2021-02-27 19:30:37 +00:00
Jonas Maebe
ab0531f0ce
* fixed JVM stack height calculation after calls returning an
...
implicit pointer tpe
git-svn-id: trunk@48832 -
2021-02-27 19:30:34 +00:00
florian
4c2e0b9ff0
* for setjmp based exception handling, get the type of the exception reason from the setjmp result
...
git-svn-id: trunk@48828 -
2021-02-27 16:47:36 +00:00
pierre
58171b4308
Extend list of CPUs defining slowcpu conditional in tmt1 and tw8177 sources
...
git-svn-id: trunk@48816 -
2021-02-26 23:39:14 +00:00
florian
2932787dee
* use SizeInt for counters in math unit, all non-32 bit targets should benefit from this
...
git-svn-id: trunk@48815 -
2021-02-26 22:47:06 +00:00
pierre
f767a4ac09
Do not add libgcc directory to library directories with -Fl option if -Xd option is used
...
git-svn-id: trunk@48814 -
2021-02-26 17:15:30 +00:00
Károly Balogh
8d0ef71e37
m68k-linux: revert maxCrecordalign to 2, as an experiment to fix some linking-against-C regressions since the alignment changes
...
git-svn-id: trunk@48809 -
2021-02-26 10:57:05 +00:00
florian
c6443809ba
+ SETcc/Mov -> SETcc optimization
...
git-svn-id: trunk@48808 -
2021-02-25 22:07:40 +00:00
florian
857cbddf04
* applied patch by Pierre to fix make cycle -Cr
...
git-svn-id: trunk@48806 -
2021-02-24 21:10:05 +00:00
marcus
53d847f268
Amiga, AROS, MorphOS: Prevent crash when access socket without TCP/IP Stack running
...
git-svn-id: trunk@48805 -
2021-02-24 19:00:58 +00:00
Jonas Maebe
cfa3f4fa8c
+ added b.cc/b.cs support to AArch64 assembler reader (mantis #38485 )
...
git-svn-id: trunk@48803 -
2021-02-24 15:40:22 +00:00
pierre
236bef961c
Patch by Gareth Moreton
...
* Fix lea optimizations which lead to more failures with -O3 and -O4 options.
- LeaLea2Lea now checks to see if the index register is in use.
- For both the base and index registers, RegUsedBetween is changed to
RegModifiedBetween, since just reading the register is harmless for the
optimisation (it finds additional optimisations in the RTL as a result).
- Because I saw the mis-optimisation with MOVZX that occurred (even
though it was due to the mis-optimisation of LEA instructions), I wrote
some extra code in OptPass2Movx as a safety measure to ensure this
doesn't happen (although no additional instances of it happening have
been noted so far - best be safe than sorry).
git-svn-id: trunk@48802 -
2021-02-24 12:58:04 +00:00
pierre
e2386ae876
* Remove obsolete -OG2p3 option for extcycle
...
+ Add extoptcycle to cycle compiler with both -dEXTDEBUG and -dDEBUG_ALL_OPT
git-svn-id: trunk@48801 -
2021-02-24 10:40:15 +00:00
pierre
63a3c25493
Add wposuffix to keep different logs for each pass when passes is > 1
...
git-svn-id: trunk@48800 -
2021-02-24 10:36:45 +00:00
Károly Balogh
0216f77819
m68k: adjusted some max alignment values for m68k-linux based on i386-linux, because the ELF loader on m68k should be able to provide the same alignments for globals
...
git-svn-id: trunk@48799 -
2021-02-24 09:20:04 +00:00