Commit Graph

38422 Commits

Author SHA1 Message Date
Jeppe Johansen
818b43c060 Updated localalign values, and changed the behaviour of alignment of load/stores to not break aligned half-word copies
git-svn-id: branches/laksen/arm-embedded@22828 -
2012-10-23 12:45:40 +00:00
Jeppe Johansen
bd87c854c1 Rebased to r22820
git-svn-id: branches/laksen/arm-embedded@22827 -
2012-10-23 12:37:31 +00:00
Jeppe Johansen
670dd29103 Added FSMC register definitions(from Anton Rieckert)
Fixed faulty NVIC definitions

git-svn-id: branches/laksen/arm-embedded@22818 -
2012-10-22 11:17:55 +00:00
Jeppe Johansen
628d46f2d3 Fixed Bsf* functions on platforms that support RBIT
Fixed stackframe epilogue code for Thumb2 to allow proper processing of interrupts

git-svn-id: branches/laksen/arm-embedded@22813 -
2012-10-21 19:13:59 +00:00
Jeppe Johansen
4e84431dde Fix some optimizations which assume that there are 3 operands
Add simple Mul+Sub/Mul+Add into MLS/MLA optimizations
Fix some other small issues in the optimizer
Implement Interlocked* functions with proper use of LDREX/STREX

git-svn-id: branches/laksen/arm-embedded@22801 -
2012-10-21 16:20:52 +00:00
Jeppe Johansen
5751bbecee Properly do NR_DEFAULTFLAGS detection/allocation/deallocation
git-svn-id: branches/laksen/arm-embedded@22787 -
2012-10-20 20:00:36 +00:00
Jeppe Johansen
3558a40bf6 Fixed flags detections code for wide->short optimization code for Thumb-2
git-svn-id: branches/laksen/arm-embedded@22782 -
2012-10-20 05:44:55 +00:00
Jeppe Johansen
666332385d Added coprocessor registers, and support for 6 operands(MCR/MRC instructions, etc)
git-svn-id: branches/laksen/arm-embedded@22778 -
2012-10-19 18:23:14 +00:00
Jeppe Johansen
9892aea2ca Added register specifications to lpc1768.pp. From Joan Duran
git-svn-id: branches/laksen/arm-embedded@22647 -
2012-10-14 19:28:08 +00:00
Jeppe Johansen
84ea70fddc Fixed some minor formating issues
Implemented a small heap mananger
Implemented console IO
Changed default LineEnding to CrLf(to ease console IO parsing)

git-svn-id: branches/laksen/arm-embedded@22646 -
2012-10-14 19:10:20 +00:00
Jeppe Johansen
14879a9e82 Added all STM32F1 configurations
git-svn-id: branches/laksen/arm-embedded@22599 -
2012-10-09 06:58:58 +00:00
Jeppe Johansen
a8f9b0dac4 Added initial support for the Cortex-M4F FPv4_S16 FPU
git-svn-id: branches/laksen/arm-embedded@22597 -
2012-10-08 20:10:45 +00:00
Jeppe Johansen
0087661fb5 Added FPv4_d16 FPU instructions, and a few extra registers
git-svn-id: branches/laksen/arm-embedded@22596 -
2012-10-08 20:04:14 +00:00
Jeppe Johansen
3e963a49e2 Added support for IT block merging
Added a peephole pattern check for UXTB->UXTH chains

git-svn-id: branches/laksen/arm-embedded@22592 -
2012-10-08 14:07:40 +00:00
Jeppe Johansen
9ec9b44784 Add CBNZ/CBZ instructions
Create preliminary Thumb-2 PeepHoleOptPass2 code, hacked together from the ARM mode code
Added a number of simple size optimizations for common Thumb-2 instructions

git-svn-id: branches/laksen/arm-embedded@22590 -
2012-10-08 12:30:00 +00:00
Jeppe Johansen
b788ba660d Fix optimizations of Thumb-2 code
Fix problem with loading of condition operand for IT instructions
Properly split IT blocks when register allocator tries to spill inside a block.

git-svn-id: branches/laksen/arm-embedded@22582 -
2012-10-08 04:49:39 +00:00
Jeppe Johansen
80bb3febea Fixed assembler calling command line for cpus>ARMv5TE. EDSP instructions will generate errors while assembling, due to RTL assembler routines
Updated boot code for all Cortex-M3 controllers, and sc32442b to use weak linking for exception tables.
Cortex-M3 devices now also share initialization routine to simplify maintenance
STM32F10x classes now have specific units which fit the interrupt source names and counts

git-svn-id: branches/laksen/arm-embedded@22581 -
2012-10-08 03:15:40 +00:00
Jeppe Johansen
8e00978108 Added support for .section, .set, .weak, and .thumb_set directive for GAS assembler reader
IFDEF'ed JVM specific assembler directives, to prevent ait_* set to exceed 32 elements

git-svn-id: branches/laksen/arm-embedded@22580 -
2012-10-08 03:10:44 +00:00
Jeppe Johansen
8b17a358e4 Remove all traces of the interrupt vector table generation mechanism
Clean up cpuinfo tables
Fixed ARMv7M bug(BLX <label> doesn't exist on that version)

git-svn-id: branches/laksen/arm-embedded@22579 -
2012-10-08 00:10:52 +00:00
Jeppe Johansen
f67a330519 Initial branch
git-svn-id: branches/laksen/arm-embedded@22578 -
2012-10-07 23:24:07 +00:00
florian
3d1fb1cc60 * reverted accidental commit in r22568
git-svn-id: trunk@22576 -
2012-10-07 19:46:59 +00:00
florian
9a5e64442f + support copy with two parameters, resolves #22964
git-svn-id: trunk@22575 -
2012-10-07 19:44:52 +00:00
florian
2e7fe1aebd * support of avx register requires now proper usage of R_SUBMMWHOLE
git-svn-id: trunk@22574 -
2012-10-07 18:47:17 +00:00
florian
65aa6fb379 * make check for registerhi more usefull
git-svn-id: trunk@22573 -
2012-10-07 18:47:13 +00:00
ludob
91a468307a Fix for table names converted to uppercase Mantis 0022766 Patch by Lacak2
git-svn-id: trunk@22572 -
2012-10-07 15:06:59 +00:00
Jonas Maebe
76b0ee9925 * treat all "uninitialized" hints as warnings on JVM platforms, because
they generally result in fatal run time errors there

git-svn-id: trunk@22571 -
2012-10-07 09:10:08 +00:00
marco
f8288d1b53 * WM_GETOBJECT added.
git-svn-id: trunk@22570 -
2012-10-06 21:02:39 +00:00
Jonas Maebe
42f6caa0d1 * allow accessing strict protected symbols from the extended struct inside
helpers (mantis #21811)

git-svn-id: trunk@22569 -
2012-10-06 20:31:43 +00:00
florian
283ff05127 * merged avx support in inline assembler developed by Torsten Grundke
git-svn-id: trunk@22568 -
2012-10-06 19:47:18 +00:00
Jonas Maebe
e9f4b095e1 + explanation for the parameters of is_visible_for_object
* fixed accessibility checking for strict_protected (the class
    in which the access occurs also has to be related to the
    objectdef of which a symbol is accessed) + test

git-svn-id: trunk@22565 -
2012-10-06 16:28:27 +00:00
Jonas Maebe
81b50af768 * fixed typo (overring -> overriding)
git-svn-id: trunk@22564 -
2012-10-06 16:22:31 +00:00
marco
d2cc65aff0 * improve statementtype detection. Mantis #22723, patch by Lacak2
git-svn-id: trunk@22563 -
2012-10-06 14:25:02 +00:00
marco
a320db479e * applied BOF patch + test from Lacak2. Mantis #22377
git-svn-id: trunk@22562 -
2012-10-06 14:18:17 +00:00
marco
6776c54357 * patch from Reinier: More details on setting up test database, ignoring tests for certain databases.... mantis #22970
git-svn-id: trunk@22560 -
2012-10-06 12:31:15 +00:00
marco
7ec9f59e45 * Sqlite3backup, implements backups between 2 TSQLite3Connections, TSQLite3Connection backup to file and TSQLite3Connection restore from file.
by Ludo Brands, mantis #22394

git-svn-id: trunk@22559 -
2012-10-06 12:29:36 +00:00
marco
bc831fd571 * commited bindings for sqlite backup functions. Patch by Ludo #22394 which is only partially fixed by this
git-svn-id: trunk@22558 -
2012-10-06 11:32:50 +00:00
marco
869e65b576 * cleanup of base64 by Luiz Americo. Mantis #23021
git-svn-id: trunk@22557 -
2012-10-06 11:04:31 +00:00
marco
5d42d3a53c * change make TBinaryObjectWriter.WriteStr public mantis #22973
Delphi seems to use .writestr also for shortstring only, so the 
   function is the same.

git-svn-id: trunk@22556 -
2012-10-06 10:06:55 +00:00
joost
11ea2561b9 * Merging patch which was committed to wrong branch:
--- Merging r21943 into '.':
U    packages/fcl-db/fpmake.pp
U    packages/dblib/fpmake.pp

# revisions: 21943
------------------------------------------------------------------------
r21943 | joost | 2012-07-21 22:34:26 +0200 (Sat, 21 Jul 2012) | 5 lines

 * Patch from Mark Morgan Lloyd (bug 22459):
   - Adds Solaris to SQLDBConnectionOSes 
   - added mssqlconn: Sybase/MS SQL client driver support to solaris 
   - for all platforms: sorted constants lines so its easier to see what OSes get what
   - for all platforms: cleaned up throwing in Oracle with PostgreSQL: separated constant
------------------------------------------------------------------------

git-svn-id: trunk@22552 -
2012-10-05 19:32:42 +00:00
marco
a48aba60fb * fix for Delphi incompatible DelimitedText, Mantis #19610, big patch from Reinier Olislagers.
git-svn-id: trunk@22549 -
2012-10-05 16:56:09 +00:00
pierre
78d31eb3cd Add missing of pi_needs_got found by sparc compiler compiled with -dCHECK_PIC
git-svn-id: trunk@22548 -
2012-10-05 15:02:47 +00:00
pierre
b145028f35 Allow testing of delayed pi_needs_got by internal error generated if compiler compiled with -dCHECK_PIC
git-svn-id: trunk@22547 -
2012-10-05 14:59:18 +00:00
tom_at_work
f4ba47a1c8 Fixed --march parameter passed to GNU as for ARM processors
git-svn-id: trunk@22541 -
2012-10-04 21:47:28 +00:00
joost
b886d5d55c * Issue a warning when a package-name is used twice
git-svn-id: trunk@22540 -
2012-10-04 20:10:23 +00:00
joost
a2534fc8c6 * Show in debug-output why a package or target is being recompiled
git-svn-id: trunk@22539 -
2012-10-04 20:05:28 +00:00
joost
fbac245004 * Replaced remaining usage of build option with package variant
git-svn-id: trunk@22538 -
2012-10-04 19:25:41 +00:00
pierre
fd63593ec3 Add mips cpu code and generate helpful message for unsupported cpu
git-svn-id: trunk@22532 -
2012-10-04 07:28:29 +00:00
pierre
f2087d01a1 Set register to value parameter of longjmp procedure
git-svn-id: trunk@22531 -
2012-10-03 22:32:21 +00:00
pierre
6b911b4e43 * MIPS CPU is also less precise for arctan, as arm cpu
git-svn-id: trunk@22530 -
2012-10-03 22:01:52 +00:00
pierre
a1a171d7e8 Fix problems introduced by unaligned patch rev 22516 for 64bit systems
git-svn-id: trunk@22529 -
2012-10-03 21:11:21 +00:00