svenbarth
|
17bb29ddc3
Check for tf_winlikewidestring in the target's flags instead of relying on the target being a Windows system when determining whether the system as the WideString type that's separate from UnicodeString
|
před 9 roky |
svenbarth
|
aaff6d0b97
Allow Delete() and Insert() to be used with generic types as arguments.
|
před 9 roky |
svenbarth
|
a2c9c75e97
Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures.
|
před 9 roky |
svenbarth
|
8c96fbed8f
Fix for Mantis #28832
|
před 9 roky |
Jonas Maebe
|
abe8d44f37
* changed allocating a temp with type sinttype and size sinttype*dims for
|
před 9 roky |
svenbarth
|
8287773b16
Reverted revision 33036. This feature is too controverse to be left in.
|
před 10 roky |
svenbarth
|
ed94ca4b24
Add support for IfThen() instrinsic that works like the if-statement in that it evaluates only the expression that is indeed executed.
|
před 10 roky |
Jonas Maebe
|
8917633199
* implement sizeof/typeof completely at the node level, based on
|
před 10 roky |
svenbarth
|
74c79803f7
Extend tlocalvarsym with the ability to not register it if needed.
|
před 10 roky |
florian
|
70b8789262
o basic extended pascal support:
|
před 10 roky |
Jonas Maebe
|
2778bf55c7
* add "doregister" parameter to torddef.create, and don't register temporary
|
před 10 roky |
florian
|
f00a55ae08
+ tinlinenode.createintern
|
před 10 roky |
Jonas Maebe
|
67b8aceaee
* synchronized with privatetrunk till r30095
|
před 10 roky |
Jonas Maebe
|
68303b8df1
* add explicit check that argument of sizeof(x) is a simple load node (this
|
před 10 roky |
florian
|
0dfbba86f3
* properly firstpass nodes when inc(...) is converted into ...:=...+x, resolves #27471
|
před 11 roky |
florian
|
c9ba9665dd
* set nf_internal for if nodes generated by assert, prevent warning for assert(true); resolves #26467
|
před 11 roky |
nickysn
|
a9e1419ee3
* extracted the pass 1 handling of inc/dec to a virtual method first_IncDec
|
před 11 roky |
pierre
|
a77735d7af
Fix bug in in_const_swap_qword handling
|
před 11 roky |
Jonas Maebe
|
e8026ad8d3
* fixed the resultdef of length() intrinsic: it's ossinttype rather than
|
před 11 roky |
sergei
|
04d8e8a5dc
* On 64-bit targets, handle abs(int64) internally, using the same code as for abs(longint), i.e. without branching. Both generic and x86-specific pass 2 code is already suitable for different operand sizes, only type checking needs removal of excessive conversions to 32 bits.
|
před 11 roky |
svenbarth
|
34394d6925
Fix for Mantis #26180. Accept undefineddef as first parameter type of an Assert if it is used inside a generic.
|
před 11 roky |
sergei
|
274c2fc82f
* handle_ln_const: if/else branches were swapped, correct values are: ln(0)=-Inf and ln(-#)=NaN.
|
před 11 roky |
sergei
|
743326dc70
* abs(): when translated to generic fpc_abs_real() helper, typecast result back to original precision, similar to how it is done for sqr and sqrt. Fixes compilation on m68k after r27808 (m86k looks like the only target still needing this generic handling).
|
před 11 roky |
sergei
|
37625211f5
* Fixed sqrt procedure selection on arm-wince after r27809.
|
před 11 roky |
sergei
|
22e099d000
* sqrt(real): for targets with emulated floating point, invoke float64_sqrt or float32_sqrt from softfpu code. Testing on ARM CPU shows that float64_sqrt executes about twice faster and offers better accuracy than fpc_sqrt_real from genmath.inc.
|
před 11 roky |
sergei
|
fc5f45f65c
* sqr(real) and sqrt(real): remove typeconv node inserted by initial call processing (see explanation in comments), allowing these functions to be evaluated using precision of argument. In particular, sqrt(single) and sqrt(double) now emit 'sqrtss' and 'sqrtsd' instructions on x86 targets with -Cfsse3. Non-x86 targets already have the necessary support in code generators.
|
před 11 roky |
florian
|
d88d644925
+ support for FMA intrinsic: if there is no hardware support, the compiler throws an error.
|
před 11 roky |
svenbarth
|
256c852631
Fix for Mantis #23776.
|
před 11 roky |
Jonas Maebe
|
d452686c39
* moved pbestrealtype from symdef to symcpu
|
před 11 roky |
Jonas Maebe
|
b57c95043f
+ support overriding tdef/tsym methods with target-specific functionality:
|
před 11 roky |