Commit Graph

150 Commits

Author SHA1 Message Date
mazen
b39a9919a2 - unused temp var r removed in GetExplicitRegisterInt function
* some case added for var and fauncions naming
2003-06-12 22:47:52 +00:00
peter
93138a616d * updates like the powerpc 2003-06-12 21:11:44 +00:00
Jonas Maebe
709e6da4fa - removed ALL_INTREGISTERS (only the one in rgobj is valid) 2003-06-12 19:11:34 +00:00
peter
a0b9306652 * newra compiles for sparc 2003-06-12 16:43:07 +00:00
mazen
1e7fc22124 * fix compile problem related to modification
of the declareation of GetIntParaLoc in the
  ancestor's declaration
2003-06-09 21:44:14 +00:00
mazen
d204c70f35 - making TOldRegister only declared for compatibility and
no more used in cpubase
2003-06-04 21:00:54 +00:00
mazen
4af28e59cc + added size of destination in code gen methods
+ making g_overflowcheck declaration same as
  ancestor's method declaration
2003-06-04 20:59:37 +00:00
Jonas Maebe
6f3e16298a * function results can now also be regvars
- removed tprocinfo.return_offset, never use it again since it's invalid
    if the result is a regvar
2003-06-02 21:42:05 +00:00
peter
230a14ff68 * getregisterfpu size parameter added
* op_const_reg size parameter added
  * sparc updates
2003-06-01 21:38:06 +00:00
peter
7b3095fe27 * reference fixes 2003-06-01 01:04:35 +00:00
peter
e03a8f8f69 * FMOVs fixed 2003-06-01 01:03:53 +00:00
peter
0106a4a537 * remove unsupported combinations
* reg_ref_reg only allowed for refs_lo,refs_hi
2003-06-01 01:03:41 +00:00
peter
1e7ecac976 * FUNCTION_RESULT64_LOW/HIGH_REG added for int64 results 2003-05-31 15:05:28 +00:00
peter
790e125329 * register fixes 2003-05-31 01:00:51 +00:00
peter
414bd5fa22 * more sparc cleanup
* accumulator removed, splitted in function_return_reg (called) and
    function_result_reg (caller)
2003-05-30 23:57:08 +00:00
florian
a8eb2ab740 * started to fix and clean up the sparc port 2003-05-28 23:18:31 +00:00
mazen
d0249adf22 + RegEnum2Number to ease handling register pairs
* changed convert_register_to_enum to use above
  array
2003-05-26 22:08:42 +00:00
mazen
a6880bcaa4 * added 64 bit value support to fix a problem in RTL 2003-05-26 22:04:57 +00:00
mazen
11f582061e * mnemonic of A_LDF is ld, ldf does not exist! 2003-05-26 21:31:27 +00:00
florian
995f7e0f11 * fix some small flaws which prevent sparc linux system unit from compiling
* some reformatting done
2003-05-23 22:33:48 +00:00
florian
89c93b12c4 * fixed sparc compiler compilation 2003-05-23 21:10:50 +00:00
florian
1770c1db0f * fixed sparc compilation partially 2003-05-22 16:11:22 +00:00
mazen
5d902c46cb * fixed generated code for compare instructions 2003-05-07 15:05:37 +00:00
mazen
518e7109a5 * invalid genrated code for CASE statement fixed 2003-05-07 15:04:30 +00:00
mazen
be8d4b2e26 - unused units removed from uses clause
- unused variables removed from implemntation declarations
2003-05-07 11:55:34 +00:00
mazen
e1c306879a - removed unused code 2003-05-07 11:45:02 +00:00
mazen
60e724a520 - method CheckNonCommutativeOpcode removed as not used 2003-05-07 11:28:26 +00:00
mazen
7f9fb59960 * adding emit_compare trying fixing compare bugs 2003-05-06 21:37:58 +00:00
mazen
a75a96c9b3 * A_BI changed to A_BL 2003-05-06 20:27:43 +00:00
mazen
6b490e7de4 * Invalid genrated code : A_JMPL changed to A_BA 2003-05-06 20:25:20 +00:00
mazen
de34248121 * A_BI ==> A_BL (bi ==> bl) instructions renamed 2003-05-06 20:23:44 +00:00
mazen
47ba6c2c4e * fixed a bug in a_load_const_reg related to max 13bit value limit
for immediat value ==> use of A_SETHI for greater values
2003-05-06 15:02:40 +00:00
mazen
986aa300a8 - non used code removed to bring up with powerpc changes 2003-05-06 15:00:36 +00:00
mazen
54eb17b3ff - non used constants OT_* removed
* some keywords moved lower case
2003-05-06 14:58:46 +00:00
mazen
d3a37744e4 * comment changed to ;# instead of ##
* .bss section changed to .section ".bss"
2003-05-06 14:55:27 +00:00
mazen
ace3595b4f * TOldRegister isnow just an alias for TCpuRegister
* TCpuRegister is used to define cpu register set physically available
+ CpuRegs array to easially create correspondence between TCpuRegister and TRegister
2003-04-29 12:03:52 +00:00
mazen
e3431c55d9 * fixed bug of output generated assembler for a_cmp_const_ref_label 2003-04-29 11:58:21 +00:00
mazen
ca247392ff + This file is used to define all cpu registers physically available 2003-04-29 11:53:38 +00:00
mazen
03a19b6668 * signification of ths faile has changed.
* It was used to declare the cpu registers physically available
* Now, it is used to define the register allocators paris (enum,number)
2003-04-29 11:52:52 +00:00
mazen
087d28fbcb * test of invalid opcode/operand combination gives internal error 2003-04-29 11:06:15 +00:00
mazen
12b5bae421 * instruction are moved lowercase to allow using old assmeblers 2003-04-29 10:00:31 +00:00
mazen
04e19cce0d - InternalError removed from TSparcCallNode.push_framepointer as it is called by common coplier code. 2003-04-28 09:49:58 +00:00
mazen
c475df7735 + max_scratch_regs variable added because requested by common compiler code 2003-04-28 09:46:30 +00:00
mazen
fad91e6369 + NOP after conditional jump instruction to prevent delay slot execution 2003-04-28 09:44:42 +00:00
mazen
5e741c4ca2 * Debug message in SetCondition more explicit. 2003-04-28 09:40:47 +00:00
peter
60978ba89c * aktprocdef renamed to current_procdef
* procinfo renamed to current_procinfo
  * procinfo will now be stored in current_module so it can be
    cleaned up properly
  * gen_main_procsym changed to create_main_proc and release_main_proc
    to also generate a tprocinfo structure
  * fixed unit implicit initfinal
2003-04-27 11:21:32 +00:00
peter
a5e7f02527 * updated for removed lexlevel 2003-04-27 07:48:05 +00:00
peter
72ad478f97 * fix compile for ppc,sparc,m68k 2003-04-23 21:10:54 +00:00
peter
7ff85f0779 * fix sparc compile 2003-04-23 13:35:39 +00:00
florian
0284016ee9 * fixed several issues with powerpc
+ applied a patch from Jonas for nested function calls (PowerPC only)
  * ...
2003-04-23 12:35:34 +00:00