Commit Graph

5079 Commits

Author SHA1 Message Date
florian
77d8f335aa * vmtpointer_offset must be adjusted in after_pass1 as well 2003-05-10 23:57:23 +00:00
Jonas Maebe
17906f62d2 * moved storing of register parameters to memory even earlier in the
entry code to fix problems with constructors
2003-05-10 13:20:23 +00:00
Jonas Maebe
f64d66fa48 * call inherited after_header as well 2003-05-09 19:00:30 +00:00
peter
1a2eedd767 * self moved to hidden parameter
* removed hdisposen,hnewn,selfn
2003-05-09 17:47:02 +00:00
mazen
3610d66be1 * fiexed some error 2003-05-07 15:06:50 +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
e94e497653 - non used units removed from uses clause 2003-05-07 09:16:23 +00:00
mazen
a15c1adde1 * adding sparc binutils directoy support for cross
compiling
2003-05-06 21:38:43 +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
peter
e2cbae0ff1 * vs_hidden replaced by is_hidden boolean 2003-05-05 14:53:16 +00:00
Jonas Maebe
5f71d48015 * yet another final fix for second_int_to_real() :) (tested this time) 2003-05-02 15:13:38 +00:00
Jonas Maebe
2e87df3832 * fixed include/exclude for normalsets 2003-05-01 12:27:08 +00:00
Jonas Maebe
a3a3311e41 * fixed endian issue in inlined in-test for smallsets
* pass the address of normalsets to fpc_set_in_set_byte instead of the
    contents of the first 4 bytes
2003-05-01 12:26:50 +00:00
Jonas Maebe
c8ccd0f717 * fixed endian issues when writing out set constants 2003-05-01 12:24:22 +00:00
Jonas Maebe
376b1ffa17 * fix for op_reg_reg_reg in case the destination is the same as the first
source register
2003-05-01 12:23:46 +00:00
florian
b48d0f8b36 * i386 and x86-64 share second_int_to_bool, moved to nx86cnv.pas 2003-05-01 08:02:42 +00:00
florian
9612e57805 * introduced defaultordconsttype to decribe the default size of ordinal constants
on 64 bit CPUs it's equal to cs64bitdef while on 32 bit CPUs it's equal to s32bitdef
  + added defines CPU32 and CPU64 for 32 bit and 64 bit CPUs
  * int64s/qwords are allowed as for loop counter on 64 bit CPUs
2003-05-01 07:59:42 +00:00
florian
72df326165 * some 64 bit adaptions in ncgadd
* x86-64 now uses ncgadd
  * tparamanager.ret_in_acc doesn't return true anymore for a void-def
2003-04-30 22:15:59 +00:00
florian
91bbc7bea3 * error when address of an abstract method is taken
* fixed some x86-64 problems
  * merged some more x86-64 and i386 code
2003-04-30 20:53:32 +00:00
florian
59906e4e7c * fixed defines for x86-64 2003-04-30 16:35:00 +00:00
florian
de6916276a * merged more x86-64/i386 code 2003-04-30 15:45:35 +00:00
florian
9e0e8340f7 + first changes to make self a hidden parameter 2003-04-30 09:42:42 +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
michael
cf68b27bb9 + Patch from peter to fix wrong pushing of ansistring function results in open array 2003-04-29 07:28:52 +00:00
peter
dfd469b7a3 * fix stabs generation for implicit initfinal 2003-04-28 21:19:02 +00:00
peter
7c733ebcca * write sec_none info in extdebug 2003-04-28 21:17:53 +00:00
peter
6d57995944 * do not finalize function results 2003-04-28 21:17:38 +00:00
peter
5af7a2c7a0 * sharedlib is placed in exe outputdir 2003-04-28 16:18:16 +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
Jonas Maebe
d03841dc16 * store register para's to memory before copying the valuepara's, because
that one requires them to be there already (and it calls subroutines ->
    could overwrite those registers)
2003-04-27 16:30:34 +00:00
Jonas Maebe
7a3e1b917c * fixed Florian's quick hack :)
* fixed small bug 64bit range checking code
2003-04-27 14:48:09 +00:00