Jonas Maebe
|
67b8aceaee
* synchronized with privatetrunk till r30095
|
10 years ago |
Jonas Maebe
|
2ab7f5c35d
* moved x86-specific requirements from the generic bsr/bsf code to the
|
10 years ago |
florian
|
80cc09e350
o fix wince compilation:
|
10 years ago |
Jeppe Johansen
|
47dbec3111
Rebase to trunk revision
|
10 years ago |
sergei
|
472310d83f
* ARM: Fixed interface wrapper generation after r28542 for targets without BX instruction.
|
10 years ago |
Jeppe Johansen
|
2ac11e4b82
Use proper relocation type for Thumb-2 BLX.
|
10 years ago |
Jeppe Johansen
|
6976af8365
Change .thumb_func to be an ait_directive instead of it's own tai type.
|
10 years ago |
Jeppe Johansen
|
9e5979e8be
Implemented UAL syntax support in the ARM assembler reader. Can be toggled with a field for now, but not implemented yet. Still using pre-UAL syntax for now.
|
10 years ago |
Károly Balogh
|
1b0a1f4508
ARM: mimic what GNU C does while calling the profiling mcount on ARM
|
11 years ago |
Károly Balogh
|
739c66291d
ARM: first naive attempt to get gprofiling work for arm-linux. (Work-In-Progress, but at least for me it doesn't explode)
|
11 years ago |
florian
|
3f71b059e5
* improve ldr*/str* handling for arm thumb
|
11 years ago |
florian
|
8a7c16327c
* fixes reference handling for arm thumb and ldrh, not perfect yet
|
11 years ago |
florian
|
81c717fc06
+ implemented tthumbcgarm.g_external_wrapper in a way which does not destroy lr
|
11 years ago |
florian
|
dffdde7d53
* fixes reference handling for arm thumb and ldrb, not perfect yet and other ldr/str types might need similiar fixes
|
11 years ago |
florian
|
836a6e46ca
* several issues with interface wrappers for thumb fixed
|
11 years ago |
Jonas Maebe
|
b745dcc64c
* moved g_external_wrapper() to the hlcg, and also g_intf_wrapper() because
|
11 years ago |
sergei
|
e4fea2ebc8
* Dummy implementations of a_bit_scan_reg_reg and g_stackpointer_alloc in tcg, removes the need to override these methods in every descendant code generator solely to avoid "constructing a class with abstract method" warning.
|
11 years ago |
Jeppe Johansen
|
a1197460e1
Constrained a number of optimizations and updated reference offsets for ARM Thumb.
|
11 years ago |
masta
|
0cb1a129b3
{ARM} Implement usage of generic division-by-const optimization
|
11 years ago |
Károly Balogh
|
af95876eba
arm: an attempt to improve the a_op_const_ref patch in r27881
|
11 years ago |
Károly Balogh
|
5b262df7d0
arm: have a CPU specific op_const_ref, so the reference doesn't get fixed up both in a_load_reg_ref and a_load_ref_reg
|
11 years ago |
florian
|
8dfcc2b399
* do not reuse tmp. registers in tbasecgarm.handle_load_store
|
11 years ago |
florian
|
9464dad2b4
* handle vldr/vstr references with offsets correctly
|
11 years ago |
florian
|
686a2d2f3f
+ Support omitting the frame pointer on arm even in procedures with incoming parameters
|
11 years ago |
florian
|
6deb0b35b5
* handle fpu_vfpv3_d16 properly for thumb2
|
11 years ago |
masta
|
2d2cab0e7a
Fix some internalerror codes in the ARM CG
|
11 years ago |
sergei
|
9c1f917e3a
* a_call_ref functionality cannot be implemented efficiently at code generator level, because references need specific preparations at earlier points. Moved this support to tcgcallnode and its x86 descendants, and got rid of all ifdef's around.
|
11 years ago |
Jeppe Johansen
|
07b2982e77
Don't do ARM FoldShiftLdrStr peephole optimization if there's an offset in the reference.
|
11 years ago |
masta
|
0736bf4ded
Try to change typical constant AND-masking operations into shifts for ARM
|
11 years ago |
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 years ago |