Commit Graph

45811 Commits

Author SHA1 Message Date
florian
34c7f45637 + simple Move and FillChar pascal implementations for AVR
git-svn-id: trunk@30558 -
2015-04-12 18:06:05 +00:00
michael
56715d5d00 * Fix bug #27832
git-svn-id: trunk@30557 -
2015-04-12 17:34:13 +00:00
florian
1f20a52c85 * fix typo in comparison with constant code
git-svn-id: trunk@30556 -
2015-04-12 15:42:40 +00:00
michael
81fa382c42 * Rename WriteExceptionToStdErr -> WriteErrorsToStdErr
git-svn-id: trunk@30555 -
2015-04-12 15:37:46 +00:00
florian
bd803769b8 * fix compilation
git-svn-id: trunk@30554 -
2015-04-12 14:58:41 +00:00
nickysn
b0634d2cb3 * set svn mime type=text/plain and eol style=native to the *.cod files in the h2pas directory
git-svn-id: trunk@30553 -
2015-04-12 14:42:06 +00:00
michael
94e57aa463 * Moved WriteExceptionToStdErr to system unit, so it is observed even in absence of sysutils (bug ID 27708)
git-svn-id: trunk@30551 -
2015-04-12 13:58:49 +00:00
michael
4769a5407c * Rework header treatment, deprecated some calls/properties
git-svn-id: trunk@30550 -
2015-04-12 08:24:24 +00:00
florian
9559dabe51 * function result is in r24:r25
git-svn-id: trunk@30549 -
2015-04-11 21:25:05 +00:00
florian
e34bd746ed * patch by Jeppe Johanse to take care of the fact that push is post-decrement on avr
git-svn-id: trunk@30548 -
2015-04-11 20:59:27 +00:00
florian
886e3e8d02 * disable several complex procedures for avr with a newly introduced define: EXCLUDE_COMPLEX_PROCS. They
might compile with an improved register allocator in the future

git-svn-id: trunk@30546 -
2015-04-11 14:43:39 +00:00
florian
1ef7e36f3c * some fixes for handling parameters passed on the stack
git-svn-id: trunk@30545 -
2015-04-11 13:56:21 +00:00
florian
90e4581814 * update revision.inc
git-svn-id: trunk@30544 -
2015-04-11 13:55:26 +00:00
florian
276d97f653 * generate better code for comparisons with constants
git-svn-id: trunk@30543 -
2015-04-11 13:52:29 +00:00
florian
e0b27e1688 * unified typing and ppu reading/writing of setdef fields regarding aint/asizeint
git-svn-id: trunk@30542 -
2015-04-11 11:36:01 +00:00
florian
4b7ae00620 * fixes several issues with parameter handling on avr
git-svn-id: trunk@30541 -
2015-04-11 11:13:20 +00:00
florian
03fa8336de o several avr fixes
* handle function result of FPC_MUL_WORD correctly
  * use mov ...,r1 to load a register with zero instead of clr ..., this might enable the register allocator to 
    coalesce these moves in the feature
  * use tst/dec instead of cpi/sub in the shifting loops, this reduces register pressure on r16 and higher

git-svn-id: trunk@30540 -
2015-04-11 11:08:01 +00:00
Károly Balogh
1877ce5d07 rtl-console/amicommon: trying harder to not break this for AROS.
git-svn-id: trunk@30539 -
2015-04-11 01:55:01 +00:00
Károly Balogh
e6a73ed531 rtl-console/amicommon: use a friend bitmap to store our font for BltTemplate. This fixes IDE rendering on classic chipsets (AGA/ECS), because previously the blit source wasn't in Chip RAM. Disabled for AROS, because the bitmap poking seems to crash there. improvements welcomed.
git-svn-id: trunk@30538 -
2015-04-11 01:52:50 +00:00
Károly Balogh
363a24a038 amunits/morphunits: more planeptr type fixes
git-svn-id: trunk@30537 -
2015-04-11 00:08:05 +00:00
Károly Balogh
7e7f85c20a amunits/morphunits: fixes regarding planeptr to match the AROS units (and checked against the original headers)
git-svn-id: trunk@30536 -
2015-04-10 23:29:16 +00:00
florian
315d7d9725 + do_spill_replace for avr
git-svn-id: trunk@30535 -
2015-04-10 22:14:36 +00:00
florian
f95d5e0de6 + support 8 locations in gen_load_cgpara_loc
git-svn-id: trunk@30534 -
2015-04-10 20:33:11 +00:00
florian
6c19c18bc9 + support 8 locations in splitparaloc64
git-svn-id: trunk@30533 -
2015-04-10 20:32:22 +00:00
lacak
b5bac61409 fcl-db: sdfdataset: fix seting null value to Field, Buffer=nil
git-svn-id: trunk@30532 -
2015-04-10 07:04:53 +00:00
lacak
c8f610282d fcl-db: sdfdataset: fix seting/geting calculated fields. Offset is calculated using DataSize not Size and they should be stored in internal representation used by TField
git-svn-id: trunk@30531 -
2015-04-10 06:51:40 +00:00
lacak
2afe3138ff fcl-db: sdfdataset: fix Append vs. Insert + test
git-svn-id: trunk@30530 -
2015-04-10 06:11:23 +00:00
lacak
e846457d38 fcl-db: sdfdataset: fix RecordCount for closed dataset with headers + test
git-svn-id: trunk@30529 -
2015-04-10 05:33:13 +00:00
nickysn
3dd914a7b9 + write the proper external symbol index in the omf FIXUPP records. WLink no
longer crashes when processing our obj files :)

git-svn-id: trunk@30528 -
2015-04-09 23:33:22 +00:00
nickysn
d8f04418be + write EXTDEF records in the omf output file
git-svn-id: trunk@30527 -
2015-04-09 23:27:45 +00:00
nickysn
fd9e0d7266 * i8086 binary writer fixes for asm codes 0320..0322
git-svn-id: trunk@30526 -
2015-04-09 23:10:47 +00:00
nickysn
db5276af61 * i8086 binary writer fixes for asm codes 0300..0302
git-svn-id: trunk@30525 -
2015-04-09 22:56:47 +00:00
nickysn
0aa8e9d829 + i8086 fixes in the binary writer for asm codes 0310 and 0311
git-svn-id: trunk@30524 -
2015-04-09 22:47:21 +00:00
nickysn
8597208ed9 * fixed emitting a 66h prefix for push/pop of segment registers on i8086 in the internal asm writer
git-svn-id: trunk@30523 -
2015-04-09 22:01:24 +00:00
florian
a4c7103033 * remove useless mov instructions
git-svn-id: trunk@30522 -
2015-04-09 21:57:02 +00:00
nickysn
ff20a3c7bc + support 16-bit addresses for codes 36..38 in the internal asm writer on i8086
git-svn-id: trunk@30521 -
2015-04-09 21:16:22 +00:00
florian
ef2e2c5033 * assign registers for parameters correctly, resolves #27804
git-svn-id: trunk@30520 -
2015-04-09 20:39:18 +00:00
florian
6a032bee1b * improved code generation for a_load_const_reg and a_op_const_reg
git-svn-id: trunk@30519 -
2015-04-09 20:38:19 +00:00
florian
061a1aacf3 * named class properly
git-svn-id: trunk@30518 -
2015-04-09 20:36:47 +00:00
florian
9af36c2257 * several fixes for spilling_get_operation_type
git-svn-id: trunk@30517 -
2015-04-09 20:33:40 +00:00
nickysn
8a831f4c7f * always clear segments and groups in the beginning of TOmfObjOutput.writeData, because the same objects is used for creating multiple object files
git-svn-id: trunk@30516 -
2015-04-09 15:42:29 +00:00
nickysn
f66d8cfb7f * create normal object files, instead of using the internal "ar" writer in TInternalAssembler.writetreesmart in case the af_needar flag is set on an internal assembler
git-svn-id: trunk@30515 -
2015-04-09 14:50:22 +00:00
nickysn
7ecb7f83e9 + create omf fixups for external symbols (external symbol index not set yet)
git-svn-id: trunk@30514 -
2015-04-09 13:56:55 +00:00
lacak
5ba4a65fe3 fcl-db: sdfdataset: better RecNo testing.
git-svn-id: trunk@30513 -
2015-04-09 13:56:53 +00:00
nickysn
e1ae2d9387 + create a symbol relocation for external symbols in TOmfObjData.writeReloc
git-svn-id: trunk@30512 -
2015-04-09 13:48:56 +00:00
nickysn
fb234e2149 + check record type in TOmfRecord_COMENT.DecodeFrom
git-svn-id: trunk@30511 -
2015-04-09 13:08:45 +00:00
nickysn
713f12f3f3 + implemented TOmfRecord_GRPDEF.DecodeFrom
git-svn-id: trunk@30510 -
2015-04-09 12:45:47 +00:00
lacak
ab689edadb fcl-db: sdfdataset: SetRecNo should take into account FDataOffset (aka FirstLineAsSchema). Revealed by TestSetRecNo.
git-svn-id: trunk@30509 -
2015-04-09 11:38:40 +00:00
lacak
db4d95be64 fcl-db: sdfdataset: InternalPost should call inherited InternalPost, not UpdateRecord
git-svn-id: trunk@30508 -
2015-04-09 09:05:00 +00:00
lacak
befb6ae1ea fcl-db: sdfdataset: fix false negative test TestInsertOnEmptyDataset. By signal in previous test, that test dataset is changed, so it can be restored to original state after test completion (ResetNDatasets).
git-svn-id: trunk@30507 -
2015-04-09 08:25:53 +00:00