Karoly Balogh
|
6bbb10e64d
m68k: do not generate LEA instructions with explicitly specified size. only long is possible anyway.
|
2 years ago |
Karoly Balogh
|
92e5ede347
m68k: fixed the capabilities flags inverted logic issues committed in 7d23c2e9
|
2 years ago |
Karoly Balogh
|
7d23c2e9d0
m68k: use CPU capabilities at places instead of hardwiring cpu_coldfire
|
2 years ago |
Karoly Balogh
|
59c33d69ab
Revert "m68k: utilize cg.a_loadaddr_ref_cgpara in hlcgcpu" for now, turns out it's not needed
|
3 years ago |
Karoly Balogh
|
ed520548be
m68k: utilize cg.a_loadaddr_ref_cgpara in hlcgcpu, as m68k has an instruction for loading addresses directly to the stack (PEA), and the default implementation of hlcg.a_loadaddr_ref_cgpara doesn't use that code path
|
3 years ago |
Karoly Balogh
|
be2c1c751d
* m68k: fixed the register save/restore for larger than 32K stackframes on subarchs which has no long displacement, to not trash register A0
|
3 years ago |
Karoly Balogh
|
077a3f1892
* m68k: don't attempt to copy less than 1 byte in g_concatcopy, this fixes tdfa7.pp on 68000 and removes some superfluous address processing on 68020+ in the same test
|
3 years ago |
Karoly Balogh
|
8f083f6342
* m68k: do not generate unnecessary unaligned load sequences for byte loads into registers, this fixes tcnvint1 test on plain 68000
|
3 years ago |
Károly Balogh
|
d0178f7ae0
m68k: fix a_loadfpu_ref_reg to call a_loadfpu_reg_reg instead of a_load_reg_reg. made a_loadfpu_reg_reg internalerror on invalid target sizes when loading to a different reg size
|
4 years ago |
Károly Balogh
|
10fa12bbae
m68k: take rounding requirements into account in a_loadfpu_reg_reg and a_loadfpu_ref_reg
|
4 years ago |
Károly Balogh
|
7f96a26de0
m68k: in g_concatcopy, check the actual alignment of references being copied rather than always excluding word and dword sized direct copies on a 68000
|
4 years ago |
florian
|
fbb2e63fea
+ #QLvember work: stack frame optimization for m68k
|
4 years ago |
florian
|
5ca2356638
* take care of po_noreturn in more cases
|
4 years ago |
florian
|
637976e83f
* patch by Marģers to unify internal error numbers, resolves #37888
|
4 years ago |
florian
|
995d2d280a
- no need to call add_move_instruction if data is moved between different register classes
|
5 years ago |
Károly Balogh
|
c38efe6d18
m68k: tabs to spaces and indentation fix, no functional change
|
5 years ago |
Károly Balogh
|
fc5c35362b
m68k: preparations for upcoming full instruction tables, mostly converting code away from using sets of opcodes
|
5 years ago |
Jonas Maebe
|
1e3f72403e
* renamed getintparaloc to getcgtempparaloc
|
5 years ago |
pierre
|
7d12e8cc6d
Avoid warnings for m68k compiler
|
5 years ago |
pierre
|
1bed61195e
Fix m68k errors with -CriotR option
|
5 years ago |
Károly Balogh
|
de095c4631
m68k: refactoring to use fpu_capabilities at more places instead of hardwiring certain fpu types
|
5 years ago |
Károly Balogh
|
3662afe93b
m68k: added more cpu capabilities. changed the CG at a few places to actually use them
|
6 years ago |
pierre
|
53a27fe7b3
Disable range check in m68k:tiscv32 and riscv64 cgcpu units
|
6 years ago |
pierre
|
0bcf9a51d9
Avoid range check error when compiled with -CR
|
6 years ago |
Jonas Maebe
|
0b246f3dbd
* converted Boolean8 to an internal type, and mapped Boolean to the
|
6 years ago |
Jonas Maebe
|
4686f61002
* keep track of the temp position separately from the offset in references,
|
7 years ago |
nickysn
|
518cdf9674
* replaced the saved_XXX_registers arrays with virtual methods inside
|
7 years ago |
Károly Balogh
|
64e7c90147
m68k: some quickhacks to support PalmOS reg-relative globals and quick-n-dirty small code PIC. needs some cleanup, but the basic idea will be useful a potential for MacOS and Amiga .library support as well, among others
|
7 years ago |
Károly Balogh
|
358f8eb85d
m68k: do not internalerror on localsize < 0. this condition is handled elsewhere in the compiler properly, so we just let it through
|
8 years ago |
Károly Balogh
|
02ed753fab
m68k: yet another attempt to fix small struct alignments on stack
|
8 years ago |