Jeppe Johansen
|
914e9e7b49
Merged from trunk
|
10 years ago |
Jonas Maebe
|
2ab7f5c35d
* moved x86-specific requirements from the generic bsr/bsf code to the
|
10 years ago |
Jonas Maebe
|
edb3124ae8
* copy arrays passed by value to cdecl routines on the callee side even on
|
10 years ago |
Jonas Maebe
|
2dbfbd40ab
* unified hlcg.g_copyvalueparas and ncgutil.copyvalueparas, they have the
|
10 years ago |
Jonas Maebe
|
6e12ad817f
* don't make copies of arrays passed as value parameters to cdecl routines
|
10 years ago |
Jonas Maebe
|
c6ba0bb6fb
+ support for targets that require by-reference value parameters to be
|
10 years ago |
Jeppe Johansen
|
47dbec3111
Rebase to trunk revision
|
10 years ago |
Jonas Maebe
|
fde6448063
* don't directly add something to ref.index in get_bit_reg_ref_sref, as it
|
10 years ago |
florian
|
69ac7dd7ef
* limit initialization to register variables which really need to be initialized
|
10 years ago |
Jeppe Johansen
|
6976af8365
Change .thumb_func to be an ait_directive instead of it's own tai type.
|
10 years ago |
nickysn
|
9758a53fa6
- rm the ifdef cpu16bitalu and cpu64bitalu from thlcgobj.a_load_ref_cgpara,
|
11 years ago |
sergei
|
1ec5026465
* Call fpc_shortstr_to_shortstr instead of fpc_shortstr_assign. It is the same procedure with different order of parameters (suited for generation from node level). Now fpc_shortstr_assign remains needed only for bootstrapping.
|
11 years ago |
svenbarth
|
5c1b8fdad9
Fix for Mantis #19697. For this we need to have the internal static var symbol know that it came from a static field var symbol so that we can check that for generic or not.
|
11 years ago |
nickysn
|
26b53607f8
+ added method reference_reset_base with support for different pointer types to
|
11 years ago |
florian
|
303e8c609d
* internalerror unified
|
11 years ago |
Jonas Maebe
|
73a3f5ced4
* moved ncgutil.maybechangeloadnodereg() to hlcg.maybe_change_load_node_reg()
|
11 years ago |
Jonas Maebe
|
4065483a50
* completed thlcgobj.location_force_fpureg(), use it everywhere and removed
|
11 years ago |
florian
|
150363c09e
* thlcgobj.a_load_regconst_subsetreg_intern takes care if the whole register is modified
|
11 years ago |
sergei
|
ed1555b918
* Moved generation of .ent/.end directives out of generic code generator.
|
11 years ago |
yury
|
56b3287e29
+ Added compiler support for mipsel-android target.
|
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 |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
11 years ago |
Jonas Maebe
|
8d1fb0ee1c
* added a safety check to gen_load_cgpara_loc()
|
11 years ago |
Jonas Maebe
|
7b97752d0b
- removed commented out duplicate thlcg.getmmregister()
|
11 years ago |
florian
|
d4968e054b
+ arm: tsettings.instructionset
|
12 years ago |
sergei
|
bfcdf6b825
* Replaced tai_ent and tai_ent_end classes with tai_directive subtypes. Having separate classes for them is unnecessary complication.
|
12 years ago |
Jonas Maebe
|
109317e460
+ full support for parameter passing in the high level code generator
|
12 years ago |
Jonas Maebe
|
7d9f98e516
+ def_cgmmsize() that returns a vector tcgsize for arraydefs (as generated
|
12 years ago |
Jonas Maebe
|
4e210e57c2
* use the correct type (pointer to object type) when loading the function
|
12 years ago |
Jonas Maebe
|
2dd75e707e
* renamed thlcgobj.tcgsize2orddef to defutil.cgsize_orddef
|
12 years ago |