michael
d3ebc96dc8
* Fix bug ID #25412
...
git-svn-id: trunk@26574 -
2014-01-24 13:55:11 +00:00
michael
7a3cd62e3a
* Patch from Dennis (Bug ID 25534) to add some APR functions to the interface
...
git-svn-id: trunk@26573 -
2014-01-24 10:40:22 +00:00
michael
e164a16171
* Reworked TUploadedFile.Stream
...
git-svn-id: trunk@26572 -
2014-01-24 09:44:36 +00:00
nickysn
be85998313
* fixes in optimize_op_const:
...
* Do the sign extension of the 'a' parameter internally in a local variable,
so that it does not become visible outside the function.
* Use a zero extended version of 'a' (instead of sign extension) for the
parameter of ispowerof2().
git-svn-id: trunk@26571 -
2014-01-23 14:05:11 +00:00
Károly Balogh
2791e8ad15
use optimized cg loading functions in 64bit compares instead of hardcoded move.ls (move.l #X,dn is 48bit long, clr.l/moveq.l is 16bit long)
...
git-svn-id: trunk@26570 -
2014-01-23 03:03:44 +00:00
Károly Balogh
667ec17cae
tiny optimization for clearing address regs
...
git-svn-id: trunk@26569 -
2014-01-23 02:29:45 +00:00
Károly Balogh
047395df5f
implemented add/sub ops in a_op_reg_ref, since these are used often. also fixed up reference handling in a_op_const_ref a bit
...
git-svn-id: trunk@26568 -
2014-01-23 02:07:24 +00:00
Károly Balogh
cd4bb364e5
reenabled and fixed up tcg68k.op_const_ref a bit
...
git-svn-id: trunk@26567 -
2014-01-22 23:15:01 +00:00
sergei
534ecbda9f
* SPARC: r26561 caused a_op_const_reg_reg used for zero-extending 8-bit values to be optimized away. Fixed by replacing it with an explicit instruction.
...
git-svn-id: trunk@26566 -
2014-01-22 21:37:37 +00:00
masta
0736bf4ded
Try to change typical constant AND-masking operations into shifts for ARM
...
If the constant only contains a string of ones starting from lsb or msb
we can shift out the bits accordingly, opening up some possibilities for
the peephole optimizer to fold at least one shift into another
operation.
git-svn-id: trunk@26565 -
2014-01-22 20:21:02 +00:00
svenbarth
a2f3f0d269
Explicitely add WinSock2 unit to rtl-extra so that it is installed as well.
...
git-svn-id: trunk@26564 -
2014-01-22 16:05:01 +00:00
michael
72d43272ac
* More clear and flexible way to process content from stdin
...
git-svn-id: trunk@26563 -
2014-01-22 15:35:08 +00:00
michael
3d892683a2
* Cleaner interface to set request content. Allow not reading content.
...
git-svn-id: trunk@26562 -
2014-01-22 15:15:52 +00:00
nickysn
85dd9e5789
+ added a size parameter to optimize_op_const and do a sign extension of the 'a' parameter up from the specified size, so that things like (i and $ffffffff) get optimized away the same way as (i and -1)
...
git-svn-id: trunk@26561 -
2014-01-22 15:00:34 +00:00
michael
bef2957e0b
* Use global class vars to create handler/request/response. Avoids having to do 2 overrides
...
git-svn-id: trunk@26560 -
2014-01-22 14:55:14 +00:00
Károly Balogh
e6db32e192
+ add missing "else" in r26558 to fix build
...
git-svn-id: trunk@26559 -
2014-01-22 09:33:50 +00:00
Tomas Hajny
8242d060ce
* correct name for OS/2 and EMX import libraries
...
git-svn-id: trunk@26558 -
2014-01-22 00:50:41 +00:00
sergei
aadb407e31
* Convert int64 to double in more straightforward way.
...
git-svn-id: trunk@26557 -
2014-01-21 14:33:56 +00:00
sergei
6dd845a183
* Removed TTabCoef type and unused zero members in coefficient arrays (the actual number of coefficients is passed to polevl/p1evl anyways).
...
* Use sizeint type instead of integer (the latter is 16-bit, resulting in unneeded adjustments on non-x86 targets).
git-svn-id: trunk@26556 -
2014-01-21 14:32:38 +00:00
sergei
ab44638635
+ SPARC: initial peephole optimizer.
...
git-svn-id: trunk@26555 -
2014-01-21 14:22:59 +00:00
pierre
42140bd11f
Add forgotten new file, should fix bug report 25571
...
git-svn-id: trunk@26554 -
2014-01-21 14:17:29 +00:00
sergei
cda81e1d18
* SPARC: emit "x shl 1" as "x+x", it yields shorter code.
...
git-svn-id: trunk@26553 -
2014-01-21 13:50:35 +00:00
pierre
408dc2d2c1
Regenerated after: Add -h output for new assemblers
...
git-svn-id: trunk@26552 -
2014-01-21 09:01:21 +00:00
pierre
af83a74544
Add -h output for new assemblers
...
git-svn-id: trunk@26551 -
2014-01-21 09:00:53 +00:00
Tomas Hajny
daa8eadb14
* allow trailing backslash in SetCurrentDir and ChDir
...
git-svn-id: trunk@26550 -
2014-01-21 00:42:16 +00:00
pierre
9fc9f4bdba
Use new as_i8086_nasmobj as external assembler for msdos target
...
git-svn-id: trunk@26549 -
2014-01-21 00:27:42 +00:00
pierre
3327d508ee
Enable nasm assembler for x86_64 cpu
...
git-svn-id: trunk@26548 -
2014-01-21 00:26:49 +00:00
pierre
045f161012
Separate out nasm assembler for i8086, i386 and x86_64 cpus, also separte based on target object format
...
git-svn-id: trunk@26547 -
2014-01-21 00:26:08 +00:00
pierre
dfd37aae43
Add several x86 assemblers: yasm, and target specialized nasm, including for x86_64
...
git-svn-id: trunk@26546 -
2014-01-21 00:23:51 +00:00
pierre
b158ad6a9c
Handle asmextraopt in arm assembler
...
git-svn-id: trunk@26545 -
2014-01-21 00:21:34 +00:00
pierre
12a1a680cc
Regenerated after: Add help output for new -ao option to set asmextraopt
...
git-svn-id: trunk@26544 -
2014-01-21 00:20:51 +00:00
pierre
e44dc53083
Add help output for new -ao option to set asmextraopt
...
git-svn-id: trunk@26543 -
2014-01-21 00:20:23 +00:00
pierre
5e6669890a
Handle asmextraopt in powerpc, mips and sparc assemblers
...
git-svn-id: trunk@26542 -
2014-01-21 00:19:17 +00:00
pierre
3f33fdd445
Handle asmextraopt in powerpc assmeblers
...
git-svn-id: trunk@26541 -
2014-01-21 00:17:56 +00:00
pierre
441b9feffc
pass new asm extra opt using -ao option
...
git-svn-id: trunk@26540 -
2014-01-21 00:16:53 +00:00
pierre
6d4a9aad66
pass new asm extra opt using -ao option
...
git-svn-id: trunk@26539 -
2014-01-21 00:16:26 +00:00
pierre
e9c0484b3c
pass new asm extra opt using -ao option
...
git-svn-id: trunk@26538 -
2014-01-21 00:15:43 +00:00
pierre
4441bbb9dc
Add new global asmextraopt variable
...
git-svn-id: trunk@26537 -
2014-01-21 00:14:49 +00:00
pierre
1cec09f979
Add -Caoldwin32gnu ABI option to cope with 'ret $4' issues in old GNU mingw32 C compiler (version below 4.7)
...
git-svn-id: trunk@26536 -
2014-01-20 22:47:46 +00:00
nickysn
a85bb98aa6
* patch from Max Nazhalov with improvements to the i8086 64-bit division:
...
since [unnormalized] n >= 0x10000 now, we have
1. lzv<=47, so all code that makes shifts by >= 48 is dead;
2. q3=0, so main loop can be executed just 3 times instead of 4.
git-svn-id: trunk@26535 -
2014-01-20 21:39:05 +00:00
sergei
8b3217815b
* When inlining currency (ordinal) multiplication, change resultdef to int64, in order to be consistent with behavior of generic handling. Fixes compilation faliure after r26500, Mantis #25565 .
...
git-svn-id: trunk@26534 -
2014-01-20 17:16:11 +00:00
michael
24e9e8a68c
* Reverted revision 26000, which is totally wrong
...
git-svn-id: trunk@26533 -
2014-01-20 17:02:14 +00:00
Károly Balogh
5e15e4b07d
add basic constant handling to subscript nodes, avoid ie20060521 when building rgobj.pas with -O3/-O4
...
git-svn-id: trunk@26532 -
2014-01-20 12:00:48 +00:00
marco
a57df5f0dd
* commited correction for Mantis #25560 , misspelled constructor keyword
...
git-svn-id: trunk@26531 -
2014-01-20 10:39:39 +00:00
svenbarth
f64ba97285
Fix compilation of WinCE (for both ARM and i386!) after RTL changes
...
* rtl/wince/Makefile.fpc: comment socket related units (which were moved)
* rtl/wince/Makefile: regenerate
* packages/rtl-extra/fpmake.pp:
We need the sockets unit inside the win directory for WinCE as well. Best solution might be to merge the WinSock and WinSock2 units of Win32/64 and WinCE to get rid of the wince directory of rtl-extra
* packages/winceunits/fpmake.pp:
Add rtl-extra as dependency as we need the socket related units for Bluetooth
git-svn-id: trunk@26530 -
2014-01-20 09:31:17 +00:00
Tomas Hajny
729730454b
+ source file for cp852 (IBM Latin-2 / central Europe) added
...
git-svn-id: trunk@26529 -
2014-01-20 01:24:04 +00:00
Tomas Hajny
2e004af6e7
+ character sets for central Europe added also to Makefiles as implicit units
...
git-svn-id: trunk@26528 -
2014-01-20 00:26:15 +00:00
Tomas Hajny
be6fdf21ce
+ character sets for central Europe added also to Makefiles as implicit units
...
git-svn-id: trunk@26527 -
2014-01-20 00:23:36 +00:00
Tomas Hajny
ce4cb437e2
+ character sets for central Europe added also to Makefiles as implicit units
...
git-svn-id: trunk@26526 -
2014-01-20 00:20:11 +00:00
paul
a1b5392e6c
add missing charset source files
...
git-svn-id: trunk@26525 -
2014-01-19 23:45:41 +00:00