Commit Graph

53993 Commits

Author SHA1 Message Date
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
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
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
Mattias Gaertner
1a9c7021e4 pastojs: fixed mem leaks
git-svn-id: trunk@39458 -
2018-07-16 21:48:43 +00:00
Mattias Gaertner
013e75408a fcl-passrc: fixed mem leaks and double releases
git-svn-id: trunk@39456 -
2018-07-16 15:51:35 +00:00
Mattias Gaertner
6d9cac3d1c pastojs: clean up
git-svn-id: trunk@39454 -
2018-07-15 22:27:49 +00:00
Mattias Gaertner
127c3eccb8 fcl-passrc: fixed some mem leaks
git-svn-id: trunk@39453 -
2018-07-15 22:27:23 +00:00
michael
53e10c99d4 * Fix bug #33984, fix for correct string definition in unicodestringreplace
git-svn-id: trunk@39452 -
2018-07-14 16:27:52 +00:00
michael
b5aa9fd20a * Remove BOM marker, it confuses fpdoc
git-svn-id: trunk@39451 -
2018-07-14 16:22:50 +00:00
michael
b417ab799d * Simplifications and slight enhancements, as suggested by AlexeyT (bug ID 33981)
git-svn-id: trunk@39450 -
2018-07-14 08:26:46 +00:00
michael
f6867cbd63 * Patch by Cyrax to allow creating map file on linux (bug ID 33982)
git-svn-id: trunk@39449 -
2018-07-14 08:12:38 +00:00
florian
6a150cdd75 * disable optimizations for proper warning
git-svn-id: trunk@39448 -
2018-07-13 21:00:34 +00:00
florian
93c5eae528 * accept dereferences in generics definitions, resolves #33700 properly
git-svn-id: trunk@39447 -
2018-07-13 21:00:33 +00:00
florian
52846df241 * fixed condition in getbestreal
git-svn-id: trunk@39446 -
2018-07-13 19:53:47 +00:00
michael
7d0fc1cbc9 * Test bug #32348, change button to menu item
git-svn-id: trunk@39445 -
2018-07-13 07:31:20 +00:00
michael
6568dea8a9 * Fix bug #0033623, add parameters to UnixToDateTime/DateTimeTounix to return/accept UTC
git-svn-id: trunk@39444 -
2018-07-13 07:23:08 +00:00
florian
0c6cf12fbf + support for the directive $EXCESSPRECISION
git-svn-id: trunk@39443 -
2018-07-12 21:39:50 +00:00
Jeppe Johansen
3e2be29030 Make sure to align at the end of the .text, in case .data bytes will be placed there in flash.
git-svn-id: trunk@39442 -
2018-07-12 18:52:19 +00:00
nickysn
374a8281e7 + added unit ports for win16
git-svn-id: trunk@39441 -
2018-07-12 14:24:46 +00:00
Mattias Gaertner
21d4e5a1ed fcl-passrc: resolver: nicer error message when reading a writeonly property
git-svn-id: trunk@39440 -
2018-07-11 23:05:52 +00:00
Mattias Gaertner
b11c5943b0 pastojs: fixed mem leaks
git-svn-id: trunk@39439 -
2018-07-11 21:34:30 +00:00
Mattias Gaertner
c7e07a792c fcl-passrc: fixed free loop
git-svn-id: trunk@39438 -
2018-07-11 21:34:15 +00:00
Mattias Gaertner
620888b54e fcl-js: fixed warnings
git-svn-id: trunk@39437 -
2018-07-11 21:33:43 +00:00
joost
b2e349cecf * Added the declaration of some basic BN_* methods
* Removed a warning

git-svn-id: trunk@39436 -
2018-07-11 19:18:40 +00:00
joost
c8e4f5aaa8 * Fixed reading error messages
* Fixed RSA_generate_key_ex declaration

git-svn-id: trunk@39435 -
2018-07-11 17:11:00 +00:00
nickysn
a8f466c400 * updated the CSeg, DSeg and SSeg rtl functions on i8086 to use the new x86
intrinsics for reading the segment registers

git-svn-id: trunk@39434 -
2018-07-11 14:34:05 +00:00
nickysn
9272bf59b2 + added x86 (i8086, i386 and x86_64) intrinsics fpc_x86_get_cs/ss/ds/es/fs/gs
for getting the value of x86 segment registers

git-svn-id: trunk@39433 -
2018-07-11 14:19:40 +00:00
Mattias Gaertner
dd32f877ed fcl-passrc: resolver TGuidString = type string
git-svn-id: trunk@39432 -
2018-07-10 15:25:52 +00:00