florian
65eba18e20
* fixed passing of small const arrays and const records, they are always passed by reference
2003-05-11 23:19:32 +00:00
Jonas Maebe
3aeff19a60
* fixed procvar bug on the ppc (load procvar before loading para's,
...
because the procvar may otherwise destroy the already loaded paras)
2003-05-11 21:48:38 +00:00
peter
26d78ff5c9
* moved implicit exception frame from ncgutil to psub
...
* constructor/destructor helpers moved from cobj/ncgutil to psub
2003-05-11 21:37:03 +00:00
Jonas Maebe
7d5a2715f6
* fixed bug with large offsets in entrycode
2003-05-11 20:59:23 +00:00
Jonas Maebe
7fc5c04a14
* fixed bug in second_int_to_bool I introduced previous time
...
(secondpass was being called twice!)
2003-05-11 20:42:08 +00:00
florian
76f18e2fc9
* fixed implicit init/final code for units, stack frame was wrong for ppc
2003-05-11 19:31:28 +00:00
florian
fa27f77a17
* FPC_LITTLE_ENDIAN and FPC_BIG_ENDIAN is now defined as well
2003-05-11 19:17:16 +00:00
peter
15b0132f6f
* tloadnode does not support objectsymtable,withsymtable anymore
...
* withnode cleanup
* direct with rewritten to use temprefnode
2003-05-11 14:45:12 +00:00
Jonas Maebe
f616bfd3e2
* fixed second_int_to_bool() (but still problem with typecasts used for
...
var parameters, not sure about solution)
2003-05-11 13:06:44 +00:00
Jonas Maebe
b993c4e2db
* fixed shifts
2003-05-11 11:45:08 +00:00
Jonas Maebe
1ff5307e5d
+ op_reg_reg_reg_const_const (for rlwnm)
2003-05-11 11:08:25 +00:00
Jonas Maebe
2c81208d56
* fixed optimizations in a_op_const_reg_reg()
2003-05-11 11:07:33 +00:00
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