Jeppe Johansen
|
91016c97a4
AVR: Add optimizations for sign testing, and a better Abs() implementation.
|
6 years ago |
Jeppe Johansen
|
030cf78ac5
- Fix overflow checking for multiplication operations on AVR.
|
6 years ago |
Jeppe Johansen
|
5bdc635f50
Check if the current register was the last in the cgpara, to avoid running over the last register allocated.
|
6 years ago |
florian
|
8fceba4493
* properly allocate parameter registers for constants on avr, resolves #33932
|
6 years ago |
florian
|
917de001d6
* patch (slighly modified) by Christo Crause to write 16 bit registers on avr in hi/lo order, resolves #34721
|
6 years ago |
Jonas Maebe
|
0b246f3dbd
* converted Boolean8 to an internal type, and mapped Boolean to the
|
6 years ago |
Jonas Maebe
|
d69ad8fa41
* removed temppos field again from parameter locations: they're not allocated
|
7 years ago |
Jonas Maebe
|
4686f61002
* keep track of the temp position separately from the offset in references,
|
7 years ago |
florian
|
ee252d0ecd
+ allocate real registers properly in tcgavr
|
7 years ago |
florian
|
3a81ccf48b
* simplify tcgavr.a_op_reg_reg_internal
|
7 years ago |
florian
|
23722a2f95
* correctly negate 8 bit values on avr, resolves #33322
|
7 years ago |
florian
|
311bcd4c08
* do not destroy flags while clearing R1, resolves #33170
|
7 years ago |
florian
|
291ee4b562
* clear r1 (and save/restore) in interrupt routines on avr
|
7 years ago |
florian
|
cb087279d6
* do not generate an andi if the constant is 255
|
7 years ago |
florian
|
7817102727
* patch by Christo Crause to implement 8 bit multiplications for "mul-less" avr types, resolves issue #31925
|
7 years ago |
florian
|
9ef646e3c5
* fix avr for new GetNextReg behaviour
|
7 years ago |
nickysn
|
db09759763
* also integrated the getnextreg() implementation for 8-bit and 16-bit alus from
|
8 years ago |
nickysn
|
cf28b202eb
* integrated the getintregister() implementation for 8-bit and 16-bit alus from
|
8 years ago |
nickysn
|
ddba821561
* GetNextReg(), used by 16-bit and 8-bit code generators (i8086 and avr) moved
|
8 years ago |
nickysn
|
3c96090d3c
+ optimized avr code generation for shr by shiftcount=size*8-1 and sar by
|
8 years ago |
nickysn
|
5138d4e067
* fixed avr multiplication after r36344
|
8 years ago |
florian
|
0954e09834
* correctly handle 16 bit signed operations on AVRs without mul instruction, resolves #31036
|
8 years ago |
Jonas Maebe
|
a25ebbba3e
+ added volatility information to all memory references
|
8 years ago |
florian
|
0882c13cb7
* do not move dest to a new register if not needed in tcgavr.g_concatcopy
|
8 years ago |
Jonas Maebe
|
0afbe85aab
* various memory reference alignment fixes
|
9 years ago |
Jonas Maebe
|
aa1be3276f
- removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol():
|
9 years ago |
Jeppe Johansen
|
159c28eca8
Fix AVR comparison with zero.
|
9 years ago |
Jeppe Johansen
|
5ec4d38231
Add support for ram-less AVR chips and simultanously optimize flash/ram size the initfinal calling sequence.
|
9 years ago |
Jeppe Johansen
|
14020b044c
Fix bug in gen_load_cgpara_loc for 64bit registers on 8bit architectures.
|
9 years ago |
Jeppe Johansen
|
1a285a7d24
Fixed an off-by-one error in a_load_const_cgpara which caused some problems.
|
9 years ago |