Commit Graph

53244 Commits

Author SHA1 Message Date
pierre
0a986a24e0 Fix compilation failure in erroru unit, change return type to int64, as this is a memory change which can be negative
git-svn-id: trunk@38524 -
2018-03-14 10:55:45 +00:00
michael
c3414c6100 * Add support for currency type
git-svn-id: trunk@38523 -
2018-03-14 10:54:42 +00:00
Károly Balogh
3a78ff1ee4 m68k: on setjmp/longjmp also save/restore the FPCR register when FPU support is enabled
git-svn-id: trunk@38522 -
2018-03-13 23:44:54 +00:00
pierre
cc22913a4c Modify DoMem parameter type to SizeUInt and adapt tests using this function, to avoid run time errors with range check
git-svn-id: trunk@38521 -
2018-03-13 21:59:58 +00:00
florian
b9417cc51e * missing skiplabel added, resolves #33423
git-svn-id: trunk@38520 -
2018-03-13 18:45:32 +00:00
Mattias Gaertner
7f679ad748 pastojs: version 0.9.10
git-svn-id: trunk@38519 -
2018-03-13 18:37:16 +00:00
Mattias Gaertner
b24b2ee6fc pastojs: rename overloads in interface when intf finished
git-svn-id: trunk@38518 -
2018-03-13 18:36:02 +00:00
nickysn
602dd31a45 + added a warning for using cs/ds/es/ss segment overrides in inline assembly on
the x86_64 target

git-svn-id: trunk@38517 -
2018-03-13 14:41:21 +00:00
Mattias Gaertner
fa0bf267e2 pastojs: filer: test write/read multiple pcu
git-svn-id: trunk@38516 -
2018-03-13 13:42:24 +00:00
Mattias Gaertner
8e393548cf fcl-passrc: resolver: use RootElement instead of CurrentParser
git-svn-id: trunk@38515 -
2018-03-13 13:41:37 +00:00
nickysn
daf13d8750 * print a "Cannot use local variable or parameters here" error (instead of
internal error) in case of expressions that add two local variables using the
  [expr1[expr2]] syntax

git-svn-id: trunk@38514 -
2018-03-13 12:25:54 +00:00
Mattias Gaertner
60245ee995 pastojs: version 0.9.9
git-svn-id: trunk@38513 -
2018-03-12 23:19:20 +00:00
Mattias Gaertner
e55cd25251 pastojs: fixed static array clone function
git-svn-id: trunk@38512 -
2018-03-12 23:17:13 +00:00
Mattias Gaertner
e644ef9439 pastojs: fixed compilation
git-svn-id: trunk@38511 -
2018-03-12 22:45:24 +00:00
Mattias Gaertner
1ae01bd41c pastojs: fixed empty record
git-svn-id: trunk@38510 -
2018-03-12 22:34:11 +00:00
florian
a66016026b * handle bitpacked booleans more efficiently
git-svn-id: trunk@38509 -
2018-03-12 22:05:34 +00:00
Mattias Gaertner
fe8f7a9876 pas2js: docs: property getter array element not supported
git-svn-id: trunk@38508 -
2018-03-12 16:55:54 +00:00
Mattias Gaertner
a4500faa59 pastojs: started write/read precompiled unit
git-svn-id: trunk@38507 -
2018-03-12 16:55:23 +00:00
Mattias Gaertner
74e52e0369 fcl-passrc: useanalzyer: fixed marking empty program
git-svn-id: trunk@38506 -
2018-03-12 16:54:28 +00:00
nickysn
8ecc41186d + added an x86_64 version of the tasm23.pp test
git-svn-id: trunk@38505 -
2018-03-12 16:07:39 +00:00
nickysn
79477f04b0 + added test tasm23a.pp - an i386 version of tasm23.pp
git-svn-id: trunk@38504 -
2018-03-12 15:14:03 +00:00
pierre
640f7fbf94 Add test for small records for 1 to 8 bytes in size passing to procedures
git-svn-id: trunk@38503 -
2018-03-11 22:06:29 +00:00
florian
8b0bbdcaab * fix flag subregs after r38206
git-svn-id: trunk@38502 -
2018-03-11 20:30:11 +00:00
florian
9b18e39c81 * enable Lea2AddBase and Lea2AddIndex in TX86AsmOptimizer.PostPeepholeOptLea as we have flag tracking now
* some flag allocations fixed

git-svn-id: trunk@38501 -
2018-03-11 20:30:09 +00:00
florian
d86ffb9bfb + tcg.a_op_loc_reg
+ optimized tx86addnode.second_ordinal for x86

git-svn-id: trunk@38500 -
2018-03-11 16:32:26 +00:00
florian
5fbecc5501 + use TX86AsmOptimizer.OptPass1SHLSAL on x86-64
git-svn-id: trunk@38499 -
2018-03-11 14:35:22 +00:00
florian
47927f053a * factored out TX86AsmOptimizer.OptPass1SHLSAL
git-svn-id: trunk@38498 -
2018-03-11 14:35:19 +00:00
pierre
24bf28e126 Fix compilation with -dEXTDEBUG
git-svn-id: trunk@38497 -
2018-03-10 22:05:38 +00:00
pierre
65ba2733e3 Remove overflow check that cannot happen because of types
git-svn-id: trunk@38496 -
2018-03-10 22:04:56 +00:00
pierre
ba000bec89 Generate error if CR field of F var is zero, as it leads to invalid instruction for conditional branching
git-svn-id: trunk@38495 -
2018-03-10 22:03:45 +00:00
pierre
9e3a6368cb Generate error if CR field of C var is zero, as it leads to invalid instruction for conditional branching
git-svn-id: trunk@38494 -
2018-03-10 22:02:29 +00:00
pierre
269849dd59 Update cgsize2string (EXTDEBUG only function)
git-svn-id: trunk@38493 -
2018-03-10 21:59:22 +00:00
florian
11ef1d17c2 * fix register allocation for MovOp2Op and PushPushPopPop2MovMov
* fix MovOp2Op for ST/STS
* fix register book keeping for MovMov2Movw

git-svn-id: trunk@38492 -
2018-03-10 21:53:55 +00:00
florian
9fc0f28ae4 * handle movw in TCpuAsmOptimizer.RegInInstruction
git-svn-id: trunk@38491 -
2018-03-10 21:53:54 +00:00
florian
ee252d0ecd + allocate real registers properly in tcgavr
git-svn-id: trunk@38490 -
2018-03-10 21:53:52 +00:00
florian
61660375ce + AVR PeepHoleOptPass1Cpu makes use of TAOptObj.RemoveCurrentP to track register usage properly
git-svn-id: trunk@38489 -
2018-03-10 21:53:50 +00:00
florian
ae950956af + TAOptObj.*PeepHoleOpts* check if p is really assigned
+ TAOptObj.RemoveCurrentP

git-svn-id: trunk@38488 -
2018-03-10 21:53:48 +00:00
florian
63ffb02b34 + Mov2Nop
git-svn-id: trunk@38487 -
2018-03-10 21:53:46 +00:00
florian
93a0cef65d * improved OpCp2Op
git-svn-id: trunk@38486 -
2018-03-10 21:53:45 +00:00
florian
52cb8fbb98 + AddAdc2Add
+ SubSbc2Sub

git-svn-id: trunk@38485 -
2018-03-10 21:53:43 +00:00
florian
3a81ccf48b * simplify tcgavr.a_op_reg_reg_internal
git-svn-id: trunk@38484 -
2018-03-10 21:53:41 +00:00
Mattias Gaertner
526e82d6ca pastojs: test -Fu
git-svn-id: trunk@38483 -
2018-03-10 13:26:25 +00:00
Mattias Gaertner
489fec9ac5 pastojs: fixed ExpandFilename to use BaseDirectory
git-svn-id: trunk@38482 -
2018-03-10 13:26:00 +00:00
Mattias Gaertner
7e39a5031d pastojs: check invalid -Jc value
git-svn-id: trunk@38481 -
2018-03-10 13:25:28 +00:00
florian
5e200cad89 * write correct proc name when giving a hint that a procedure is not inlined.
git-svn-id: trunk@38480 -
2018-03-10 10:39:10 +00:00
Mattias Gaertner
787b2a2e05 pastojs: filer: class in other unit
git-svn-id: trunk@38479 -
2018-03-10 10:17:33 +00:00
Mattias Gaertner
b2e21f4c4a fcl-passrc: DotExprToName added pekString
git-svn-id: trunk@38478 -
2018-03-10 10:16:55 +00:00
michael
4cb57d0773 * Patch from Christian Ulrich, to allow using data from other report data sources
git-svn-id: trunk@38477 -
2018-03-09 16:27:39 +00:00
nickysn
5a47ccc585 * updated test tasm23.pp, so that it checks the generated code
git-svn-id: trunk@38476 -
2018-03-09 15:45:41 +00:00
nickysn
c0b7aec2c4 * fix inline assembly of segment:localvar with the internal asm writer on x86
git-svn-id: trunk@38475 -
2018-03-09 15:36:59 +00:00