marco
0060a3560f
* Renamed intruncommand to RunCommandLoop.
...
* Added some events for basic parameterization.
git-svn-id: trunk@39517 -
2018-07-28 15:42:25 +00:00
marco
70c09d86a8
* body of runcommand to TProcess class. If more flexibility is added to this function (onevent properties called in the loop), it becomes easier to run your own with slightly different features.
...
git-svn-id: trunk@39516 -
2018-07-28 13:59:21 +00:00
michael
b4ce6f42f9
* Undid patch for bug #33918 (r39321)
...
git-svn-id: trunk@39515 -
2018-07-28 09:48:43 +00:00
marco
d00647bb31
* fix typo-gotcha probably introduced by an accidental save in the IDE after testing. Thanks to Karoly for reporting.
...
git-svn-id: trunk@39514 -
2018-07-27 18:16:50 +00:00
marco
66a1911d97
* ReadInputStream factored out, analogous as suggested in mantis #32541 .
...
Next step: make runcommand a method.
git-svn-id: trunk@39513 -
2018-07-27 16:23:37 +00:00
florian
dc3830d78d
* integer and float registers do not overlay on Risc-V
...
git-svn-id: branches/laksen/riscv_new@39512 -
2018-07-26 20:57:01 +00:00
florian
44150f43ac
* RISC-V 32 compilation fixed
...
+ lazarus project file for the compiler added
git-svn-id: branches/laksen/riscv_new@39511 -
2018-07-26 19:18:47 +00:00
florian
14bfcbb0da
* compiled the calling convention test files by riscv64-linux-gnu-gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0
...
with -O3
git-svn-id: branches/laksen/riscv_new@39508 -
2018-07-24 21:11:52 +00:00
Mattias Gaertner
2b02473103
pastojs: changed logo
...
git-svn-id: trunk@39507 -
2018-07-24 15:47:18 +00:00
Mattias Gaertner
a479b4ad9e
pas2js: clean up
...
git-svn-id: trunk@39506 -
2018-07-24 05:38:49 +00:00
Mattias Gaertner
fc49471729
pas2js: -vd writes stacktrace
...
git-svn-id: trunk@39505 -
2018-07-24 05:37:59 +00:00
michael
a0b4569d98
* Version 1.1.1 for pas2js trunk
...
git-svn-id: trunk@39504 -
2018-07-23 20:02:02 +00:00
Jeppe Johansen
d32d158b4d
Regenerated utils makefiles.
...
git-svn-id: branches/laksen/riscv_new@39496 -
2018-07-23 12:25:52 +00:00
Jeppe Johansen
49dae7e900
Fixed the elfreader, so it correctly reads the riscv type.
...
Set the default machineflag to rvc+rvf+rvd.
git-svn-id: branches/laksen/riscv_new@39495 -
2018-07-23 12:18:33 +00:00
Jeppe Johansen
27ab039366
Fixed _fini and _init references in cprt0.as
...
Add RiscV to fcl-res and fpcres.
Check that constant is a valid imm12 when doing overflow checking.
git-svn-id: branches/laksen/riscv_new@39494 -
2018-07-23 11:40:55 +00:00
Jeppe Johansen
a8c82856b1
Fixed missing maybeadjust calls after not operation.
...
git-svn-id: branches/laksen/riscv_new@39493 -
2018-07-23 10:20:32 +00:00
Jeppe Johansen
b98eb3daa9
Changed order in stack unravelling RTL code, to match the most common cases.
...
Fixed unsigned conditions for branch conditions.
Added some additional const loading cases.
Changed the temporary register used during calls because it could otherwise clash with the argument passing registers.
git-svn-id: branches/laksen/riscv_new@39492 -
2018-07-23 01:11:31 +00:00
florian
f3b7e3281a
* fix int to real for non-register locations
...
git-svn-id: branches/laksen/riscv_new@39491 -
2018-07-22 20:48:15 +00:00
florian
f48203b66f
* generate no uleb with differences for line information
...
git-svn-id: branches/laksen/riscv_new@39490 -
2018-07-22 19:43:47 +00:00
Jeppe Johansen
c6b27bc225
Fix shift operations on 32bit operands.
...
git-svn-id: branches/laksen/riscv_new@39489 -
2018-07-22 19:25:46 +00:00
florian
269069f5db
* empty dummy object files
...
git-svn-id: branches/laksen/riscv_new@39488 -
2018-07-22 18:43:07 +00:00
Jeppe Johansen
6d9a0fdc73
Added implementation of InstructionLoadsFromReg.
...
Fixed spilling_get_operation_type_ref, no mem operation modifies ref registers.
git-svn-id: branches/laksen/riscv_new@39487 -
2018-07-22 18:38:07 +00:00
Jeppe Johansen
a906feb05e
Fixed bug in peephole optimizer.
...
git-svn-id: branches/laksen/riscv_new@39486 -
2018-07-22 16:58:10 +00:00
Jeppe Johansen
2499129ba5
Pass aggregates larger than 2*XLEN as a reference.
...
Fix load_reg_reg and make it do proper type conversions.
Added maybeadjust to tcgrv.
git-svn-id: branches/laksen/riscv_new@39485 -
2018-07-22 14:15:29 +00:00
florian
9776ea2afe
* SLTIU -> SLTU
...
git-svn-id: branches/laksen/riscv_new@39484 -
2018-07-22 13:55:53 +00:00
florian
32a58ba7d1
* might_have_sideeffects gets flags: if mhs_exceptions is passed, nodes which might cause an exception are considered as having a side effect
...
git-svn-id: branches/laksen/riscv_new@39483 -
2018-07-22 13:11:21 +00:00
florian
65a415c13e
* fix assembling with official binutils
...
* fix compilation on 32 bit hosts
+ compile with -Sew
git-svn-id: branches/laksen/riscv_new@39482 -
2018-07-22 13:10:24 +00:00
Jeppe Johansen
054bf32f1f
Add RV64GC cpu type.
...
Fix float loading.
Fix a number of small issues with wrong operand sizes.
Fixed concatcopy code generation.
Align jump table for case statements.
git-svn-id: branches/laksen/riscv_new@39481 -
2018-07-21 22:34:42 +00:00
marco
a94205280c
* fixes mantis 34008, some copy paste errors in -A and -W suffixes.
...
Note that the enumfont* functions seem to use the var prototypes, while only redef functions should use them. Probably not worth breaking compat for though (in since 2016)
git-svn-id: trunk@39480 -
2018-07-21 12:29:18 +00:00
Jeppe Johansen
768fc2ea4b
Added overflow checking in for add instructions.
...
git-svn-id: branches/laksen/riscv_new@39479 -
2018-07-20 15:34:22 +00:00
Jeppe Johansen
dcb0f4fdb5
Fixed setjmp that overwrote a callee save register.
...
Disable relaxation for the gp load part of the prt0 code.
Fixed up some syscall definitions.
git-svn-id: branches/laksen/riscv_new@39478 -
2018-07-20 15:00:14 +00:00
Mattias Gaertner
d0baf0577d
pastojs: fixed TObject.Create()
...
git-svn-id: trunk@39477 -
2018-07-20 14:17:44 +00:00
Jeppe Johansen
2aaf481d89
Regenerated makefiles.
...
git-svn-id: branches/laksen/riscv_new@39476 -
2018-07-20 10:40:57 +00:00
Jeppe Johansen
6352328f3a
Update packages with information about RiscV.
...
Fix g_external_wrapper, since it uses a register.
Fixed calling of gas.
Ported cprt0.
git-svn-id: branches/laksen/riscv_new@39475 -
2018-07-20 10:40:28 +00:00
Jeppe Johansen
ceb38833f2
Added RiscV32/64 target, from a cleaned up version of branches/laksen/riscv/trunk.
...
git-svn-id: branches/laksen/riscv_new@39474 -
2018-07-20 08:21:15 +00:00
Jeppe Johansen
2b663392f0
New branch for RiscV work.
...
git-svn-id: branches/laksen/riscv_new@39473 -
2018-07-20 06:41:37 +00:00
nickysn
42432d4ef3
* use sizeuinttype, instead of ptruinttype for the indexdef conversion in
...
tcgvecnode.pass_generate_code. This avoids a meaningless conversion to 32-bit
(and using the cwd instruction) on i8086 in the far data memory models.
git-svn-id: trunk@39472 -
2018-07-19 15:27:14 +00:00
michael
0e6b9951ee
* Fix bug ID #21594 , wrong firstrecord when a data link is destroyed and buffercount changed.
...
git-svn-id: trunk@39471 -
2018-07-18 12:57:00 +00:00
michael
270cf0ed06
* Fix bug #18672 , using improved patch of Laco
...
git-svn-id: trunk@39470 -
2018-07-18 12:23:04 +00:00
michael
3acdf481c2
* Fix bug #34001 : wrong stream length for compressed text
...
git-svn-id: trunk@39469 -
2018-07-18 12:10:23 +00:00
michael
2cf8a9661f
* Additional fixes for strikethrough/linecap, plus example
...
git-svn-id: trunk@39468 -
2018-07-18 12:03:07 +00:00
michael
a113501901
* Patch from Petr-K to fix underline and strikethrough (Bug ID 34000)
...
git-svn-id: trunk@39467 -
2018-07-18 11:50:35 +00:00
michael
e54474dd28
* Patch from Petr-K to allow setting line cap style (bug ID 33999)
...
git-svn-id: trunk@39466 -
2018-07-18 11:46:10 +00:00
svenbarth
38c30a557d
* deprecate MaxGListSize; it's no longer used by the generic types
...
git-svn-id: trunk@39465 -
2018-07-17 19:30:29 +00:00
svenbarth
2ec7a5acff
* change declaration of TTypeList from a static array to a pointer to T as the static array might breach the
...
limits for static arrays if the used type is too large (especially on 32-bit systems); as FPC supports indexing
of typed pointers like arrays this should be mostly backwards compatible
git-svn-id: trunk@39464 -
2018-07-17 19:30:26 +00:00
Mattias Gaertner
4976f55aa4
pastojs: version 0.9.32
...
git-svn-id: trunk@39463 -
2018-07-17 07:17:05 +00:00
Mattias Gaertner
acea898d9c
pastojs: fixed mem leak
...
git-svn-id: trunk@39462 -
2018-07-17 07:10:15 +00:00
Mattias Gaertner
4b973bf22d
fcl-passrc: fixed double free
...
git-svn-id: trunk@39461 -
2018-07-17 07:10:04 +00:00
Mattias Gaertner
61c36a008a
fcl-passrc: fixed mem leaks
...
git-svn-id: trunk@39460 -
2018-07-17 05:33:11 +00:00
Mattias Gaertner
14af86bd1c
pastojs: fixed mem leaks
...
git-svn-id: trunk@39459 -
2018-07-17 04:46:35 +00:00