Commit Graph

4055 Commits

Author SHA1 Message Date
florian
e7a6cd18dd * more fixes for the ppc
+ wrappers for the tcnvnode.first_* stuff introduced
2002-07-29 21:23:42 +00:00
florian
102ba3a098 * some more ppc fixes 2002-07-29 21:16:02 +00:00
carl
3034065498 + restart m68k support 2002-07-29 17:51:32 +00:00
Jonas Maebe
07089fadb7 + nppcmem 2002-07-29 09:22:20 +00:00
Jonas Maebe
a1a3283c61 + tppcvecnode, almost straight copy of the i386 code, can most likely
be made generic if all treference type allow a base, index and offset
2002-07-29 09:21:30 +00:00
Jonas Maebe
04cb71275a + second_int_to_int implementation which is almost the same as the
generic implementation, but it avoids some unnecessary type conversions
2002-07-29 09:20:20 +00:00
florian
37351a4590 - removed debug code which was commited by accident 2002-07-28 21:38:30 +00:00
florian
463b355ba3 * more powerpc fixes
+ dummy tcgvecnode
2002-07-28 21:34:31 +00:00
florian
3fe0229843 + added direct assembler reader for PowerPC 2002-07-28 20:45:22 +00:00
Jonas Maebe
046ee7bf2b + 64 bit operations (badly tested), everything is implemented now!
* some small fixes
2002-07-28 16:02:49 +00:00
Jonas Maebe
e3cbc3cf22 + tcg64fppc.a_op64_const_reg_reg() and tcg64fppc.a_op64_reg_reg_reg()
* several fixes, most notably in a_load_reg_reg(): it didn't do any
    conversion from smaller to larger sizes or vice versa
  * some small optimizations
2002-07-28 16:01:59 +00:00
Jonas Maebe
75d8e42d85 * fixed bug in location_force_reg32() when converting smaller values to
64 bit locations
  * use cg.op_const_reg_reg() instead of a move and then cg.op_const_reg()
    in location_force_reg32()
2002-07-28 15:59:57 +00:00
Jonas Maebe
6bd0424826 * fixed a_load64_const_reg() for big endian systems 2002-07-28 15:57:15 +00:00
Jonas Maebe
b11d7a19f3 + tcg64.a_op64_const_reg_reg() and tcg64.a_op64_reg_reg_reg() methods +
generic implementation
2002-07-28 15:56:00 +00:00
carl
a5a3f7488b + correct size of parameter (64-bit portability) 2002-07-28 09:25:37 +00:00
carl
8284576720 + generic case node 2002-07-28 09:24:18 +00:00
Jonas Maebe
ccf4a67d81 + second_addboolean(), second_addfloat() and second_addsmallset()
(64bit stuff is all that's left to do)
2002-07-27 20:00:59 +00:00
Jonas Maebe
b4cfa73079 * fixed a_loadaddr_ref_reg()
* fixed g_flags2reg()
  * optimized g_concatcopy()
2002-07-27 19:59:29 +00:00
Jonas Maebe
1b983ee56e * some typo corrections in the instruction tables
* renamed the m* registers to v*
2002-07-27 19:57:18 +00:00
Jonas Maebe
6b83738e7d + generic implementation of tcg.g_flags2ref()
* tcg.flags2xxx() now also needs a size parameter
2002-07-27 19:53:51 +00:00
florian
1b5435381b * several PowerPC related fixes to get forward with system unit compilation 2002-07-26 22:22:10 +00:00
florian
eb2ca8d10f * rewrote the system handling 2002-07-26 21:15:37 +00:00
Jonas Maebe
0d740d4de8 + intial implementation of add nodes, only integer/enumeration/pointer/...
handling is finished
2002-07-26 12:31:56 +00:00
Jonas Maebe
83ce7360ed * fixed typo in instruction table (_subco_ -> a_subco) 2002-07-26 12:30:51 +00:00
Jonas Maebe
3ac9c35136 * don't always convert the second argument of inc/dec to a longint, but
to a type based on the first argument
2002-07-26 12:28:50 +00:00
Jonas Maebe
e2c5923e97 * fixed range errors 2002-07-26 11:19:57 +00:00
Jonas Maebe
ed2bdb31a6 * the optimization of converting a multiplication with a power of two to
a shl is moved from n386add/secondpass to nadd/resulttypepass
2002-07-26 11:17:52 +00:00
Jonas Maebe
185fa10345 * fixed (actual and potential) range errors 2002-07-26 11:16:35 +00:00
Jonas Maebe
61a2a3ae37 * fixed bug in shl/shr code 2002-07-26 10:48:34 +00:00
florian
2674f8a450 * fixed a mistake in yesterday's commit, forgot to commit it 2002-07-26 09:45:20 +00:00
florian
30fae40c29 no message 2002-07-25 22:58:30 +00:00
florian
7bf1321808 * several fixes, small test units can be compiled 2002-07-25 22:55:33 +00:00
carl
ebbd8e9e04 + added generic inline nodes 2002-07-25 18:01:58 +00:00
carl
f6b1f35207 + Resulttype for floats is now CPU independent (bestrealytype)
+ Generic version of some routines (call to RTL routines)
      : still untested.
2002-07-25 18:00:19 +00:00
carl
448d40de1a + FPURESULTREG -> FPU_RESULT_REG 2002-07-25 17:56:29 +00:00
carl
9a26de0ea3 + First working revision 2002-07-25 17:55:41 +00:00
carl
86ef6eec0b + Extended is now CPU dependant (equal to bestrealtype) 2002-07-25 17:54:24 +00:00
florian
52dbda43c3 + initial release of x86-64 target code 2002-07-24 22:38:15 +00:00
florian
0a9b56aa2e no message 2002-07-24 21:03:42 +00:00
florian
156fc666c8 * small typo fixed, compiles with 1.0.x again 2002-07-24 14:38:00 +00:00
marco
ea53f048aa * Fixed small error 2002-07-24 13:51:34 +00:00
marco
1f5b2f26ba * urgent fix. 2002-07-24 13:10:22 +00:00
carl
6e3f0ce7f3 + first revision (incomplete) 2002-07-24 04:07:49 +00:00
daniel
feb28ce902 * Added internal error when asked to generate code for 'if expr in []' 2002-07-23 14:31:00 +00:00
Jonas Maebe
aa2fef1733 * fixed evaluation of expressions with empty sets that are calculated
at compile time
2002-07-23 13:19:40 +00:00
Jonas Maebe
6e43afc6e1 * fixed constant set evaluation of new set handling for non-commutative
operators
2002-07-23 13:08:16 +00:00
daniel
1130395e7e * Readded old set code. To use it define 'oldset'. Activated by default
for ppc.
2002-07-23 12:34:29 +00:00
daniel
950b60d3f8 * Added important comment 2002-07-23 10:13:23 +00:00
daniel
46b8ed0657 * Tried to make Tprocsym.defs protected. I didn't succeed but the cleanups
are worth comitting.
2002-07-23 09:51:22 +00:00
daniel
3a134c6e07 * Sets are now internally sets. 2002-07-22 11:48:04 +00:00