Károly Balogh
|
2b250a1b0a
m68k: use a_load_ref_ref in a_load_ref_cgpara instead of a custom loading code which does the same. causes no changes in generated code
|
hace 9 años |
Károly Balogh
|
88e14dc456
m68k: only extend the dest reg to tosize during reg-reg moves. this removes a large amount of unnecessary sign and zero extensions from the generated code. this was attempted before, but thanks to other fixes it no longer causes testsuite regressions
|
hace 9 años |
Károly Balogh
|
92b2cf917d
m68k: when saving/restoring FPU registers, use the right FPU register size on ColdFire to calculate the stored size
|
hace 9 años |
Károly Balogh
|
aa8b45904e
m68k: use the existing g_call infrastructur to handle the register allocation in the helpers
|
hace 9 años |
Károly Balogh
|
0b7464e4cd
m68k: fix large const loading to address registers
|
hace 9 años |
Károly Balogh
|
f48747adf5
m68k: reworked cg.g_concatcopy. generates shorter and faster code in most cases now.
|
hace 9 años |
Károly Balogh
|
4287f81b92
m68k: support and use float TResFlags in the rest of the CG. ColdFire FPU now works, and FSxx is no longer generated which is software supported on '060, and doesn't exist on CF. if we still want to support it later, we can add it to cg.g_flags2reg
|
hace 9 años |
Károly Balogh
|
9d2dad2463
m68k: added cpu type cfv4e, which is the only ColdFire with FPU, and GNU AS needs this to actually allow CF FPU code
|
hace 9 años |
Károly Balogh
|
bd564b8933
m68k: some code to support the ColdFire v4e FPU. not functional yet.
|
hace 9 años |
Károly Balogh
|
4e964c2ed7
m68k: rewrote fixref and a_load_ref_ref, fixing a bunch of problems on ColdFire, unifying and simplifying the code a lot, and hopefully not killing anything in the process
|
hace 9 años |
Károly Balogh
|
1e0763e251
m68k: use a_load_const_ref in a_load_const_cgpara to utilize the recently added optimized small const loading here too. this change alone shaves off ~80KB from the compiled FP IDE size...
|
hace 9 años |
Károly Balogh
|
185ee93312
m68k: if we're loading small (8 bit signed) values into long references, move them through a register (usually with MOVEQ). this is two bytes shorter and also faster on most 68k CPUs
|
hace 9 años |
Károly Balogh
|
c82328e3fd
m68k: implemented tcg68k.check_register_size for future use. use R_SUBNONE for FPU registers, because R_SUBWHOLE will change. use isregoverlap in a_load_reg_reg
|
hace 9 años |
Károly Balogh
|
3c0dca44d3
m68k: fixed a copypaste fail in tcg68k.g_restore_registers, which affected FPU register restoring
|
hace 9 años |
Jonas Maebe
|
61e4a1b811
+ added tasmlist parameter to getintparaloc() (needed for llvm)
|
hace 10 años |
Jonas Maebe
|
201121d7c9
* synchronised with trunk till r30345
|
hace 10 años |
Károly Balogh
|
b617345e43
m68k: disabled premature MOVEA #0,Ax to SUBA Ax,Ax in the CG, because it breaks with spilling temp replacement and moved it to the optimizer, where it belongs. this fixes some code with potentially heavy address register pressure, like the IDE.
|
hace 10 años |
Jonas Maebe
|
bd203a5b57
* synchronised with trunk till r30240
|
hace 10 años |
Károly Balogh
|
2555f12394
m68k: improved handling of moves and sign/zero extensions targeting address regs
|
hace 10 años |
Károly Balogh
|
935820293c
m68k: in tm68ktypeconvnode.int_to_real, fix the reference before using it, and if the source is a register, make sure it's a data register
|
hace 10 años |
Károly Balogh
|
1121c2e6ce
m68k: before doing a reg->ref operation, make sure the source is a datareg
|
hace 10 años |
Jonas Maebe
|
67b8aceaee
* synchronized with privatetrunk till r30095
|
hace 10 años |
Károly Balogh
|
106056f462
m68k: more FMOVEM.X store/load size fixes
|
hace 10 años |
Károly Balogh
|
acaf382ea0
m68k: FMOVEM.X stores/loads each reg as 12 bytes (96 bits) not 10 bytes (80 bits), see 68k PRM, page 5-86
|
hace 10 años |
Károly Balogh
|
a526b0e5d6
m68k: implemented some missing bits of FPU cgpara handling, functions with float arguments seem to work much better now
|
hace 10 años |
Károly Balogh
|
06dfa4d30c
m68k: also alloc FPU registers during RTL helper calls
|
hace 10 años |
Károly Balogh
|
a99c9c29b6
m68k: basic 68881 FPU register save/restore support. probably still needs some work here and there.
|
hace 10 años |
Károly Balogh
|
7a91d5f495
m68k: oops, unbroke the build with softfpu
|
hace 10 años |
Károly Balogh
|
d000b1bc7c
m68k: basic 68881 fpu support. probably still broken at umpzillion places, and mostly untested, but at least it builds the RTL and all packages successfully with -Cp68020 -Cf68881 instead of dying with random internalerrors() and now even emits actual FPU opcodes.
|
hace 10 años |
Károly Balogh
|
3b205742b6
m68k: also try to optimize a special case of OP_SAR using the SWAP instruction
|
hace 11 años |