florian
a8e001d4ad
* do not warn about disjunct ranges for internally created cmp nodes
...
git-svn-id: trunk@30269 -
2015-03-21 22:56:30 +00:00
florian
0bc63c438e
+ tifnode.create_internal
...
git-svn-id: trunk@30268 -
2015-03-21 22:55:35 +00:00
Károly Balogh
ad301f8fa1
m68k: implemented t68kvecnode.update_reference_reg_packed. same as the generic one, but allocates int registers instead of address registers, because on 68k IMUL,SHR/SHL and AND can't work on address registers, which results in a lot of register shuffling
...
git-svn-id: trunk@30267 -
2015-03-21 20:09:35 +00:00
Jeppe Johansen
5ca1740bee
Fix issue in is_thumb32_imm. imm<11:10> have to be non-zero meaning the rotate only works from 8 to 31. Caused 0x8000001F to be mistaken for a valid immediate.
...
git-svn-id: trunk@30266 -
2015-03-21 12:46:45 +00:00
Jonas Maebe
39594adae1
* different, simpler fix for #27691 fixed in r30261; should fix the
...
internalerrors on some platforms after that revision
git-svn-id: trunk@30265 -
2015-03-20 14:23:28 +00:00
marco
57212decc8
* ugly auto conversion IMAGE_IMPORT_DESCRIPTOR and _IMAGE_TLS_DIRECTORY64/32 fixed.
...
* IMAGE_EXPORT_DIRECTORY
(see comments mantis #27674 )
git-svn-id: trunk@30264 -
2015-03-20 14:01:28 +00:00
nickysn
50fd91b3e1
* micro optimization in the putpixel routines of the msdos graph unit: perform
...
clipping before switching to global coordinates, as the comparisons are
then simpler
git-svn-id: trunk@30263 -
2015-03-20 10:50:01 +00:00
nickysn
a5a61243b8
* updated video card detection code in the msdos graph unit to support EGA mono,
...
MCGA and added support for detection of combinations of video cards (i.e. dual
head configurations with a color and a monochrome video card)
git-svn-id: trunk@30262 -
2015-03-20 00:24:10 +00:00
Jonas Maebe
ea3a306da8
* never say that an automatically added unit is unused (mantis #27691 )
...
git-svn-id: trunk@30261 -
2015-03-19 17:48:57 +00:00
michael
636fb64577
* Introduce reload method
...
git-svn-id: trunk@30260 -
2015-03-19 15:09:27 +00:00
marco
1ea195aefe
* remove 2nd copyright header, reverting to original one. Mantis #27630
...
git-svn-id: trunk@30258 -
2015-03-18 09:28:19 +00:00
Károly Balogh
258b42de26
m68k: added support for FSIN/FCOS. these are software supported on the 68040, so we should have a separate 68040/060 FPU option too, to avoid these in the future.
...
git-svn-id: trunk@30257 -
2015-03-17 22:52:53 +00:00
marco
882d42eb86
* change image_* macros to unsigned, half of bug #27674
...
git-svn-id: trunk@30256 -
2015-03-17 22:30:31 +00:00
Jeppe Johansen
09acd9b1ab
Add workaround for ARM thumb when using GAS.
...
git-svn-id: trunk@30254 -
2015-03-17 21:24:07 +00:00
marco
9255bc0fe5
* added _ before avr in cpusuffix. All other targets have.
...
Due to remark of "ghieber" on forum.
git-svn-id: trunk@30250 -
2015-03-17 09:09:14 +00:00
nickysn
be2937bb17
+ VESA banked 32k/64k colour mode fast line drawing for msdos as well
...
git-svn-id: trunk@30249 -
2015-03-17 02:37:48 +00:00
nickysn
84f5184911
* micro optimization in a commonly repeated VESA horizontal line drawing code pattern
...
git-svn-id: trunk@30248 -
2015-03-17 00:54:25 +00:00
nickysn
529f1e77db
* fixed spelling: allign -> align
...
git-svn-id: trunk@30247 -
2015-03-17 00:45:08 +00:00
nickysn
69d839e891
+ implemented VESA banked 32k/64k colour mode fast line drawing in the go32v2 graph unit
...
git-svn-id: trunk@30246 -
2015-03-17 00:13:58 +00:00
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.
...
git-svn-id: trunk@30245 -
2015-03-16 02:04:58 +00:00
florian
f6f8e1b83e
* write ppu+source file name in case the source file is not available instead of inserting an invalid absolute path, resolves #27588
...
git-svn-id: trunk@30242 -
2015-03-15 19:51:17 +00:00
florian
f07969245b
* fix warning about uninitialized variable
...
git-svn-id: trunk@30240 -
2015-03-15 17:10:01 +00:00
florian
331ace25c6
* handle undefineddef in classify_argument, resolves #27658
...
git-svn-id: trunk@30239 -
2015-03-15 16:19:58 +00:00
Jeppe Johansen
60f24739fc
Fixed typo
...
git-svn-id: trunk@30238 -
2015-03-15 15:47:45 +00:00
florian
38a72f2ddb
* renamed arm->avr to match the cpu
...
git-svn-id: trunk@30237 -
2015-03-15 15:10:37 +00:00
Jonas Maebe
f633d094ee
* perform interface dispatches via R12 instead of R11 as expected for
...
indirect function calls for ELFv2 (and other ABIs don't care about
the register)
git-svn-id: trunk@30236 -
2015-03-15 14:00:32 +00:00
Jeppe Johansen
2bcef2daee
Fix break caused by r30233
...
git-svn-id: trunk@30235 -
2015-03-15 13:34:01 +00:00
Jeppe Johansen
f92f0751f4
Fix selection of LDR/STR instructions in thumb mode. Most forms don't support pre or post indexing.
...
Fix emission of offsets.
git-svn-id: trunk@30234 -
2015-03-15 12:12:13 +00:00
Jeppe Johansen
155998fe89
Support .set and .weak in internal assembler.
...
Fix problem with fpc_initialHeap getting put in .data instead of .bss.
git-svn-id: trunk@30233 -
2015-03-15 12:10:54 +00:00
Károly Balogh
2555f12394
m68k: improved handling of moves and sign/zero extensions targeting address regs
...
git-svn-id: trunk@30232 -
2015-03-15 01:44:43 +00:00
nickysn
492101df76
* fixed a race condition during parallel build on linux, when the loaders are
...
built before mkdir has created the output directory
git-svn-id: trunk@30231 -
2015-03-14 22:27:03 +00:00
Jonas Maebe
6230119140
- removed self-assignment of cur_stack_offset introduced by refactoring in
...
r30221
git-svn-id: trunk@30230 -
2015-03-14 21:55:48 +00:00
Jonas Maebe
8334597476
* a homogeneous float aggregate can maximally contain 4 elements
...
(mantis #27665 )
git-svn-id: trunk@30229 -
2015-03-14 21:46:45 +00:00
Jonas Maebe
faf3efe139
+ Linux/ppc64le test object files
...
git-svn-id: trunk@30228 -
2015-03-14 18:37:01 +00:00
Jonas Maebe
0c394eb6f4
* ensure we don't call a_load_cgparaloc_anyreg() to move an fpu register
...
into an integer register
git-svn-id: trunk@30227 -
2015-03-14 18:36:57 +00:00
Jonas Maebe
622852b8c9
* check that a_load_cgparaloc_anyreg() is not used to try to move an fpu
...
register into a non-fpu register, as this is not (yet) supported
git-svn-id: trunk@30226 -
2015-03-14 18:36:54 +00:00
Jonas Maebe
a02d52f533
* support thlcg2ll.gen_loadfpu_loc_cgpara() from LOC_REGISTER to
...
LOC_FPUREGISTER (can happen with certain ABIs due to records
having to be passed in floating point registers)
git-svn-id: trunk@30225 -
2015-03-14 18:36:52 +00:00
Jonas Maebe
c50c822e13
* fixed destination size when loading fpu temp paralocs
...
git-svn-id: trunk@30224 -
2015-03-14 18:36:49 +00:00
Jonas Maebe
6d02aedf70
* support multiple register paralocs in tcgobj.a_loadfpu_ref_cgpara()
...
git-svn-id: trunk@30223 -
2015-03-14 18:36:46 +00:00
Jonas Maebe
cea2741339
* correct paraloc size for 3-byte records passed in the lower bits of a
...
register (32 bit instead of 64 bit register)
git-svn-id: trunk@30222 -
2015-03-14 18:36:43 +00:00
Jonas Maebe
3d6fcd8815
+ ppc64le/ELFv2 ret_in_param implementation
...
* fixed ret_in_param for other ppc64 ABIs
git-svn-id: trunk@30221 -
2015-03-14 18:36:40 +00:00
Jonas Maebe
f4a580d669
* don't fail if multiple dotests try to create the same directory in parallel
...
git-svn-id: trunk@30220 -
2015-03-14 18:36:37 +00:00
Jonas Maebe
a02fb7c794
* fixed misplaced braces that caused all records to be passed by reference
...
on ppc64 with the mwpascal calling convention, instead of only the const
ones
git-svn-id: trunk@30219 -
2015-03-14 18:36:35 +00:00
Jonas Maebe
7bc66a5142
+ ELF/ppc64le resource support
...
git-svn-id: trunk@30218 -
2015-03-14 18:36:32 +00:00
Jonas Maebe
6b9b575b74
* choose between arm (little endian) and armeb for fpcres based on the
...
target_info rather than based on the source_info
git-svn-id: trunk@30217 -
2015-03-14 18:36:29 +00:00
Jonas Maebe
eee83ebb4a
* use generic code for a_load_subsetref_regs_noindex on ppc64le
...
git-svn-id: trunk@30216 -
2015-03-14 18:36:26 +00:00
Jonas Maebe
c69265a61c
* disable out big endian-specific helpers for ppc64le
...
git-svn-id: trunk@30215 -
2015-03-14 18:36:23 +00:00
Jonas Maebe
cf5b42b4b2
* use generic code for set+setelement on ppc64le
...
git-svn-id: trunk@30214 -
2015-03-14 18:36:20 +00:00
Jonas Maebe
82d92dbf50
* call seterrno instead of manually handling the setting setting the errno
...
threadvar (and having to deal with differences between the ELFv1 and ELFv2
ABIs regarding indirect function calls, + future ability to have the
compiler generate PIC for those routines)
o includes workaround for lack of linkage area size allocation in current
released PPC64 versions, remove after 3.0.2 has been released
git-svn-id: trunk@30213 -
2015-03-14 18:36:17 +00:00
Jonas Maebe
399ffb2005
* allocate enough room in assembler routines for a complete linkage area
...
so that potential callees have enough room to store their LR etc
if needed
git-svn-id: trunk@30212 -
2015-03-14 18:36:14 +00:00