Jonas Maebe
|
67b8aceaee
* synchronized with privatetrunk till r30095
|
10 gadi atpakaļ |
Jonas Maebe
|
2ab7f5c35d
* moved x86-specific requirements from the generic bsr/bsf code to the
|
10 gadi atpakaļ |
florian
|
80cc09e350
o fix wince compilation:
|
10 gadi atpakaļ |
sergei
|
472310d83f
* ARM: Fixed interface wrapper generation after r28542 for targets without BX instruction.
|
10 gadi atpakaļ |
Károly Balogh
|
1b0a1f4508
ARM: mimic what GNU C does while calling the profiling mcount on ARM
|
11 gadi atpakaļ |
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 gadi atpakaļ |
florian
|
3f71b059e5
* improve ldr*/str* handling for arm thumb
|
11 gadi atpakaļ |
florian
|
8a7c16327c
* fixes reference handling for arm thumb and ldrh, not perfect yet
|
11 gadi atpakaļ |
florian
|
81c717fc06
+ implemented tthumbcgarm.g_external_wrapper in a way which does not destroy lr
|
11 gadi atpakaļ |
florian
|
dffdde7d53
* fixes reference handling for arm thumb and ldrb, not perfect yet and other ldr/str types might need similiar fixes
|
11 gadi atpakaļ |
florian
|
836a6e46ca
* several issues with interface wrappers for thumb fixed
|
11 gadi atpakaļ |
Jonas Maebe
|
b745dcc64c
* moved g_external_wrapper() to the hlcg, and also g_intf_wrapper() because
|
11 gadi atpakaļ |
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 gadi atpakaļ |
Jeppe Johansen
|
a1197460e1
Constrained a number of optimizations and updated reference offsets for ARM Thumb.
|
11 gadi atpakaļ |
masta
|
0cb1a129b3
{ARM} Implement usage of generic division-by-const optimization
|
11 gadi atpakaļ |
Károly Balogh
|
af95876eba
arm: an attempt to improve the a_op_const_ref patch in r27881
|
11 gadi atpakaļ |
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 gadi atpakaļ |
florian
|
8dfcc2b399
* do not reuse tmp. registers in tbasecgarm.handle_load_store
|
11 gadi atpakaļ |
florian
|
9464dad2b4
* handle vldr/vstr references with offsets correctly
|
11 gadi atpakaļ |
florian
|
686a2d2f3f
+ Support omitting the frame pointer on arm even in procedures with incoming parameters
|
11 gadi atpakaļ |
florian
|
6deb0b35b5
* handle fpu_vfpv3_d16 properly for thumb2
|
11 gadi atpakaļ |
masta
|
2d2cab0e7a
Fix some internalerror codes in the ARM CG
|
11 gadi atpakaļ |
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 gadi atpakaļ |
Jeppe Johansen
|
07b2982e77
Don't do ARM FoldShiftLdrStr peephole optimization if there's an offset in the reference.
|
11 gadi atpakaļ |
masta
|
0736bf4ded
Try to change typical constant AND-masking operations into shifts for ARM
|
11 gadi atpakaļ |
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 gadi atpakaļ |
masta
|
3ab665e554
Try to split constant XORs into two shiftimms on ARM.
|
11 gadi atpakaļ |
masta
|
f8889e3d6d
Use optimize_op_const in ARM cg
|
11 gadi atpakaļ |
florian
|
561ec1f782
* unified internal errors
|
11 gadi atpakaļ |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
11 gadi atpakaļ |