Károly Balogh
aa424fc81f
m68k: use R_SUBNONE instead of R_SUBWHOLE for FPU regs, indentation fixes of some old code and various cleanups
...
git-svn-id: trunk@32659 -
2015-12-13 19:24:44 +00:00
Károly Balogh
c82328e3fd
m68k: implemented tcg68k.check_register_size for future use. use R_SUBNONE for FPU registers, because R_SUBWHOLE will change. use isregoverlap in a_load_reg_reg
...
git-svn-id: trunk@32658 -
2015-12-13 19:18:39 +00:00
Károly Balogh
001dfecdf5
m68k: use isregoverlap in is_same_reg_move, to determine if we're doing a no-op move
...
git-svn-id: trunk@32657 -
2015-12-13 18:14:21 +00:00
Károly Balogh
c47c6c0270
m68k: use std_regnum_search instead of prefixing the regname with % and calling gas_regnum_search
...
git-svn-id: trunk@32656 -
2015-12-13 18:04:30 +00:00
Károly Balogh
9c12615f09
m68k: new isregoverlap function, which returns true if the two registers overlap (same type and subreg). use the new r68kbss.inc for regnumber_count_bsstart. other minor tweaks.
...
git-svn-id: trunk@32655 -
2015-12-13 17:48:47 +00:00
Károly Balogh
2934424c43
m68k: updated/added some reg includes as generated by the new tool
...
git-svn-id: trunk@32654 -
2015-12-13 17:32:00 +00:00
Károly Balogh
9133964676
m68k: new 68k register data file format, which eases future subregister support
...
git-svn-id: trunk@32653 -
2015-12-13 17:29:47 +00:00
florian
a3964d9ee0
+ support for RDTSCP, resolves issue #28916
...
git-svn-id: trunk@32652 -
2015-12-13 13:28:51 +00:00
Károly Balogh
3c0dca44d3
m68k: fixed a copypaste fail in tcg68k.g_restore_registers, which affected FPU register restoring
...
git-svn-id: trunk@32651 -
2015-12-13 13:15:51 +00:00
florian
3b50d0b64e
* patch by Bernd to fix interrupt handling for the ATtiny1634 and ATtiny167 controllers (use jmp instead of rjmp to jump to the handlers), resolves issue #29122
...
git-svn-id: trunk@32650 -
2015-12-13 10:44:43 +00:00
florian
7b9a257549
* complain no matching SUBARCH value is passed, issue #29177
...
git-svn-id: trunk@32649 -
2015-12-13 10:41:12 +00:00
Károly Balogh
5cfdd8fbf5
removed a redundant zero extension from location_force_reg, which occured if the source location was a smaller than 32bit subreg, and the destination was 64bit. hregister is always overwritten in the codepath below anyway.
...
git-svn-id: trunk@32648 -
2015-12-13 02:08:24 +00:00
florian
bd20c5a66b
* set a proper sram base for the avrsim controller type
...
git-svn-id: trunk@32647 -
2015-12-12 22:37:41 +00:00
florian
faec3936d7
* take care of SUBARCH when running tests
...
git-svn-id: trunk@32646 -
2015-12-12 19:13:36 +00:00
florian
91c59cb512
* fix Fill* code for CPUs with 8 Bit ALU
...
git-svn-id: trunk@32645 -
2015-12-12 15:49:51 +00:00
marcus
b80d4a9a6c
Amiga, AROS, MorphOS: renamed functions/types which also exist in system
...
git-svn-id: trunk@32644 -
2015-12-11 22:02:17 +00:00
marcus
3c4e3bf9a9
MorphOS, Amiga: Corrected TWindow.WScreen type to PScreen
...
git-svn-id: trunk@32643 -
2015-12-11 21:35:41 +00:00
marcus
3622b2165c
Amiga, MorphOS: Missing varargs version and type unification
...
git-svn-id: trunk@32642 -
2015-12-11 20:48:28 +00:00
marcus
9346746c67
MorphOS: Added GadTools Library unit
...
git-svn-id: trunk@32641 -
2015-12-11 19:33:27 +00:00
svenbarth
8bd79f95be
Fix a few typos discovered by Blaise
...
git-svn-id: trunk@32640 -
2015-12-11 16:31:00 +00:00
Jonas Maebe
092a0af0ec
* removed special-purpose code for constant chars while parsing typed string
...
constants: it did not properly handle ansistring code pages, and was just a
hack to speed things up a bit (mantis #29153 )
git-svn-id: trunk@32636 -
2015-12-11 15:33:28 +00:00
Jonas Maebe
e43f767cbf
* fixed setting the paraloc shift value for data whose size is not a power
...
of 2: paraloc^.size was then OS_NO, so their shiftval was set to 0,
while we also have to put those in the upper bytes of the paraloc
git-svn-id: trunk@32634 -
2015-12-10 22:45:59 +00:00
Jonas Maebe
1320d6bdba
* correctly handle negative paraloc shift values for non power-of-2 sized
...
paralocs (e.g. a 3 byte record) in case the data's size has been
rounded up to the next power of two as far as the paraloc is concerned
(because those 3 bytes had to be shifted to be located in the upper 3
bytes of a 4 byte location)
git-svn-id: trunk@32633 -
2015-12-10 22:45:56 +00:00
Jonas Maebe
a1db947e9e
* missing part of r32617: also load the def for constnil symbols
...
git-svn-id: trunk@32632 -
2015-12-10 22:45:53 +00:00
marco
5dcf5a95c5
* move beginupdate before try 3x , Mantis #29164
...
git-svn-id: trunk@32630 -
2015-12-10 19:21:16 +00:00
marco
aa33a9509f
* added try..finally to beginupdate/endupdate, mantis #29165
...
git-svn-id: trunk@32629 -
2015-12-10 19:19:25 +00:00
nickysn
1d015b9620
* fixed dosbox_wrapper compilation under windows
...
git-svn-id: trunk@32628 -
2015-12-10 14:47:31 +00:00
Jonas Maebe
db2a02fb63
* clarified missing unicodestring manager error message
...
git-svn-id: trunk@32627 -
2015-12-10 11:00:00 +00:00
pierre
d3d78e6367
Regenerate after: Add dosbox/dosbox_wrapper to list of programs if EMULATOR variable contains dosbox_wrapper string pattern
...
git-svn-id: trunk@32626 -
2015-12-10 01:51:37 +00:00
pierre
f6133d4417
Add dosbox/dosbox_wrapper to list of programs if EMULATOR variable contains dosbox_wrapper string pattern
...
git-svn-id: trunk@32625 -
2015-12-10 01:51:15 +00:00
pierre
0bf3b2201d
Change 'exit' to '' to allow to avoid exit at the end of test run
...
git-svn-id: trunk@32624 -
2015-12-10 01:49:37 +00:00
pierre
1e38631cbe
+ (OutputFileName variable): Add possibility to use output duplicated to a file by a modified dosbox
...
version, using an entry in [dos] section of dosbox.conf cinfig file.
copy_con_to_file=/path/to/file/that/will/get/the/copy
+ (EchoOutput procedure) Write to ouput the content of this file so that it ends up into XXXX.elg file
when checking test file XXXX.
* Add use_temp_dir boolean variable, set to true by default, can be set to false by
setting DOSBOX_NO_TEMPDIR env. variable.
+ Add hide_execution boolean variable (might only work on Windows),
which sets SWOHide to Process.ShowWindow property if true.
hide_execution defaults to true, but can be set to true by setting
DOSBOX_NO_HIDE to set to false.
+ Add do_exit boolean variable (defaulting to true), which adds
'exit' as last line into autoexec section in dosbox.conf.
Use DOSBOX_NO_EXIT to avoid automatic closing of DosBox at the end of test
execution (can bbe useful for debugging purposes).
git-svn-id: trunk@32623 -
2015-12-10 01:48:18 +00:00
nickysn
9f79eeff0e
* on Windows, run dosbox with the swoHIDE option to prevent the annoying focus
...
stealing dosbox consoles from appearing
git-svn-id: trunk@32622 -
2015-12-09 15:56:23 +00:00
yury
6bd2b2d41b
* pas2jni: Fixed handling of pointers.
...
git-svn-id: trunk@32620 -
2015-12-08 17:01:29 +00:00
Jonas Maebe
ed03286be5
* simplify "div -1" to unaryminusn, not just for performance reasons but
...
also because "div -1" is not handled correctly by the div-to-mul/shift
transformation on x86 (mantis #28702 )
git-svn-id: trunk@32619 -
2015-12-08 15:57:07 +00:00
Jonas Maebe
0b4f3f01b3
* fixed another case of endless recursion in
...
tabstractrecordsymtable.has_single_field(), due to always looking in the
symlist of the original record rather than properly recursing into those
of nested ones (mantis #28641 )
git-svn-id: trunk@32618 -
2015-12-08 15:35:19 +00:00
Jonas Maebe
01d93b61c3
* save/restore the type (and hence code page) of ansistring constsyms in/from
...
the ppu (mantis #28964 )
* also save/restore the type of constnil, constresourcestring and constguid
in/from the ppu
git-svn-id: trunk@32617 -
2015-12-08 14:27:23 +00:00
yury
f6b99c5d6a
* pas2jni: Typecast interface to pointer.
...
git-svn-id: trunk@32616 -
2015-12-07 23:32:22 +00:00
yury
2206a54b28
* pas2jni: Fixed exclusion.
...
git-svn-id: trunk@32615 -
2015-12-07 23:28:06 +00:00
pierre
11d5f6a88b
Add explicit rule to compile dosbox_wrapper, executable is put in utils/dosbox directory
...
git-svn-id: trunk@32614 -
2015-12-07 22:54:02 +00:00
florian
19a7bc0aee
* fix test for 64 bit targets
...
git-svn-id: trunk@32613 -
2015-12-07 21:48:19 +00:00
yury
df59776ff8
* pas2jni: Fixed type cast for null.
...
git-svn-id: trunk@32612 -
2015-12-07 19:31:15 +00:00
yury
c797d6ac1e
* pas2jni: Fixed handling of array type properties.
...
git-svn-id: trunk@32611 -
2015-12-07 19:23:02 +00:00
sergei
c0eafe38aa
* Make trgobj.uses_registers method return True when registers of appropriate type are specified in list of used registers (after assembler blocks), but not used otherwise. This is a missing piece of r30011, enabling code generator to actually save/restore such registers. Resolves #28421 .
...
git-svn-id: trunk@32610 -
2015-12-07 19:12:20 +00:00
yury
9d93c6f953
* pas2jni: Properly exclude whole units.
...
git-svn-id: trunk@32609 -
2015-12-07 18:45:30 +00:00
sergei
5709127a39
* In pure-assembler procedures, don't allocate/free any registers around the only assembler node. Such procedures don't use virtual registers or register allocator.
...
git-svn-id: trunk@32608 -
2015-12-07 18:32:35 +00:00
yury
894e61f6bd
* pas2jni: Support for raw Java Objects as function parameters and result. Avoid possible duplicate parameter names.
...
git-svn-id: trunk@32607 -
2015-12-07 17:48:38 +00:00
Jonas Maebe
ce40b2e449
* added/clarified some comments
...
* made internal method check_add_placeholder() protected
git-svn-id: trunk@32606 -
2015-12-07 09:17:11 +00:00
pierre
ab730efac7
Fixed use with 7.9 release or later, symtab strcut was completely changed
...
git-svn-id: trunk@32605 -
2015-12-07 00:28:57 +00:00
pierre
312e51328a
Regenerated after: Add -Cg for bootstrap depending on source OS/CPU as it is normally added for target OS/CPU
...
git-svn-id: trunk@32604 -
2015-12-07 00:08:23 +00:00