Commit Graph

5923 Commits

Author SHA1 Message Date
Jonas Maebe
e4312930d1 * fixed usigned overflow checking 2003-12-08 21:18:44 +00:00
Jonas Maebe
fd8625f3eb * if there are assertions, include pi_do_call in procinfo.flags 2003-12-08 21:17:12 +00:00
peter
1d11c6d651 * line break in uses unit 2003-12-08 21:04:08 +00:00
peter
aa67951cf4 * copy loopflags 2003-12-08 19:29:21 +00:00
florian
dd8f11e8e1 * fixed ldm/stm arm assembler reading
* fixed a_load_reg_reg with OS_8 on ARM
  * non supported calling conventions cause only a warning now
2003-12-08 17:43:57 +00:00
peter
52ffda0bc4 * varargspara is left-right, so adding paraitems needs insert
instead of concat
2003-12-08 16:34:23 +00:00
peter
cea1da4a1e * fix loading of word/byte to real 2003-12-08 15:35:00 +00:00
mazen
3884537785 + support for native sparc assembler reader 2003-12-08 13:02:21 +00:00
florian
2e5c899b81 + dummy tppcparamanager.create_varargs_paraloc_info added 2003-12-07 22:35:05 +00:00
florian
e63ae3ffee * a_load_ref_ref isn't allowed to be used in g_stackframe_entry 2003-12-07 21:59:21 +00:00
Jonas Maebe
f3d82160b1 * fixed some more bugs which only showed up in a ppc cross compiler 2003-12-07 19:19:56 +00:00
Jonas Maebe
62394e45d7 * moved count_locals from pstatmnt to symutils
* use count_locals in powerpc/cpupi to check whether we should set the
    first temp offset (and as such generate a stackframe)
2003-12-07 16:40:45 +00:00
Jonas Maebe
24fe6134a0 * fixed typo found by Charlie 2003-12-07 16:28:30 +00:00
Jonas Maebe
5c7dba9167 * fixed g_rangecheck64 so it works again for big endian 2003-12-07 15:00:45 +00:00
Jonas Maebe
d564bd6027 * go to the next character after consuming a "%" 2003-12-07 14:03:37 +00:00
Jonas Maebe
eb803d4ad1 * fixed ansistring/widestring results: deallocate result reg only after
it has been stored to memory, as the storing itself may require extra
    results (e.g. on ppc)
2003-12-07 12:41:32 +00:00
Jonas Maebe
5f2356f45d * finally fixed int->bool conversion properly 2003-12-07 11:21:05 +00:00
Jonas Maebe
2aba43c797 * completely overhauled and fixed generic spilling code. New method:
spilling_get_operation_type(operand_number): returns the operation
    performed by the instruction on the operand: read/write/read+write.
    See powerpc/aasmcpu.pas for an example
2003-12-06 22:16:12 +00:00
Jonas Maebe
30cf6be249 * another fix to a_load_ref_reg()
+ implemented uses_registers() method
2003-12-06 22:13:53 +00:00
Jonas Maebe
062e03528e + allocate volatile registers around calls to procedures declared with
"saveregisters" on non-x86 processors
2003-12-06 22:11:47 +00:00
florian
bfe452936f * reverted Peter's alloctemp patch; hopefully properly 2003-12-06 01:15:22 +00:00
Jonas Maebe
8cb716ca56 * fixed load_ref_reg for source > dest size 2003-12-05 22:53:28 +00:00
peter
d2cca3fe56 * missing handle_calling_convention() 2003-12-04 23:27:49 +00:00
peter
1407a03ff1 * remove redundant calls to add_edge_used 2003-12-04 23:27:32 +00:00
Jonas Maebe
255589e12e * fixed some int<->boolean type conversion issues 2003-12-04 20:37:02 +00:00
mazen
82f816233d + added support for spac assembler reader 2003-12-04 10:46:19 +00:00
peter
64b0a0eadf * delayed paraloc allocation, a_param_*() gets extra parameter
if it needs to allocate temp or real paralocation
  * optimized/simplified int-real loading
2003-12-03 23:13:19 +00:00
peter
bd07b65cfd * don't turn off debuginfo when line info is requested 2003-12-03 17:45:36 +00:00
florian
1a87a5ed45 * fixed several arm calling conventions issues
* fixed reference reading in the assembler reader
  * fixed a_loadaddr_ref_reg
2003-12-03 17:39:04 +00:00
peter
e3beb78184 * exitlabel for inline procs 2003-12-02 21:23:34 +00:00
peter
9aba5c8c7a * fixed some crashes
* fixed varargs and register calling probs
2003-12-01 18:44:15 +00:00
peter
1b0d0ca3c4 * s128real type is not compatible with s80real 2003-12-01 18:43:31 +00:00
florian
a567970402 * fixed several arm related problems 2003-11-30 19:35:29 +00:00
Jonas Maebe
4ac4d2cadb * fixded fixref() regarding the reallocation of already freed registers
used in references
2003-11-30 11:32:12 +00:00
Jonas Maebe
08a966d88a * fixed fpu regallocator initialisation 2003-11-30 10:16:05 +00:00
Jonas Maebe
49d1c79f5e * fixed compilation for non-x86 2003-11-30 10:15:42 +00:00
Jonas Maebe
8ad6133ea3 * more ppc fixes, hello world works again under linuxppc 2003-11-29 22:54:32 +00:00
florian
ea754b9a49 * fixed several pi_do_call problems 2003-11-29 20:13:25 +00:00
Jonas Maebe
8cb7f46d9c * fixed writing of conditional branches which only depend on the value
of ctr
2003-11-29 18:17:26 +00:00
Jonas Maebe
dbe054ba4e * don't internalerror when emitting debuginfo for LOC_FPUREGISTER 2003-11-29 18:16:39 +00:00
peter
db60537005 * fixed is_move 2003-11-29 17:36:56 +00:00
peter
825d5b4ed7 * check for add_move_instruction 2003-11-29 17:36:41 +00:00
Jonas Maebe
d5373d5971 * fixed several ppc assembler reader related problems
* local vars in assembler procedures now start at offset 4
  * fixed second_int_to_bool (apparently an integer can be in  LOC_JUMP??)
2003-11-29 16:27:19 +00:00
peter
90a0c832e4 * Initialize() added 2003-11-29 16:19:54 +00:00
florian
11c5331fbf + nasmelf mode for BeOS
+ DQWORD directive in intel assembler mode
2003-11-29 15:53:06 +00:00
peter
2d08c072b5 * fix crash with exit() in a procedure 2003-11-29 14:49:46 +00:00
peter
bc762e9af4 * support type() 2003-11-29 14:41:02 +00:00
peter
353219a928 * typed address only used for @ and addr() that are parsed 2003-11-29 14:33:13 +00:00
Jonas Maebe
7f4a3bf1a9 * fixed bug which only showed up in the ppc crosscompiler :) 2003-11-28 18:49:05 +00:00
peter
b26e3c444a * reversed offset calculation for caller side so it works
correctly for interfaces
2003-11-28 17:24:22 +00:00