Commit Graph

42497 Commits

Author SHA1 Message Date
Jonas Maebe
92fa75838e * honour -Oonopeephole
git-svn-id: trunk@27106 -
2014-03-11 23:18:58 +00:00
Jonas Maebe
45e03d768e * handle ARM PIC jump tables in determining the maximum offset for
pc-relative loads

git-svn-id: trunk@27105 -
2014-03-11 23:18:54 +00:00
Jonas Maebe
246caf3526 * never alias/coalesce cpu registers that are not usable by the register
allocator (such as stack/framepointers) with virtual registers, otherwise
    they can get changed in case the virtual register gets changed (read-only
    use would be ok, but we don't keep track of which virtual registers are
    only read

git-svn-id: trunk@27104 -
2014-03-11 23:18:45 +00:00
nickysn
c88cebfc97 * fix for DateTimeToJulianDate and JulianDateToDateTime for integer=smallint
git-svn-id: trunk@27103 -
2014-03-11 21:51:57 +00:00
florian
6deb0b35b5 * handle fpu_vfpv3_d16 properly for thumb2
git-svn-id: trunk@27102 -
2014-03-11 21:25:03 +00:00
florian
e5a5ae8bcb * CPUI386 => I386
git-svn-id: trunk@27101 -
2014-03-11 21:24:33 +00:00
florian
7c606ba34c * generate rfs/wfs for thumb2 only if an fpa fpu is used
git-svn-id: trunk@27100 -
2014-03-11 21:20:49 +00:00
nickysn
b6075c59c1 * changed to for loop counters in the resource string helper routines from
nativeint to objpas.integer

git-svn-id: trunk@27099 -
2014-03-11 20:52:09 +00:00
Károly Balogh
01febdd7f3 plain 68000 also doesn't support 123(dX)
git-svn-id: trunk@27098 -
2014-03-11 20:47:37 +00:00
sergei
5ddb267d57 * Clean up/refactor stack back-tracing code, reducing overall amount of checks and rejecting range from StackBottom to <current frame>.
git-svn-id: trunk@27097 -
2014-03-11 16:29:20 +00:00
sergei
3b5552ae75 - Killed 'goto'.
git-svn-id: trunk@27096 -
2014-03-11 15:16:00 +00:00
lacak
d440a05301 fcl-db: tests: pre-set testing environment for MySQL, MSSQL
git-svn-id: trunk@27095 -
2014-03-11 13:57:41 +00:00
sergei
2f05e8b389 * PushExceptObject and dump_stack: use get_caller_stackinfo instead of get_caller_addr and get_caller_frame.
git-svn-id: trunk@27094 -
2014-03-11 12:51:46 +00:00
sergei
abc1468a7a * Disabled regvars in __FPC_default_handler by adding an empty assembler block, it is necessary because RtlUnwind does not preserve registers.
* Fixed backtrace for non-language exceptions in programs without SysUtils unit.

git-svn-id: trunk@27093 -
2014-03-11 12:34:36 +00:00
reiniero
ab7e5cdda1 * fcl-db: dbtestframework: fix compilation
git-svn-id: trunk@27092 -
2014-03-11 11:01:18 +00:00
michael
26e73a4daf * Created version without classes
git-svn-id: trunk@27091 -
2014-03-11 10:50:05 +00:00
michael
c07559bbd1 * In view of recent bug, use traditional for i:=Low() to High instead of for in
git-svn-id: trunk@27090 -
2014-03-11 10:48:30 +00:00
lacak
742c590a3a fcl-db: bufdataset: when data are written to BLOB field (using TBufBlobStream) then unset field null flag when blob stream is created. When writting finishes (on destroy of blob stream) set null flag if blob is empty. + updated test TestChangeBlob. Bug #15376
git-svn-id: trunk@27089 -
2014-03-11 09:46:46 +00:00
sergei
e163a2c813 * MIPS and SPARC: determine whether case expression is in range using a single unsigned comparison (like it is done on other targets).
git-svn-id: trunk@27088 -
2014-03-10 23:02:05 +00:00
nickysn
8926a3268c * fixed TTimeStamp for integer=smallint
git-svn-id: trunk@27087 -
2014-03-10 22:31:48 +00:00
sergei
54e561dfa4 * Assign CharLengthPCharProc and CodePointLengthProc always in initunicodestringmanager, doing it in initwidestringmanager only complicates things.
git-svn-id: trunk@27086 -
2014-03-10 20:18:30 +00:00
marco
ed1d5aab37 * mantis #25841
- More missing DISPID_x consts
- OLECLOSE_x http://msdn.microsoft.com/en-us/library/windows/desktop/ms680623%28v=vs.85%29.aspx [^]
- OLEMISC_x http://msdn.microsoft.com/en-us/library/windows/desktop/ms678497%28v=vs.85%29.aspx [^]
- IPersistPropertyBag & IOleInPlaceObjectWindowless from OCIdl (removed useless function name comments, maybe existing ones could be cleaned too?)

git-svn-id: trunk@27085 -
2014-03-10 19:02:34 +00:00
Károly Balogh
a82a3ec38e let the assembler decide about the size of the Bcc and BRA instructions, this makes code generated here work on a 68000 (and probably a lot smaller in size, no more forced 32bit displacements)
git-svn-id: trunk@27084 -
2014-03-10 18:50:05 +00:00
Károly Balogh
6bd062b59f according to the M68K PRM and also GNU AS, plain 68000 has no BRA.L
git-svn-id: trunk@27083 -
2014-03-10 18:36:10 +00:00
Károly Balogh
075645d2b3 do not generate zero divisor checks if a divisor is a constant
git-svn-id: trunk@27082 -
2014-03-10 18:16:17 +00:00
Károly Balogh
1e65caa37a fixed the 68020 codepath for emit_div/mod
git-svn-id: trunk@27081 -
2014-03-10 18:01:53 +00:00
reiniero
2592b1d662 fcl-db: dbtestframework:
* reintroduced cleaned up version of r27073 bufdataset memo edited field readback test as it still fails

git-svn-id: trunk@27080 -
2014-03-10 14:22:01 +00:00
reiniero
5d71687901 fcl-db: bufdataset: revert r27075 because it had already been fixed another way in r26611, r26621
git-svn-id: trunk@27079 -
2014-03-10 13:47:11 +00:00
Károly Balogh
73f8c956e0 don't save the FP explicitly on a syscall, as they preserve all regs anyway except scratch regs
git-svn-id: trunk@27078 -
2014-03-10 13:39:51 +00:00
reiniero
088c4fce57 dbtestframework:
* remove duplicate test, see issue #25648

git-svn-id: trunk@27077 -
2014-03-10 13:26:58 +00:00
lacak
eefead9990 fcl-db: tests: use column names in same char-case as they are typed in CREATE TABLE statement (used in tests). If "test database" on MS SQL Server has case-sensitive collation then char-case of table names and column names are also case-sensitive.
(This does not negative affect other databases)

git-svn-id: trunk@27076 -
2014-03-10 13:24:52 +00:00
michael
42d671ed51 * Patch from Reinier Olislagers to fix issue #17376
git-svn-id: trunk@27075 -
2014-03-10 12:46:30 +00:00
michael
3c015a3ab1 * Made property TableName protected (as suggested in 20395)
git-svn-id: trunk@27074 -
2014-03-10 12:44:04 +00:00
reiniero
35938befd4 fcl-db: dbtestframework
+ test for mantis issue #15376
sqldb:TSQLQuery : TMemoField.AsString does not return modified value before POST when I changed a value of TMemoField.

git-svn-id: trunk@27073 -
2014-03-10 11:11:15 +00:00
michael
0e61b5b6c1 * Removed wrong ELSE (bug id 25836)
git-svn-id: trunk@27072 -
2014-03-10 10:46:56 +00:00
Jonas Maebe
4065483a50 * completed thlcgobj.location_force_fpureg(), use it everywhere and removed
ncgutil/thlcg2ll.location_force_fpureg()

git-svn-id: trunk@27071 -
2014-03-10 09:01:05 +00:00
Károly Balogh
875a7418b3 disable broken 68020 codepath and fall back to generic until it gets fixed
git-svn-id: trunk@27070 -
2014-03-10 01:36:05 +00:00
Károly Balogh
3c015555ae use unsigned RawDoFmt() formatting for size in heap debug mode
git-svn-id: trunk@27069 -
2014-03-10 00:53:09 +00:00
nickysn
b670ceb4d2 * compilation fix after r27067
git-svn-id: trunk@27068 -
2014-03-10 00:34:17 +00:00
nickysn
afea0739c6 * fixed StrToInt, IntToStr and friends for objpas.integer=smallint
git-svn-id: trunk@27067 -
2014-03-10 00:33:53 +00:00
Károly Balogh
9e74fd4d33 include libsym handling for m68k as well, Amiga needs it
git-svn-id: trunk@27066 -
2014-03-10 00:32:57 +00:00
Károly Balogh
7e1051324d include exec on Amiga only in the implementation part
git-svn-id: trunk@27065 -
2014-03-09 23:05:13 +00:00
Károly Balogh
9ec1d4ee89 fixed spilling operation type for some ColdFire instructions
git-svn-id: trunk@27064 -
2014-03-09 23:04:28 +00:00
nickysn
2c7a83cd78 * use integer for the property indexes, instead of longint. Fixes compilation
of package on i8086 after r27062.

git-svn-id: trunk@27063 -
2014-03-09 21:26:39 +00:00
nickysn
b4bb09254e * use a 16-bit integer for property indexes on 16- and 8-bit targets
git-svn-id: trunk@27062 -
2014-03-09 21:25:31 +00:00
nickysn
dcc2354760 * disallow 64-bit property index specifiers on 64-bit CPUs, since they were not
handled correctly there anyway (they were silently truncated to 32-bit)

git-svn-id: trunk@27061 -
2014-03-09 21:05:53 +00:00
pierre
044891fd94 Avoid range check error in a_op_const_reg_reg
git-svn-id: trunk@27060 -
2014-03-09 19:49:29 +00:00
Károly Balogh
fb218fa671 require v37 libs (OS2.04+) instead of v50 (nextgen)
git-svn-id: trunk@27059 -
2014-03-09 19:23:30 +00:00
Károly Balogh
1483a631d7 Amiga: fixed copyright header and merged a fix from MorphOS in sysdir
git-svn-id: trunk@27058 -
2014-03-09 17:57:07 +00:00
Károly Balogh
2f02fa6f16 fixed AllFilesMask for Amiga and some comment typos
git-svn-id: trunk@27057 -
2014-03-09 17:47:21 +00:00