Jonas Maebe
212f4d1152
* pass the size of the set rather than of the constant to
...
a_bit_test_const_loc_reg() (bug in hlcgobj conversion)
git-svn-id: trunk@27606 -
2014-04-20 14:34:57 +00:00
nickysn
bf6ad0ff78
* fixed tcg8086.g_flags2reg, so it behaves the same way as tcgx86.g_flags2reg
...
after r27581 in regard to floating point comparisons. The tcmpnan.pp test now
almost works (i.e. fails due to only one error, instead of many).
git-svn-id: trunk@27605 -
2014-04-19 22:54:29 +00:00
sergei
5fe27ae815
* powerpc/powerpc64: Fixed floating point compares to be IEEE-754 compliant. Mantis #9362 .
...
git-svn-id: trunk@27604 -
2014-04-19 19:54:24 +00:00
Jonas Maebe
4fa69488bc
* fixed compilation of AIX rtl with -Cr
...
git-svn-id: trunk@27603 -
2014-04-19 18:48:57 +00:00
Jonas Maebe
4ec3327bee
+ enabled rtl-unicode for AIX
...
git-svn-id: trunk@27602 -
2014-04-19 18:48:51 +00:00
Jonas Maebe
d627880942
+ added unicode units for AIX
...
git-svn-id: trunk@27601 -
2014-04-19 18:48:45 +00:00
Jonas Maebe
0dbfb99afa
* always use assembler directives that support unaligned data on AIX, as
...
otherwise data in initialised packed records gets aligned wrongly. This
should probably also be done for other targets that automatically
align .short/.long/...
git-svn-id: trunk@27600 -
2014-04-19 18:48:40 +00:00
Jonas Maebe
bcf007a4b3
* fixed implicit unit names
...
git-svn-id: trunk@27599 -
2014-04-19 18:48:33 +00:00
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