Commit Graph

41521 Commits

Author SHA1 Message Date
nickysn
c666649320 * proper fix for the passing of TEST_OPT to tstunits on msdos. The value of
TEST_OPT was normally already passed in OPT, but on msdos the old value
  was killed, due to the 'override OPT=-CX'.

git-svn-id: trunk@26009 -
2013-11-10 14:36:06 +00:00
marco
b4496c4aba * trim output buffer in try..finally, catch result iconv in variable.
git-svn-id: trunk@26008 -
2013-11-10 12:53:58 +00:00
nickysn
681350daba * add the options specified in TEST_OPT when compiling the tstunits. This allows
running the testsuite for a different than the default i8086 memory model by
  specifying (for example) TEST_OPT=-WmMedium

git-svn-id: trunk@26007 -
2013-11-10 12:23:26 +00:00
marco
be92aba9ba * correction for missing start in wavstream record. Mantis #25268
git-svn-id: trunk@26006 -
2013-11-10 11:34:01 +00:00
Jonas Maebe
6359441045 * force shl operations to be 32 bit on 16/8 bit platforms (patch by
Max Nazhalov, mantis #25241)

git-svn-id: trunk@26005 -
2013-11-10 10:24:54 +00:00
florian
a0f0d0de40 * make use of the noreturn directive for internalerror
* clean up of the internalerror procedure variable in the constexp unit

git-svn-id: trunk@26004 -
2013-11-10 09:01:03 +00:00
florian
1d4a4d0684 + noreturn directive
git-svn-id: trunk@26003 -
2013-11-10 09:00:59 +00:00
nickysn
039979fdcc * handle 4-byte records in registers as well in location_force_mem on i8086
git-svn-id: trunk@26002 -
2013-11-09 21:57:29 +00:00
Jonas Maebe
0302453912 * disabled the lea->add transformation added in r25907 because it breaks
webtbs/tw15694.pp. Such transformation require liveness analysis of
    the flags

git-svn-id: trunk@26001 -
2013-11-09 18:42:23 +00:00
marco
22236de331 * adds IP and cachecontrol headers to http defs. Patch by Silvio Clécio
Mantis #25263

git-svn-id: trunk@26000 -
2013-11-09 17:06:07 +00:00
nickysn
b8de1370a0 * fixed assignment of i8086 method pointers, when the source is in a register
git-svn-id: trunk@25999 -
2013-11-09 16:50:56 +00:00
marco
c84ac2214d * adapt sdl mixer wavestream to 2008 SDL change. Patch by Yuichiro Takahashi
Mantis #25268

git-svn-id: trunk@25998 -
2013-11-09 14:31:28 +00:00
sergei
5ea99c84fd * x86_64 non-Win64 targets: calculate tan() and cotan() using x87 "fptan" instruction.
git-svn-id: trunk@25996 -
2013-11-09 11:31:27 +00:00
sergei
2b1e5f7014 * Mantis #17273: don't generate x87 instructions on win64 target.
git-svn-id: trunk@25995 -
2013-11-08 13:31:07 +00:00
sergei
d83fbd7602 * Replaced fpc_arctan_real() implementation with one providing a better precision.
git-svn-id: trunk@25994 -
2013-11-08 11:33:57 +00:00
nickysn
7516b87382 * (temporarily) disabled the new str<->float code on the i8086, because it
causes a lot of wrong conversions and thus a lot of testsuite failures.

git-svn-id: trunk@25993 -
2013-11-08 08:22:35 +00:00
pierre
a091c26750 * Use mips everywhere for big endian mips target
git-svn-id: trunk@25992 -
2013-11-07 21:38:43 +00:00
nickysn
d0f988f7a8 * don't use LEA in the code generator on i8086, as this breaks it quite badly.
While it is possible to use 16-bit LEA on the i8086, it's probably not worth
  doing it in the code generator, because of the unpleasant register
  restrictions that 16-bit references have.

git-svn-id: trunk@25989 -
2013-11-07 17:00:58 +00:00
Jonas Maebe
2bb67ec47d * corrected usage of CPUNO32BITOPS
git-svn-id: trunk@25988 -
2013-11-07 15:20:15 +00:00
lacak
a580751b7e fcl-db: bufdataset: formatting + comments
git-svn-id: trunk@25985 -
2013-11-07 12:25:30 +00:00
lacak
36249fcee1 fcl-db: memds: add support for calculated fields. revealed by TestCalculatedField
git-svn-id: trunk@25984 -
2013-11-07 12:10:29 +00:00
sergei
441e37b8b4 - Eliminated separate extractFloat32* routines, they are used only once and manually inlining them does not harm to readability.
git-svn-id: trunk@25983 -
2013-11-07 10:12:13 +00:00
michael
68caeb93c1 * Fix bug #22271
git-svn-id: trunk@25981 -
2013-11-07 08:43:14 +00:00
lacak
87fbf36ff8 fcl-db: memds: add support for more datatypes (ftGuid, ftWideString, ftFixedWideChar, ftBytes, ftVarBytes)
git-svn-id: trunk@25980 -
2013-11-07 06:31:40 +00:00
florian
bbabb77ec9 * disable 32 bit operation optimization for powerpc64
git-svn-id: trunk@25979 -
2013-11-06 21:11:08 +00:00
florian
424d5cafb2 * cleanup
* handling of result node simplified

git-svn-id: trunk@25978 -
2013-11-06 21:11:06 +00:00
florian
cca520abd9 + warn for uninitialized out parameters when dfa is enabled
git-svn-id: trunk@25977 -
2013-11-06 21:11:03 +00:00
florian
722c59bcb1 * use the correct node in CalcLife
git-svn-id: trunk@25976 -
2013-11-06 21:11:01 +00:00
florian
2fc4a7fdd7 * better DFA debugging information
git-svn-id: trunk@25975 -
2013-11-06 21:10:58 +00:00
florian
89f34965e9 * fix dfa of for nodes, loopiteration node introduced to get proper life information for the loop
git-svn-id: trunk@25974 -
2013-11-06 21:10:55 +00:00
florian
63757c84ad * fix life information of block nodes
git-svn-id: trunk@25973 -
2013-11-06 21:10:52 +00:00
florian
1e4737c46d * fix life information of for nodes
git-svn-id: trunk@25972 -
2013-11-06 21:10:50 +00:00
florian
31f3bb900c * fix UpdateLifeInfo if n<>node
git-svn-id: trunk@25971 -
2013-11-06 21:10:48 +00:00
florian
1f05011113 * set successor of blocknodes properly
git-svn-id: trunk@25970 -
2013-11-06 21:10:45 +00:00
florian
b3c2a8ddb1 * set always resultnode as last node
git-svn-id: trunk@25969 -
2013-11-06 21:10:43 +00:00
florian
0a762e416f * always create a resultnode, also for procedures
git-svn-id: trunk@25968 -
2013-11-06 21:10:40 +00:00
florian
1fb3c2e0c2 * the successor of the last node is the resultnode if one exists
* create def/use info for temp. nodes

git-svn-id: trunk@25967 -
2013-11-06 21:10:38 +00:00
florian
20942d8b45 * fix life information generation of for nodes
git-svn-id: trunk@25966 -
2013-11-06 21:10:34 +00:00
florian
fa8abf7fcb * handle constructors correctly during dfa: the result note must point to self
* handle inline nodes correctly during dfa: they can create/destroy defs

git-svn-id: trunk@25965 -
2013-11-06 21:10:32 +00:00
florian
6f03d04fe1 * when using a pointer as array, the pointer is never written, only read
git-svn-id: trunk@25964 -
2013-11-06 21:10:30 +00:00
florian
9fdd64e94c * indention and new line fixes
git-svn-id: trunk@25963 -
2013-11-06 21:10:28 +00:00
florian
1a4584f4c6 + dead store elimination, based on a patch by Jeppe Johansen
git-svn-id: trunk@25962 -
2013-11-06 21:10:26 +00:00
florian
aef0841fe4 * unified internalerror
git-svn-id: trunk@25961 -
2013-11-06 21:10:23 +00:00
florian
5f167091c0 * fix test so it works with const. propagation and does throws the range check error at run time
git-svn-id: trunk@25960 -
2013-11-06 21:10:20 +00:00
florian
b928b1e9c9 * reorganized generic optimization switches
git-svn-id: trunk@25959 -
2013-11-06 21:10:17 +00:00
florian
e8787c4b48 + constant propagation, based on a patch by Jeppe Johansen
git-svn-id: trunk@25958 -
2013-11-06 21:10:15 +00:00
florian
d39b9059d6 * improve simplification of arithmetic nodes, based on a patch by Jeppe Johansen
git-svn-id: trunk@25957 -
2013-11-06 21:10:13 +00:00
Jonas Maebe
d4b6406e62 * fixed compilation of new str<->float code on the JVM target (patch by
Max Nazhalov) and use that code by default on the JVM target
  * adapted JVM tests for the new str<->float code similar to how the
    generic tests were adapted

git-svn-id: trunk@25954 -
2013-11-06 16:13:50 +00:00
Jonas Maebe
3ed60082d3 * don't generate typed constant initialisers for set and enum constants
declared local to functions on the JVM target, because we don't generate
    field constants for them (fixes run time error when declaring a symbolic
    enum/set constant in a function on the JVM target)

git-svn-id: trunk@25953 -
2013-11-06 16:10:58 +00:00
Jonas Maebe
8fe7d82db7 * changed type of TAbstractSearchRec.name_do_not_touch from untyped pointer
into rawbytestring because otherwise -gt can overwrite it
  - removed hack from r25944 in morphos/sysutils.pp that worked around this
    problem

git-svn-id: trunk@25952 -
2013-11-06 13:17:06 +00:00