paul
e181fbc327
utils: clean rsj files by delp
...
git-svn-id: trunk@26485 -
2014-01-17 02:24:37 +00:00
paul
13a0b21031
rstconv: fixed memory leak
...
git-svn-id: trunk@26484 -
2014-01-17 02:15:35 +00:00
nickysn
34cf432600
* in the generic implementation of fpc_mul_int64, fallback directly to
...
fpc_mul_qword directly in case overflow checking is not used
git-svn-id: trunk@26483 -
2014-01-17 01:25:41 +00:00
florian
e210d5f30e
+ cpu_capabilites for x86_64 and i386
...
* take advantage of bmi2 instruction rorx
git-svn-id: trunk@26482 -
2014-01-16 21:47:28 +00:00
sergei
75894722d4
* Factored a reusable piece of code into separate method.
...
git-svn-id: trunk@26481 -
2014-01-16 16:43:06 +00:00
marco
373e450dbc
* more android fixes for sockets unit, mantis #25528
...
git-svn-id: trunk@26480 -
2014-01-16 14:24:42 +00:00
paul
71fbba2b1e
utils: parse .rsj file by rstconv tool
...
git-svn-id: trunk@26479 -
2014-01-16 13:57:33 +00:00
paul
e7636cd6e6
compiler: fix a bug in .rsj output and enable it by default
...
git-svn-id: trunk@26478 -
2014-01-16 13:57:08 +00:00
paul
3aec5da7a7
compiler: use widestrings for json resource file generation
...
git-svn-id: trunk@26477 -
2014-01-16 12:07:26 +00:00
michael
d7fb3be2af
* Patch from reinier (bug id 25544)
...
git-svn-id: trunk@26476 -
2014-01-16 10:49:55 +00:00
paul
3bd53b9658
compiler: add a method for generating json files for resource strings (for experiments only now)
...
git-svn-id: trunk@26475 -
2014-01-16 09:26:53 +00:00
Jonas Maebe
8065fc24d9
* fixed indentation of stack slot allocation debug statements
...
git-svn-id: trunk@26474 -
2014-01-15 20:36:59 +00:00
Jonas Maebe
2518c526c7
* always use a new register for array indices modified by a constant,
...
improves register/stack allocation
git-svn-id: trunk@26473 -
2014-01-15 20:36:56 +00:00
Jonas Maebe
a5653916e0
* convert array indices always to s32int, because that is the index type used
...
by java arrays (otherwise we may get unwanted sign extensions after
performing e.g. an s16bit operation, see the test)
git-svn-id: trunk@26472 -
2014-01-15 20:36:52 +00:00
Jonas Maebe
67413a2823
* fixed skpara setter of tprocdef after r26332
...
git-svn-id: trunk@26471 -
2014-01-15 20:36:49 +00:00
marco
a16543e81f
* some delphi compatible overloads by Ocean, mantis #25519
...
git-svn-id: trunk@26469 -
2014-01-15 16:18:21 +00:00
sergei
c673c32ad9
+ SPARC: generate position-independent case jump tables, as specified by ABI.
...
Generate them also for non-PIC mode: absolute code is just 2 instructions shorter, trying to save them is probably not worth the effort.
git-svn-id: trunk@26468 -
2014-01-15 15:31:53 +00:00
sergei
dd78cd5811
+ SPARC: assembler implementation of SarInt64.
...
git-svn-id: trunk@26467 -
2014-01-15 15:11:40 +00:00
Károly Balogh
b398430b4c
* get_volatile_registers* now defines proper volatile register range for all cases using the pre-defined values
...
* removed the two huge and ugly case switches while parsing Amiga-specific paralocs, using a simple unified function now
git-svn-id: trunk@26466 -
2014-01-15 02:49:03 +00:00
Károly Balogh
587acf6452
fix infinite spilling on m68k, patch by Florian, additional IE workaround by me, based on a similar hack in the ARM cg...
...
git-svn-id: trunk@26465 -
2014-01-15 02:09:02 +00:00
Károly Balogh
70f9b098e0
no longer define a segment field for m68k
...
git-svn-id: trunk@26464 -
2014-01-15 02:06:10 +00:00
Károly Balogh
80b253c111
be consistent in naming. renamed VOLATILE_ADDRESSREGISTER to VOLATILE_ADDRESSREGISTERS
...
git-svn-id: trunk@26463 -
2014-01-15 01:31:41 +00:00
Károly Balogh
b37ebeaabd
disabled a_loadaddr_ref_cgpara() for m68k, this code was copy-pasted from x86 probably and could never work properly as it is
...
git-svn-id: trunk@26462 -
2014-01-15 01:27:02 +00:00
pierre
2a6e592fba
Handle link map for msdos wlink
...
git-svn-id: trunk@26461 -
2014-01-14 21:40:02 +00:00
Jonas Maebe
ca446b4b2a
- removed registration of x86_6432 target because it's not supported in any
...
way by the compiler (and furthermore it would have to be registerd in an
the x86_64 compiler binary, not an i386 one) (mantis #25525 )
git-svn-id: trunk@26460 -
2014-01-14 20:37:18 +00:00
Jonas Maebe
5fc4af09dd
* don't crash when searching for a type helper in an anonymous array (or
...
other non-record/objectdef-based) type (mantis #25504 )
git-svn-id: trunk@26459 -
2014-01-14 19:52:20 +00:00
Jeppe Johansen
123742647c
Fixed problem in estimation of stack size for thumb targets. Types passed by value were not handled properly.
...
git-svn-id: trunk@26458 -
2014-01-14 19:27:15 +00:00
svenbarth
6273192ce1
+ Add a new overload to DynLibs to allow loading by Ordinal only. This needs specific operating system support however and will return Nil (using a default implementation) if ordinals are not supported.
...
+ Implement overload for the three supported Windows targets.
git-svn-id: trunk@26457 -
2014-01-14 15:23:55 +00:00
marco
194abaddb4
* copy osdefs.inc from Linux. RTL included Linux dir, package does not.
...
git-svn-id: trunk@26456 -
2014-01-14 14:52:01 +00:00
pierre
baf79eb12b
Recompiled with pic option
...
git-svn-id: trunk@26455 -
2014-01-13 23:07:56 +00:00
pierre
d492b3d17d
crtbeginS.o seems to use _init, not __init
...
git-svn-id: trunk@26454 -
2014-01-13 23:04:54 +00:00
pierre
9833faeb0a
Fix loading of __progname_storage+255
...
git-svn-id: trunk@26453 -
2014-01-13 23:03:51 +00:00
pierre
fdb3525d9f
crtbeginS.o seems to use _init, not __init
...
git-svn-id: trunk@26452 -
2014-01-13 23:02:06 +00:00
pierre
9303231220
Remove objects from RTL unit list for netbsd
...
git-svn-id: trunk@26451 -
2014-01-13 22:23:24 +00:00
Jonas Maebe
5d389e99fd
* always use the *W version of the Windows API in ExtractShortPathName() so
...
it works correctly regardless of white kind of string is passed in
(and return a string encoded in DefaultRTLFileSystemCodePage)
git-svn-id: trunk@26450 -
2014-01-13 22:21:09 +00:00
masta
fb52392e20
Reformat and comment is_thumb32_imm
...
I've just regrouped the conditions a bit for easier understanding. No
functional changes.
git-svn-id: trunk@26449 -
2014-01-13 21:32:28 +00:00
masta
3ab665e554
Try to split constant XORs into two shiftimms on ARM.
...
git-svn-id: trunk@26448 -
2014-01-13 21:32:24 +00:00
nickysn
aec73bce68
* pass the overflow check flag correctly to the 32 and 16-bit mul helpers (on
...
i8086 and AVR) according to whether overflow checking is enabled (instead of
always passing 'false')
git-svn-id: trunk@26445 -
2014-01-13 00:45:12 +00:00
pierre
291124489f
Use scripted version of wlib for go32v2 msdos smart library creation
...
git-svn-id: trunk@26444 -
2014-01-12 23:21:16 +00:00
pierre
e87e2f9c30
Print out command line before running it with -vx option
...
git-svn-id: trunk@26443 -
2014-01-12 23:06:19 +00:00
pierre
bef22b2a6f
Add scripted version of wlib call for msdos
...
git-svn-id: trunk@26442 -
2014-01-12 22:47:27 +00:00
florian
fe7238bdf1
* avoid compiler warning about uninitialized variable
...
git-svn-id: trunk@26441 -
2014-01-12 21:21:56 +00:00
florian
b90db73fbc
* fixed test
...
git-svn-id: trunk@26440 -
2014-01-12 20:17:59 +00:00
florian
98e5dead27
* moved comments in from of fields for better readability
...
git-svn-id: trunk@26439 -
2014-01-12 20:17:56 +00:00
florian
6e63272ab7
* added missing parenthesis
...
git-svn-id: trunk@26438 -
2014-01-12 20:17:54 +00:00
florian
15df4a4f80
+ support iso pascal like program parameters in iso mode
...
git-svn-id: trunk@26437 -
2014-01-12 20:17:51 +00:00
florian
e841027a48
* fixes handling of typed files in iso mode
...
git-svn-id: trunk@26436 -
2014-01-12 20:17:48 +00:00
florian
e6a9e385d3
* spelling fixed
...
git-svn-id: trunk@26435 -
2014-01-12 20:17:44 +00:00
florian
523b2dfa26
* deactive debugging defines again after r26427
...
git-svn-id: trunk@26434 -
2014-01-12 18:45:35 +00:00
sergei
720b9bf560
* SPARC: reworked 64-bit comparisons so their result is always in flags. Comparisons are emitted as subtractions, sides are optionally swapped to avoid using Z flag (since it is not set correctly in multi-word subtraction). This generates significantly shorter code: when both sides are in registers it is just 3 instructions for equal/unequal and 2 instructions otherwise.
...
git-svn-id: trunk@26433 -
2014-01-12 15:11:47 +00:00