sergei
|
4df49964ca
* tcg68k.a_op_reg_reg: renamed parameters 'reg1' and 'reg2' to 'src' and 'dst' to make it clear what's what.
|
vor 11 Jahren |
sergei
|
3851c1f494
- m68k: removed a_loadmm_* methods, no need to override because they produce internal error already in base class.
|
vor 11 Jahren |
sergei
|
acd3ea8750
* m68k: Fixed parameter passing to conform to ABI:
|
vor 11 Jahren |
Károly Balogh
|
5276de5627
m68k: restored orglen variable to g_concatcopy which was actually used, but still got removed in r28072
|
vor 11 Jahren |
Károly Balogh
|
3028f3ac78
m68k: disabled PEA debug comment accidentally left in
|
vor 11 Jahren |
Károly Balogh
|
d93e7b3367
m68k: cleaned ancient silly debug mess from a_loadaddr_ref_reg. no functional changes.
|
vor 11 Jahren |
Károly Balogh
|
1388cb9bae
m68k: implemented a proper a_loadaddr_ref_cgpara instead of the disabled mess in the source, utilizing the PEA instruction
|
vor 11 Jahren |
sergei
|
4c3eb391ef
* m68k: cleaned out unused variables in cgcpu.pas
|
vor 11 Jahren |
sergei
|
ad59098457
+ m68k: initial implementation of g_stackpointer_alloc method, it has to exist for targets with non-fixed stack.
|
vor 11 Jahren |
Károly Balogh
|
531ac093ed
m68k: implemented a simple a_cmp_const_ref_label. uses TST instruction to test ref contents against zero
|
vor 11 Jahren |
Károly Balogh
|
519094055c
m68k: cleaned up and fixed cgcpu/fixref for coldfire at least; also enabled n68kmem node, so addressing with scaling is generated now
|
vor 11 Jahren |
Károly Balogh
|
0045f34322
tabs to spaces and indentation fix, no functional changes
|
vor 11 Jahren |
Károly Balogh
|
7963351440
m68k: removed comment generation line accidentally left in from the previous commit
|
vor 11 Jahren |
Károly Balogh
|
ed3ce4087a
m68k: try to generate a bit smaller code in g_adjust_self; also changed two JMPs to S_NO from S_L, because JMP is unsized anyway
|
vor 11 Jahren |
Károly Balogh
|
1b11541c90
m68k: simplification and cleanup of g_proc_entry. the generated code shouldn't change
|
vor 11 Jahren |
Károly Balogh
|
17657ca11d
m68k: more minor reference usage tweaking, hopefully fixes Mantis 26286
|
vor 11 Jahren |
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
|
vor 11 Jahren |
Károly Balogh
|
0fe656e82d
m68k: simplified code generated by g_concatcopy and cleaned up the old mess from the code
|
vor 11 Jahren |
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
|
vor 11 Jahren |
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
|
vor 11 Jahren |
Károly Balogh
|
3b9e2a620b
added a remark about a possible QEMU issue with CMP/CMPI .W and .B on ColdFire
|
vor 11 Jahren |
Károly Balogh
|
1af6d17b4d
don't enforce BPL length, use SUBQ in g_concatcopy
|
vor 11 Jahren |
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.
|
vor 11 Jahren |
Károly Balogh
|
bca09a8f69
reverted parts of r27117 because it caused regressions
|
vor 11 Jahren |
Károly Balogh
|
c7d1cef334
support sign/zero extension to subreg sizes, not just always to 32bit
|
vor 11 Jahren |
Károly Balogh
|
552ab2938e
avoid some unnecessary sign extensions
|
vor 11 Jahren |
Károly Balogh
|
3a464dbdcf
don't swap the base and index registers if we have a scalefactor
|
vor 11 Jahren |
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.
|
vor 11 Jahren |
Károly Balogh
|
13210ff7d4
use MVZ/MVS ColdFire instructions to load constants where applicable
|
vor 11 Jahren |
Károly Balogh
|
1d5f74fae0
m68k implementation of g_save_registers and g_restore_registers using movem.l
|
vor 11 Jahren |