Jonas Maebe
c1e9bd36a3
* make sure we use rlwi* when possible instead of andi.
2002-07-21 17:00:23 +00:00
Jonas Maebe
33e3b0dda0
+ include ncgset unit
2002-07-21 16:58:59 +00:00
Jonas Maebe
3eb6dc156e
* hopefully final fix for second_int_to_real()
2002-07-21 16:57:22 +00:00
Jonas Maebe
398195464a
* fixed bugs with writing out unconditinal jumps
2002-07-21 16:56:20 +00:00
florian
59abf2555b
* types.pas renamed to defbase.pas because D6 contains a types
...
unit so this would conflicts if D6 programms are compiled
+ Willamette/SSE2 instructions to assembler added
2002-07-20 11:57:52 +00:00
florian
e161eb5e25
+ initial version, a lot of instructions need to be added
2002-07-13 21:50:34 +00:00
florian
15b9d096f9
* some more generic calling stuff fixed
2002-07-13 19:38:43 +00:00
Jonas Maebe
79c0a402ef
* fixed fpu constants in second_int_to_real (fpu values are also stored
...
in big endian)
2002-07-13 06:49:39 +00:00
florian
f0e2409c9f
* fixed to compile with 1.1
2002-07-12 22:02:22 +00:00
Jonas Maebe
4f77082660
* changed motorola syntax of references with symbols to GNU syntax
2002-07-12 10:10:01 +00:00
florian
336808f6c3
* start of the new generic parameter handling
2002-07-11 14:41:27 +00:00
Jonas Maebe
82e23e60f5
* fixed nppccnv and enabled it
...
- removed PPC specific second_int_to_int and use the generic one instead
2002-07-11 07:42:31 +00:00
Jonas Maebe
17f7d6e8e0
* fixed tppcmoddivnode
...
* fixed 64bit parts of tppcshlshrnode
2002-07-11 07:41:27 +00:00
Jonas Maebe
690ba14436
+ tcg64fpc implementation (only a_op64_reg_reg and a_op64_const_reg for
...
now)
* fixed and improved tcgppc.a_load_const_reg
* improved tcgppc.a_op_const_reg, tcgppc.a_cmp_const_reg_label
* A_CMP* -> A_CMPW* (this means that 32bit compares should be done)
2002-07-11 07:38:28 +00:00
Jonas Maebe
5ee1a2ea17
* some available registers fixes
2002-07-11 07:35:36 +00:00
Jonas Maebe
c018cb9116
* fixed mullw entry in instruction list
2002-07-11 07:34:55 +00:00
Jonas Maebe
3e7b6ef7fa
* unarynminus and shlshr node fixed for 32bit and smaller ordinals
...
* small fixes in the assembler writer
* changed scratch registers, because they were used by the linker (r11
and r12) and by the abi under linux (r31)
2002-07-09 19:45:01 +00:00
florian
be574d1cf2
* powerpc target fixed, very simple units can be compiled
2002-07-07 09:44:31 +00:00
carl
d75603c2ed
* bugfix of hdisponen (base must be set, not index)
...
* more portability fixes
2002-05-20 13:30:40 +00:00
peter
06ebac4e27
* readded missing revisions
2002-05-18 13:34:04 +00:00
carl
21b3a10f02
+ defines.inc -> fpcdefs.inc to avoid conflicts if compiling by hand
...
+ try to fix temp allocation (still in ifdef)
+ generic constructor calls
+ start of tassembler / tmodulebase class cleanup
2002-05-16 19:46:34 +00:00
Jonas Maebe
1e82d75ccf
- removed, superceded by rgobj/tgobj/rgcpou
2002-05-15 05:52:42 +00:00
peter
2992e1819c
* removed old logs and updated copyright year
2002-05-14 19:34:38 +00:00
peter
f6b3e2e37f
* synchronized cpubase between powerpc and i386
...
* moved more tables from cpubase to cpuasm
* tai_align_abstract moved to tainst, cpuasm must define
the tai_align class now, which may be empty
2002-05-14 17:28:08 +00:00
peter
51688dade3
* a ppcppc can be build again
2002-05-13 19:52:46 +00:00
carl
5cdad9e30f
* some small updates according to i386 version
2002-04-21 15:48:39 +00:00
carl
9b12acc70a
* renamed some constants
2002-04-20 21:38:45 +00:00
carl
4cff0f13fd
- moved type constant
2002-04-07 13:41:50 +00:00
Jonas Maebe
71a52a4aeb
* several powerpc-related additions and fixes
2002-04-06 18:10:42 +00:00
Jonas Maebe
c6d03a29f0
* completed (not compilale yet though)
2002-01-03 14:57:52 +00:00
Jonas Maebe
e41ba8650a
* fixed small bug in a_jmp_flags
2002-01-02 14:53:04 +00:00
Jonas Maebe
f15dbd7bf0
* range checking is now processor independent (part in cgobj, part in
cg64f32) and should work correctly again (it needed some changes after
the changes of the low and high of tordef's to int64)
* maketojumpbool() is now processor independent (in ncgutil)
* getregister32 is now called getregisterint
2001-12-30 17:24:45 +00:00
Jonas Maebe
91f567bb66
* powerpc/cgcpu.pas compiles :)
...
* several powerpc-related fixes
* cpuasm unit is now based on common tainst unit
+ nppcmat unit for powerpc (almost complete)
2001-12-29 15:28:57 +00:00
Jonas Maebe
00a1625ce3
+ second_int_to_real for cardinal, int64 and qword
2001-10-28 14:17:10 +00:00
Jonas Maebe
2d3126c843
* small fixes
2001-10-28 14:16:49 +00:00
Jonas Maebe
da7d733384
+ implemented second_int_to_real
...
* fixed small bug in second_int_to_int
2001-10-01 12:17:26 +00:00
Jonas Maebe
32759c4953
* small optimization
2001-09-29 21:33:30 +00:00
Jonas Maebe
ca8623dfb6
+ implemented bool_to_int and int_to_int (+ helper in nppcutil)
2001-09-29 21:33:12 +00:00
Jonas Maebe
fa0a56f559
* several additions, almost complete (only some problems with resflags left)
2001-09-28 20:40:05 +00:00
Jonas Maebe
17209e05b7
* some fixes to operations with constants
2001-09-16 10:33:21 +00:00
Jonas Maebe
4930d6448f
* some more things implemented
2001-09-09 17:10:25 +00:00
Jonas Maebe
bea3bf8717
* changed type of tcg from object to class -> abstract methods are now
...
a lot cleaner :)
+ more updates: load_*_loc methods, op_*_* methods, g_flags2reg method
(if possible with geenric implementation and necessary ppc
implementations)
* worked a bit further on cgflw, now working on exitnode
2001-09-06 15:25:55 +00:00
Jonas Maebe
3b4b673069
* new cgflow based on n386flw with all nodes until forn "translated"
...
+ a_cmp_loc_*_label methods for tcg
+ base implementatino for a_cmp_ref_*_label methods
* small bugfixes to powerpc cg
2001-09-05 20:21:03 +00:00
florian
525be77ced
* some cg reorganisation
...
* some PPC updates
2001-08-26 13:29:33 +00:00