peter
658c46b903
* remove tdictionary and tindexarray
...
* symtables based on TFPHashObjectList and TFPObjectList
* rename torddef.typ to torddef.ordtype
* rename tfloatdef.typ to tfloatdef.floattype
* rename tdef.deftype to tdef.typ
* remove obsolete browser code, browcol is kept so the ide
can still be compiled
git-svn-id: trunk@5192 -
2006-11-03 00:30:30 +00:00
peter
05183ac829
* AsmSymbolDict changed to FPHashObjectList
...
git-svn-id: trunk@5139 -
2006-11-01 00:22:13 +00:00
florian
ef7bd58c54
* germanism removed (aktfilepos -> current_filepos)
...
git-svn-id: trunk@5099 -
2006-10-30 22:37:31 +00:00
florian
85d63d9fa9
* settings refactored
...
git-svn-id: trunk@5094 -
2006-10-30 18:02:58 +00:00
peter
3078a1927f
* remove ttype
...
* rename old ttype variables *type to *def
* rename resulttypepass to pass_typecheck
* rename pass_2 to pass_generate_code
git-svn-id: trunk@5077 -
2006-10-29 22:19:39 +00:00
florian
e1faef3ec9
* pass variants by addr when using fastcall conventions
...
git-svn-id: trunk@4996 -
2006-10-21 18:03:01 +00:00
florian
185be23d12
* tail recursion is fixed in the mean time, reenabled
...
git-svn-id: trunk@4944 -
2006-10-16 18:26:57 +00:00
florian
de0bf34a10
* recreated
...
git-svn-id: trunk@4908 -
2006-10-14 16:54:21 +00:00
florian
1dd80243e5
* tables recreated
...
git-svn-id: trunk@4899 -
2006-10-14 11:21:41 +00:00
Jonas Maebe
52b3257d9c
* disabled tailrec optimization for -O2 for now since it breaks make all
...
git-svn-id: trunk@4867 -
2006-10-12 09:38:57 +00:00
Jonas Maebe
0541a887b8
* pass record parameters on the stack for mwpascal calling convention
...
(instead of by reference)
git-svn-id: trunk@4866 -
2006-10-12 08:55:11 +00:00
florian
2a54d957b2
* fixed two small errors
...
* supported_optimizerswitches now takes generic flags also into account
git-svn-id: trunk@4865 -
2006-10-11 21:14:47 +00:00
florian
a61abb25cb
* reorganized optimizer switch sets
...
git-svn-id: trunk@4862 -
2006-10-11 18:16:10 +00:00
florian
e8d5dc4ab2
* tailrecursion optimization enabled for for sparc, i386, x86-64 and arm
...
git-svn-id: trunk@4860 -
2006-10-11 16:34:28 +00:00
florian
fb5e396881
+ experimental -Sv option to support vector arithmetics
...
git-svn-id: trunk@4825 -
2006-10-07 21:39:48 +00:00
peter
d07f470b71
* remove ifdef fpc
...
git-svn-id: trunk@4819 -
2006-10-07 13:43:34 +00:00
Jonas Maebe
51259b697b
* more mmx/sse register spilling fixes:
...
* operand read/write info for movaps and movapd
* use "movapd reg,reg" instead of "movaps reg,reg" if appropriate
so the spilling code can spill the correct size to memory
* replace movaps/movapd with movss/movsd when spilling to memory
instead of movq
git-svn-id: trunk@4612 -
2006-09-12 11:07:45 +00:00
peter
d79df4c74a
* 64bit support for shrd
...
git-svn-id: trunk@4541 -
2006-09-03 08:56:10 +00:00
peter
f668e4f012
* fix possible use of invalid tai after an ait_cutobject
...
git-svn-id: trunk@4482 -
2006-08-20 20:25:06 +00:00
Jonas Maebe
cf86412832
* fixed regInInstruction to detect register usages in Ch_ALL
...
instructions whereby the registers are explicitly named in operands
(mainly for unsupported mmx/sse instructions)
git-svn-id: trunk@4240 -
2006-07-17 13:54:49 +00:00
Jonas Maebe
a3a74c3fbe
* fixed interface wrappers for darwin in case they end up in
...
a shared library
git-svn-id: trunk@3980 -
2006-06-27 14:32:14 +00:00
peter
55053a586b
* fix comisd
...
git-svn-id: trunk@3927 -
2006-06-23 21:41:19 +00:00
Jonas Maebe
fc3fb54f7c
* turning on peephole optimizations no longer turns on cse as well
...
* -O3 again performs multiple cse passes
git-svn-id: trunk@3915 -
2006-06-21 18:55:48 +00:00
Jonas Maebe
58703324a9
* fixed issue #6913 (old bug id: #5086 )
...
git-svn-id: trunk@3912 -
2006-06-21 17:11:52 +00:00
peter
b672df519a
* flexible position of REX, required for SSE2 commands
...
git-svn-id: trunk@3906 -
2006-06-20 22:38:30 +00:00
Jonas Maebe
9e57973566
- reverted previous fix, is wrong
...
git-svn-id: trunk@3819 -
2006-06-07 20:52:45 +00:00
Jonas Maebe
d9c1078793
* fixed mantis bug #6913
...
git-svn-id: trunk@3818 -
2006-06-07 19:37:47 +00:00
yury
550626ef34
- Removed need of assembler startup files for wince. Now compiler directly creates .pdata section needed for arm-wince exception handling.
...
git-svn-id: trunk@3764 -
2006-06-02 08:36:25 +00:00
Jonas Maebe
93fba718b9
* proper fix for problem I tried to solve in r3655
...
git-svn-id: trunk@3661 -
2006-05-24 19:44:16 +00:00
Jonas Maebe
d1e262d18c
* fix use of unitialised value if a procedure only has an
...
array of const parameter
git-svn-id: trunk@3655 -
2006-05-24 14:56:11 +00:00
Jonas Maebe
a854918f9a
* the length of a sequence loading a constant in a register is properly set
...
* register contents are fully cleared in clearregcontentsfrom()
git-svn-id: trunk@3654 -
2006-05-24 14:38:35 +00:00
Jonas Maebe
00f401693c
* fixed web bug #5094 . Renaming registers is now done sequentially instead
...
of all at the same time, because otherwise circular renamings could
cause errors
git-svn-id: trunk@3644 -
2006-05-23 17:17:23 +00:00
florian
783b91ba1e
* yasm fix from Yuri Zaporogets
...
git-svn-id: trunk@3631 -
2006-05-22 19:06:31 +00:00
Jonas Maebe
cc7cea1a5d
* always extend parameters < sizeof(aint) to sizeof(aint) for darwin/x86
...
git-svn-id: trunk@3628 -
2006-05-22 10:42:55 +00:00
Jonas Maebe
a1b2701e5f
* if while we are restoring the contents of a register, we encounter an
...
operation which changes a register, clear the contents of all registers
which depend on this register
git-svn-id: trunk@3480 -
2006-05-11 16:46:58 +00:00
florian
a5dfe315ec
* made safecall working, handling not consistent yet though
...
git-svn-id: trunk@3418 -
2006-05-04 22:15:31 +00:00
florian
23e67ee289
+ intel assembler reader for x86-64
...
git-svn-id: trunk@3411 -
2006-05-01 19:56:00 +00:00
Jonas Maebe
34f1c427eb
* pass shortstrings (and longstrings) by reference to C routines (this is
...
what Apple's universal interfaces expect)
git-svn-id: trunk@3343 -
2006-04-27 13:02:36 +00:00
Jonas Maebe
4b887ef604
* when restoring a register's previous contents after it's been replaced
...
completely, there were some missing checks to make certain these
previous contents didn't conflict with memory operations in the new
sequence
git-svn-id: trunk@3329 -
2006-04-24 11:12:17 +00:00
Jonas Maebe
3360e21bd8
+ added mwpascal as supported calling convention
...
git-svn-id: trunk@3275 -
2006-04-18 21:27:02 +00:00
Jonas Maebe
f93ea93cea
* fixed returning of records < 8 bytes but not a power of 2 from
...
functions under Darwin/x86
* implemented "mwpascal" calling conventions for darwin/x86
(pass const records by reference, destroyed registers are
[eax,ecx,edx])
git-svn-id: trunk@3196 -
2006-04-12 12:19:08 +00:00
florian
b215196734
* fixed cto
...
git-svn-id: trunk@3074 -
2006-03-29 18:25:48 +00:00
peter
0ec2921bbe
* split newasmsymbol to refasmsymbol and defineasmsymbol
...
git-svn-id: trunk@3057 -
2006-03-27 11:45:18 +00:00
florian
8a71767125
* movsql fixed in x86_64 assembler writer
...
git-svn-id: trunk@3048 -
2006-03-26 20:48:05 +00:00
florian
87da67129c
* rtl compilation with x86_64 binary writer fixed
...
git-svn-id: trunk@3042 -
2006-03-26 18:32:15 +00:00
florian
5519158dff
+ no rex.w prefix support
...
git-svn-id: trunk@3037 -
2006-03-25 19:45:09 +00:00
Jonas Maebe
af36d177d9
* if we find a constant already loaded in a register and we use that
...
register, mark the register as read by the current instruction
(fixes compilation of tcalfun8 with optimizations)
git-svn-id: trunk@3003 -
2006-03-21 15:44:55 +00:00
Jonas Maebe
01cf70d354
* don't change "mov const,ref; mov ref,reg" into "mov const,reg; mov reg,ref"
...
if ref depends on reg
git-svn-id: trunk@3002 -
2006-03-21 15:25:16 +00:00
peter
37c81492ad
Merged revisions 2827,2831,2837,2932-2980 via svnmerge from
...
svn+ssh://peter@www.freepascal.org/FPC/svn/fpc/branches/linker/compiler
r2827 (peter)
* smartlinking of resourcestrings
r2831 (peter)
* process_ea 64bit fixes
r2837 (peter)
* linker script
git-svn-id: trunk@2981 -
2006-03-19 22:12:52 +00:00
Jonas Maebe
8a6ebdf274
- disabled loop unrolling for level 3 optimizations since it only causes
...
crashes (and even if it didn't, on its own it mainly causes code
bloat)
git-svn-id: trunk@2941 -
2006-03-17 17:42:39 +00:00