Commit Graph

31517 Commits

Author SHA1 Message Date
Jonas Maebe
090f2a6108 * defined "class of TAsmOptimizer" as separate type to avoid tripping
Lazarus'  code navigation

git-svn-id: trunk@14411 -
2009-12-11 21:48:58 +00:00
marco
8a4139e266 * gsize,gssize changed to types that scale with 64-bit as per mantis 15318
git-svn-id: trunk@14408 -
2009-12-11 21:44:55 +00:00
pierre
97a7e4b233 + describe new option NEEDEDAFTER
git-svn-id: trunk@14406 -
2009-12-11 19:30:54 +00:00
pierre
a440104065 + NEEDEDAFTER to avoid deleting created files if needed for another test
git-svn-id: trunk@14405 -
2009-12-11 19:27:14 +00:00
pierre
b60517b2fb * Avoid to have cg directory twice
git-svn-id: trunk@14404 -
2009-12-11 16:33:38 +00:00
pierre
9b703628bb + Add solaris/x86_64 c objects
git-svn-id: trunk@14403 -
2009-12-11 15:44:08 +00:00
Jonas Maebe
f2c0190aa3 * treat parameters that are passed in registers as register operands in the
x86 intel assembler reader (patch by Sergei Gorelkin, mantis #6851)

git-svn-id: trunk@14402 -
2009-12-11 13:33:05 +00:00
pierre
e67307aa66 * New constant system_needs_16_byte_stack_alignment
defined in system.pas
    used in x86/cgx86.pas
    and x86_64/cgcpu.pas
   

git-svn-id: trunk@14401 -
2009-12-11 09:50:27 +00:00
Jonas Maebe
0247d0c2ee * use calling convention that is not the default on any platform
git-svn-id: trunk@14399 -
2009-12-11 09:36:11 +00:00
Jonas Maebe
3d1c799190 + initial tests based on ALGLIB submitted by Sergey Bochkanov
git-svn-id: trunk@14398 -
2009-12-10 22:25:34 +00:00
Jonas Maebe
164db72f07 * implements getter must used target's default calling convention, because
it's called indirectly via an RTL helper that expects this (mantis #15303)

git-svn-id: trunk@14397 -
2009-12-10 21:47:47 +00:00
Jonas Maebe
dd7e472fa4 * don't convert "cardinal div (cardinal-cardinal)" to longint after it
has been upcasted to int64, but convert it back to cardinal (mantis
    #15015)
  * put the "remove unnecessary 64 bit type conversions" code between
    {$ifndef cpu64bitalu} instead of {$ifndef cpu64bitaddr}

git-svn-id: trunk@14396 -
2009-12-10 21:08:31 +00:00
Jonas Maebe
0cc1e24f98 * fpu_sse3 also supports scalar single/double
git-svn-id: trunk@14395 -
2009-12-10 19:56:29 +00:00
pierre
461c459821 * fix SigActionRec for x86_64 cpu
git-svn-id: trunk@14394 -
2009-12-10 19:55:14 +00:00
pierre
b47f8dc276 * Update Makefile
git-svn-id: trunk@14393 -
2009-12-10 14:25:14 +00:00
pierre
dbf2be812a * for rip_relative if cs_create_pic is selected
git-svn-id: trunk@14392 -
2009-12-10 13:38:34 +00:00
pierre
4d30275d7f * Adapt start.inc to pic code
git-svn-id: trunk@14391 -
2009-12-10 13:23:20 +00:00
pierre
05c1097395 * simplify SysInitFPU assmebler using local variables
git-svn-id: trunk@14390 -
2009-12-10 13:11:40 +00:00
pierre
21bc57d4c1 * accept @PLT for pic functions
git-svn-id: trunk@14389 -
2009-12-10 13:07:44 +00:00
pierre
617e1b9b10 * handle i386/x86_64 solaris pic as for linux
git-svn-id: trunk@14388 -
2009-12-10 12:47:40 +00:00
pierre
f7b75f4ecb * add tf_needs_symbol_type for x86_64 solaris
git-svn-id: trunk@14387 -
2009-12-10 12:46:19 +00:00
pierre
d5c4b05310 * update Makefile
git-svn-id: trunk@14386 -
2009-12-10 11:25:32 +00:00
pierre
55cffbef12 * Update Makefiles
git-svn-id: trunk@14385 -
2009-12-10 08:36:52 +00:00
pierre
7ba3eb2b02 * Update Makefiles
git-svn-id: trunk@14384 -
2009-12-10 08:29:05 +00:00
pierre
d08c19be0d * Update Makefiles
git-svn-id: trunk@14383 -
2009-12-10 08:27:13 +00:00
pierre
93c1c74e02 * Update Makefiles
git-svn-id: trunk@14382 -
2009-12-10 08:26:29 +00:00
pierre
c02c000ddb * also define GDB_CVS if version contains cvs substring
git-svn-id: trunk@14381 -
2009-12-09 23:43:02 +00:00
pierre
08f3fdd828 * handle post 7.0 CVS diffs in structs
git-svn-id: trunk@14380 -
2009-12-09 23:41:55 +00:00
Jonas Maebe
e50c05f44e * fixed inverted condition in inc/dec range/overflow case that caused
unsigned 32/64 bit values to be always explicitly typecasted to signed
    32/64 bit instead of never (mantis #15304)

git-svn-id: trunk@14379 -
2009-12-09 21:54:46 +00:00
pierre
567d99b9c1 * more bp_location fixes
git-svn-id: trunk@14378 -
2009-12-09 15:29:19 +00:00
pierre
b49a438933 BP_LOCATION is used from 6.6
git-svn-id: trunk@14377 -
2009-12-09 14:53:00 +00:00
pierre
c519c3cb2e + bp_location struct added
git-svn-id: trunk@14376 -
2009-12-09 14:32:19 +00:00
pierre
d08b9e53bd solaris support and python first try
git-svn-id: trunk@14375 -
2009-12-09 10:44:44 +00:00
pierre
cec309e7be * also accept cc as compiler
git-svn-id: trunk@14374 -
2009-12-09 10:43:54 +00:00
florian
ee504ce31f * fixes fullcycle
git-svn-id: trunk@14373 -
2009-12-08 20:12:05 +00:00
Jonas Maebe
09b4918cab * don't allocate persistent temps for classes (they are not refcounted)
git-svn-id: trunk@14372 -
2009-12-08 20:00:27 +00:00
florian
092823308a + mips(el) support in the compiler makefile
* regenerated some makefiles to support mipsel-linux

git-svn-id: trunk@14371 -
2009-12-08 19:57:16 +00:00
Jonas Maebe
40f88809af * don't error out or generate invalid code for "with x do ;"
(Delphi/TP-compatible, mantis #15274)

git-svn-id: trunk@14370 -
2009-12-08 19:45:08 +00:00
Jonas Maebe
82b2a1d48f * fixed endless loop when generating debug info for empty string constants
after r14366

git-svn-id: trunk@14369 -
2009-12-08 19:13:07 +00:00
Jonas Maebe
b521f80b13 * give a proper error when a rangen appears in a vecn that's not an
array parameter (mantis #15287)

git-svn-id: trunk@14368 -
2009-12-08 18:47:24 +00:00
Jonas Maebe
b9b95a8f73 * fixed compiler crash when putting non-constant string in a set expression
(mantis #15288)

git-svn-id: trunk@14367 -
2009-12-08 17:15:31 +00:00
Jonas Maebe
a9c025cd6a * fixed 32 bit -> 64 bit cross compilation
git-svn-id: trunk@14366 -
2009-12-08 16:06:28 +00:00
sergei
14d42da206 * dom.pp: clean up
git-svn-id: trunk@14362 -
2009-12-08 09:09:23 +00:00
sergei
c8efa67ac7 * xmlread.pp, added a flag to force input stack unwinding upon reader destruction.
Without this, certain (malformed) documents (e.g. eduni/xml-1.1/005.xml) were causing
  InputSource leaks.

  Note: these leaks are a side effect from recent changes to entity processing and are not
  observed with older versions.

git-svn-id: trunk@14361 -
2009-12-08 08:10:35 +00:00
sergei
a7d1856620 * Removed null-termination in TXMLStreamInputSource.FetchData(): it isn't necessary and is causing unaligned access errors with ARM CPUs.
git-svn-id: trunk@14360 -
2009-12-08 05:20:44 +00:00
paul
f718be3afd compiler: remove unused variable
git-svn-id: trunk@14359 -
2009-12-08 04:24:28 +00:00
Jonas Maebe
896e481f86 * fixed function result variable symbol corruption in case a unit is
re-resolved before its implementation is parsed

git-svn-id: trunk@14358 -
2009-12-07 23:27:12 +00:00
Jonas Maebe
c3eb47293a * fixed derefdata corruption in case a unit is re-resolved and it has a
localsymtable with symbols/defs that need to be deref'ed

git-svn-id: trunk@14357 -
2009-12-07 23:26:20 +00:00
pierre
98470e953d * fix native linker end group delimiter
git-svn-id: trunk@14356 -
2009-12-07 22:27:59 +00:00
florian
a3884c4e49 * fixes bootstrapping with 2.2.x
git-svn-id: trunk@14355 -
2009-12-07 20:16:31 +00:00