Commit History

Автор SHA1 Съобщение Дата
  Károly Balogh 17657ca11d m68k: more minor reference usage tweaking, hopefully fixes Mantis 26286 преди 11 години
  Károly Balogh 381cf72023 m68k: minor bits, addq/subq works also on address regs, remove reference validity check in a_op_const_ref because we have fixref() later anyway преди 11 години
  Károly Balogh 0fe656e82d m68k: simplified code generated by g_concatcopy and cleaned up the old mess from the code преди 11 години
  Károly Balogh f3bbad26c3 m68k: use MOVEA without size to load values to address regs. use a_op_const_reg in a_op_const_ref for smarter const loading when necessary преди 11 години
  Károly Balogh 28323135f8 m68k: minor optimizations to g_proc_exit() - use LEA for stackpointer math which is better than ADDing large constants, also only modify the SP reg once преди 11 години
  Károly Balogh 3b9e2a620b added a remark about a possible QEMU issue with CMP/CMPI .W and .B on ColdFire преди 11 години
  Károly Balogh 1af6d17b4d don't enforce BPL length, use SUBQ in g_concatcopy преди 11 години
  Károly Balogh 9ae38cdc1c back to more conservative sign extension. this really needs separate handling for ColdFire and normal 68k, because the CF executes 32bit arithmetics only while normal 68k will do any size happily. преди 11 години
  Károly Balogh bca09a8f69 reverted parts of r27117 because it caused regressions преди 11 години
  Károly Balogh c7d1cef334 support sign/zero extension to subreg sizes, not just always to 32bit преди 11 години
  Károly Balogh 552ab2938e avoid some unnecessary sign extensions преди 11 години
  Károly Balogh 3a464dbdcf don't swap the base and index registers if we have a scalefactor преди 11 години
  Károly Balogh 7b05113322 addressing improvements: fixref can swap base/index registers if better fits 68k pattern, less need to move around registers. also fix reference in a_op_const_ref. преди 11 години
  Károly Balogh 13210ff7d4 use MVZ/MVS ColdFire instructions to load constants where applicable преди 11 години
  Károly Balogh 1d5f74fae0 m68k implementation of g_save_registers and g_restore_registers using movem.l преди 11 години
  Károly Balogh 8730b1bf45 cleaned up g_proc_exit, optimized generated code and also added some comments about possible ABI variations. the changes also fix two tests on my system related to cdecl procedures преди 11 години
  Károly Balogh bd4cc3b8f3 cleaned up, reindented, simplified and allowed some minor optimizations in tcg64f68k преди 11 години
  Károly Balogh 74533a7c90 avoid generating addressing like <label>+8(aX), since this might fail during linking if label is more than 32k away, fixes linking with lineinfo unit here преди 11 години
  Károly Balogh 667ec17cae tiny optimization for clearing address regs преди 11 години
  Károly Balogh 047395df5f implemented add/sub ops in a_op_reg_ref, since these are used often. also fixed up reference handling in a_op_const_ref a bit преди 11 години
  Károly Balogh cd4bb364e5 reenabled and fixed up tcg68k.op_const_ref a bit преди 11 години
  nickysn 85dd9e5789 + added a size parameter to optimize_op_const and do a sign extension of the 'a' parameter up from the specified size, so that things like (i and $ffffffff) get optimized away the same way as (i and -1) преди 11 години
  Károly Balogh b37ebeaabd disabled a_loadaddr_ref_cgpara() for m68k, this code was copy-pasted from x86 probably and could never work properly as it is преди 11 години
  Károly Balogh 74af6d0dab enabled hardware mul reg, reg codepath for ColdFire too, accelerates tfloattostr test (thus some of the SoftFPU code) by a magnitude... преди 12 години
  Károly Balogh e5eac1bd44 make the array of registers to use depending on wheter we have an FP or not, and which register we have as FP преди 12 години
  svenbarth 6fef9a2c80 Correctly implement g_intf_wrapper. Fixes nearly 200 tests and now the cross compiled compiler is at least able to print the help (compiling a simple program does not work yet though). преди 12 години
  svenbarth a4683461cf Fix around 25 tests (under them all tcalval* tests!) by indeed using the save/restore registers code I adjusted earlier. преди 12 години
  Károly Balogh 1f11c39a5d * huge m68k/cgcpu.pas cleanup and improvement commit преди 12 години
  svenbarth b1d79494dd Fix around 30 tests by using a volatile register for restoring the stack pointer преди 12 години
  svenbarth 20587d8547 And another place where I forgot to (de)allocate address registers... преди 12 години