sergei
a8eb55fa7c
* powerpc/powerpc64: merged identical a_jmp_flags methods into base code generator class.
...
git-svn-id: trunk@27598 -
2014-04-19 18:34:10 +00:00
Jonas Maebe
36e61086de
- removed file coming from Novell NDK, whose licensing agreement forbids
...
(a.o.) creating software that "substantially duplicate the capabilities
or compete with the Derivative Software or the Software". Including
a verbatim copy of one of the NDK files seems to "substantially duplicate
the capabalities" (mantis #26041 )
git-svn-id: trunk@27596 -
2014-04-19 17:04:18 +00:00
sergei
af52c874d0
- Removed some stuff that is not used anywhere.
...
git-svn-id: trunk@27595 -
2014-04-18 18:34:53 +00:00
Jonas Maebe
f105f3f667
* compile uuchar unit for aix
...
git-svn-id: trunk@27594 -
2014-04-18 14:32:15 +00:00
sergei
f3801d13de
* SPARC: cleaned up and actualized TAsmCond (stuff copy-pasted from x86 removed, conditions for unordered floating-point comparisons added). Fixes Mantis #9362 on this target.
...
git-svn-id: trunk@27593 -
2014-04-17 14:15:45 +00:00
sergei
58882e2934
* SPARC: UNIMP instruction has 22-bit "opcode", not 12-bit.
...
git-svn-id: trunk@27592 -
2014-04-17 14:08:33 +00:00
nickysn
9a44ab2fc2
* always treat interrupt routines as far, so their address can be taken even in
...
{$F-} mode
git-svn-id: trunk@27591 -
2014-04-16 23:37:28 +00:00
nickysn
d6ad2b1f8a
+ added support for mixing near and far procedures in the i8086 far code memory
...
models. The $F directive and the 'near' and 'far' procedure modifiers should
now work as expected in the far code memory models (they are still ignored in
the near code memory models). The compiler defaults to the {$F+} state,
because {$F-} requires adding 'far' to a lot of procedures in the rtl,
packages and tests.
git-svn-id: trunk@27590 -
2014-04-16 23:09:18 +00:00
sergei
c0431dba4e
* Moved method g_flag2reg from tcgppc (in both powerpc and powerpc64) to tcgppcgen class, since it is identical for both targets.
...
git-svn-id: trunk@27589 -
2014-04-16 15:00:49 +00:00
michael
c4e249f643
* Add support for xfce terminal
...
git-svn-id: trunk@27588 -
2014-04-16 11:41:24 +00:00
lacak
88bea93d60
fcl-db: bufdataset: remove unneeded fields of TDBCompareRec
...
git-svn-id: trunk@27587 -
2014-04-16 07:15:55 +00:00
lacak
1d2c56255e
fcl-db: bufdataset: add compare functions for ftBytes, ftVarBytes field types (used in locating and indexing records)
...
git-svn-id: trunk@27586 -
2014-04-16 07:09:23 +00:00
pierre
d57d816744
powerpc64-aix C objects files added using gcc 4.8.1
...
git-svn-id: trunk@27585 -
2014-04-16 06:24:07 +00:00
sergei
4c3a4646ec
* Fixed floating-point comparisons for softfloat targets (part of Mantis #9362 ).
...
git-svn-id: trunk@27584 -
2014-04-15 23:36:21 +00:00
reiniero
6d9aa6e90f
fcl-db: cosmetic
...
git-svn-id: trunk@27583 -
2014-04-15 10:19:01 +00:00
florian
0a312a783e
* avoid generation of avx code before the check if avx is supported
...
git-svn-id: trunk@27582 -
2014-04-14 18:18:29 +00:00
sergei
07e90aaa24
+ Implemented IEEE 754-compliant checking for unordered results of floating-point compares on x86 targets. Mantis #9362 .
...
git-svn-id: trunk@27581 -
2014-04-14 12:36:11 +00:00
lacak
5eae80ebb0
fcl-db: use proper error message formating when raising DatabaseError. Bug #26014
...
git-svn-id: trunk@27580 -
2014-04-14 06:58:22 +00:00
sergei
98de3c4e40
* tcg8086.g_flags2reg: call virtual method a_jmp_flags instead of duplicating its functionality, it prevents further changes to this method when adding support for unordered comparison results.
...
git-svn-id: trunk@27579 -
2014-04-14 00:20:06 +00:00
Károly Balogh
8a83037883
amiga: added some hacks to support the ancient code in amunits package. most of this will be gone after amunits package cleanup, but at least amunits package builds now
...
git-svn-id: trunk@27578 -
2014-04-13 23:39:59 +00:00
Károly Balogh
daefb42925
m68k: don't find helper 'opcodes' as real opcodes... (i guess is the right solution for the problem which r22796 originally aimed to fix)
...
git-svn-id: trunk@27577 -
2014-04-13 23:20:29 +00:00
Károly Balogh
fabdebf9c6
amunits: Read()ing to a PChar is no longer supported, because it's unsafe
...
git-svn-id: trunk@27576 -
2014-04-13 22:59:19 +00:00
Károly Balogh
826c77831b
amunits: make forward declaration match with the actual implementation, current compiler is more picky about this
...
git-svn-id: trunk@27575 -
2014-04-13 22:58:39 +00:00
Károly Balogh
9ad7540ddf
reverted change in r22796, the previously disabled code is actually required by the amunits package
...
git-svn-id: trunk@27574 -
2014-04-13 22:06:51 +00:00
Károly Balogh
5535df29d4
support SP and FP alias in the assembler reader too
...
git-svn-id: trunk@27573 -
2014-04-13 21:03:06 +00:00
Károly Balogh
7ee09b9620
instead of supporting SP only, have register A7 defined, and have SP as an alias
...
git-svn-id: trunk@27572 -
2014-04-13 21:02:16 +00:00
michael
3ac3e69c8a
* Removed https TODO
...
git-svn-id: trunk@27571 -
2014-04-13 20:25:53 +00:00
michael
cd05deafc2
* Made creating socket handler configurable
...
git-svn-id: trunk@27570 -
2014-04-13 20:23:01 +00:00
michael
67e8a3bf54
* Patch from Reinier to fix upload (bug 25940)
...
git-svn-id: trunk@27569 -
2014-04-13 20:09:02 +00:00
pierre
365666c833
Fix remaining failure for make testppudump at compiler level
...
git-svn-id: trunk@27568 -
2014-04-13 19:31:55 +00:00
nickysn
ce0bd81273
+ show an error message 'procedure must be far' if an attempt is made to convert
...
a near proc to a procvar in a i8086 far code memory model
git-svn-id: trunk@27567 -
2014-04-13 19:29:28 +00:00
florian
18233f2c0c
* fix compilation of i8086 compiler
...
git-svn-id: trunk@27566 -
2014-04-13 19:28:59 +00:00
florian
6fd98d604a
* compilation fixed
...
git-svn-id: trunk@27565 -
2014-04-13 19:21:57 +00:00
florian
d88d644925
+ support for FMA intrinsic: if there is no hardware support, the compiler throws an error.
...
Currently it is implemented only for x86-CPUs supporting the FMA extension. While it would
be possible to implement it in software or simulate fma(<single>,<single>,<single>) using
double operations, it makes no sense in my opinion to do so.
git-svn-id: trunk@27564 -
2014-04-13 19:21:54 +00:00
nickysn
d404d15c1e
* forgot to commit the changes to i386/symcpu.pas in r27549
...
git-svn-id: trunk@27563 -
2014-04-13 18:44:35 +00:00
nickysn
d8d3706462
+ override hlcg.a_call_name for i8086 and dispatch to the appropriate type of
...
call (near or far), according to whether the procdef is near or far, instead
of relying on the default for the memory model
git-svn-id: trunk@27562 -
2014-04-13 15:17:43 +00:00
nickysn
86b9a0eed1
+ added the $F switch to the turbo and macSwitchTable, as that takes precedence
...
over dir_forcefarcalls
git-svn-id: trunk@27561 -
2014-04-13 15:14:43 +00:00
nickysn
fc6eac6a98
+ added $F directive handling, sets cs_force_far_calls (not implemented yet)
...
git-svn-id: trunk@27560 -
2014-04-13 13:07:18 +00:00
nickysn
6fe362a1b0
+ added method is_far to i8086's tcpuprocdef and tcpuprocvardef
...
+ added helper function to i8086's symcpu is_proc_far that dispatches the call
to the proper is_far method (because we can't make a cpu specific descendant
of tabstractprocdef and add it there)
* all checks for (po_far in procoptions) in the i8086 code generator replaced
with calls to is_proc_far
git-svn-id: trunk@27559 -
2014-04-13 12:41:46 +00:00
sergei
3e20a136f3
* tx86addnode.second_addfloat: use single and double-precision memory locations without loading them on FPU stack if possible.
...
git-svn-id: trunk@27558 -
2014-04-13 12:37:30 +00:00
nickysn
0ef858a6ca
* fixed the reading of x86 pointer defs in ppudump after the ppuwrite_platform
...
changes
git-svn-id: trunk@27557 -
2014-04-13 11:40:20 +00:00
nickysn
9ab2aa7463
* fixed ppudump after r27434
...
git-svn-id: trunk@27556 -
2014-04-13 09:56:17 +00:00
nickysn
40a6a9c820
+ added i8086 specific implementation of thlcgcpu.a_load_loc_ref, which handles
...
6-byte method pointers and other i8086 types that use loc.registerhi
* changed the i8086 specific code in tcgassignmentnode.pass_generate_code to
use hlcg.a_load_loc_ref
git-svn-id: trunk@27555 -
2014-04-13 01:38:43 +00:00
nickysn
2e7aab0155
* refactored i8086's thlcgcpu.location_force_mem:
...
o The checks for types that need special handling moved to separate methods,
because they'll probably be used by the other hlcg.a_load*loc* methods as
well.
o Use voidcodepointertype and voidpointertype to avoid the ifs for checking
the memory model.
git-svn-id: trunk@27554 -
2014-04-12 21:59:32 +00:00
sergei
6810d643c4
* Fixed exp() result for +-Inf input, must be +Inf or 0, not NaN. This is mathematically correct and consistent with generic implementation of this function.
...
git-svn-id: trunk@27553 -
2014-04-12 21:18:57 +00:00
sergei
57c762c8d2
+ Inserted license header for AMath routines.
...
git-svn-id: trunk@27552 -
2014-04-12 20:45:44 +00:00
nickysn
02988023b7
* tcgloadnode.pass_generate_code: fixes for i8086 far data model fixes in the
...
handling of method procsyms + even more ifdef i8086s removed
git-svn-id: trunk@27551 -
2014-04-12 19:59:04 +00:00
nickysn
68ff3fb1e2
* tcgloadnode.pass_generate_code: rm the ifdef'd i8086 code from the handling of
...
non-method procsyms by using def_cgsize(pd.address_type) to determine the
address size
git-svn-id: trunk@27550 -
2014-04-12 16:26:51 +00:00
nickysn
fc71081b74
* i8086 and i386-specific code from tabstractprocdef.is_pushleftright moved to
...
symi86
git-svn-id: trunk@27549 -
2014-04-12 15:34:08 +00:00
nickysn
0a515311e6
* tabstractprocdef.address_type i8086-specific code moved to symcpu, ifdef i8086 removed
...
git-svn-id: trunk@27548 -
2014-04-12 15:09:17 +00:00