Jonas Maebe
89d2775191
optcse: fix wrong typecast
2021-11-01 13:56:51 +01:00
Michael Van Canneyt
1b8170d18d
* More clear comment
2021-11-01 11:52:17 +01:00
florian
fcdbb31ec4
* AArch64: TCpuAsmOptimizer.RegLoadedWithNewValue: check if p.ops=0
2021-11-01 11:46:19 +01:00
Jonas Maebe
15865e7602
Record variant discriminators: check types
2021-10-31 21:13:35 +01:00
Jonas Maebe
4426d0da7a
Fixed variant discriminator types
2021-10-31 21:13:35 +01:00
florian
4f77cbbac4
+ keep addresses of thread vars in registers if possible and likely an advantage
2021-10-31 19:25:01 +01:00
florian
5a617cd108
+ fold real constants c1,c2 for v+c1+c2 or c1+(c2+v) (+ being either + or *) as well if fastmath is enabled
2021-10-31 17:38:08 +01:00
J. Gareth "Curious Kit" Moreton
284317d877
Fixed OptPass2Lea not honouring symbols
2021-10-31 15:44:00 +00:00
J. Gareth "Curious Kit" Moreton
42eb06f5c6
Fixed some range check problems
2021-10-31 15:44:00 +00:00
J. Gareth "Curious Kit" Moreton
b58fdc3e58
Improved ADD and SUB optimisations for LEA instructions
2021-10-31 15:44:00 +00:00
Jonas Maebe
fa4e528576
fcl-res: Mach-O fat binary support
...
Only for TMachOResourceReader. We always compile/generate a single architecture
binary, and then the programmer can combine those with lipo. So the writer does
not need fat binary support for common usage.
Resolves #39124
2021-10-31 16:35:40 +01:00
florian
ff3acfb8cd
* cleanup of 2.7.0 defines
2021-10-31 13:20:28 +01:00
florian
e657aa6431
+ write code and data size for Mach-O files if possible
2021-10-31 11:57:32 +01:00
florian
fb7cdbefb3
+ some opcodes added
2021-10-30 20:21:59 +02:00
Michaël Van Canneyt
1bc8aea2b3
* fcl-base dependency
2021-10-30 20:15:44 +02:00
Michaël Van Canneyt
64fbc1847f
* Fix license
2021-10-30 20:09:29 +02:00
Michaël Van Canneyt
6644d6c4c2
* Fix compilation
2021-10-30 20:06:40 +02:00
Michaël Van Canneyt
380e861cc8
* Needed for hashutils
2021-10-30 20:02:59 +02:00
Michaël Van Canneyt
6d4d2f2fb2
* OneTimePass & test for sha256
2021-10-30 18:23:59 +02:00
Michaël Van Canneyt
3229cb712e
* sha256 algorithm
2021-10-30 18:21:55 +02:00
Michaël Van Canneyt
b63979a5ba
* Added sensible defaults
2021-10-30 18:16:11 +02:00
Michaël Van Canneyt
8e3158d965
* Some improvements/fix based on remarks of Alexey Torgashin
2021-10-30 18:15:26 +02:00
Michaël Van Canneyt
446cc62b60
* Base16/32/64/64URL encoders/decoders, not stream based
2021-10-30 12:59:10 +02:00
florian
0f14bd45b1
* run fcl-image tests with regression tests
2021-10-29 23:06:26 +02:00
florian
ef923ba142
* consistent naming of directories
2021-10-29 22:58:23 +02:00
Michaël Van Canneyt
76e6beb929
* Restore previous default behaviour for OnDirective, put under option
2021-10-29 17:16:47 +02:00
florian
95ad8f1694
* correctly read the region label in $region directives, resolves #39395
2021-10-28 21:13:01 +02:00
florian
8ca19a3b65
* patch by Frank Rademakers: Initialize new FoxPro Float fields correctly, resolves #39418
2021-10-27 21:22:05 +02:00
Jonas Maebe
3263e12a3e
iphonesim: use ios_simulator_version_min
...
The linker expects ios_simulator_version_min rather than -iphoneos_version_min
when targeting the iOS simulator platform. Fixes compilation with Xcode 11
toolchains, which is more strict about this.
2021-10-27 20:53:42 +02:00
Jonas Maebe
334cf9c19d
iphonesim target: requires proper alignment
...
Just like the native iOS targets
2021-10-27 20:53:39 +02:00
florian
4b157a1498
+ print full file path if -vb is passed even if no line number is known, resolves #39419
2021-10-26 21:37:28 +02:00
mattias
5c7974fceb
pastojs: fixed class property getter static
2021-10-25 21:41:49 +02:00
florian
baa28faa19
* pic'fied startup code
2021-10-25 21:39:24 +02:00
florian
10fcae34a9
* improved TX86AsmOptimizer.OptPass1MOVXX
2021-10-24 18:38:23 +02:00
florian
4610980f2e
* TX86AsmOptimizer.OptPass1MOVXX takes care of volatility
2021-10-23 23:40:09 +02:00
Nikolay Nikolov
7f1050464a
+ added 'else' tracking for the if..end_if blocks
2021-10-23 11:56:25 +03:00
Nikolay Nikolov
7bef4d827d
* keep track of the block stack, when resolving labels and check whether the
...
blocks match (i.e. block..end_block, if..end_if, loop..end_loop, try..end_try)
2021-10-23 11:25:44 +03:00
J. Gareth "Curious Kit" Moreton
342803532d
Bug fix to MovMov2Mov 6 optimisation exposed by 4012c3dbd4
(and miscellaneous code refactors)
2021-10-22 22:39:46 +00:00
mattias
7997f884b7
pastojs: library: forbid unit exports
2021-10-22 23:04:02 +02:00
florian
d0fdda6da7
+ TDFABuilder.redodfainfo
2021-10-22 22:39:39 +02:00
Nikolay Nikolov
12a2c56461
- removed thlcgwasm.incblock, .decblock and br_blocks, as branching is now done
...
entirely with labels
2021-10-22 17:42:29 +03:00
Nikolay Nikolov
3094f75690
* WebAssembly code generation for 'case' nodes changed to use labels
2021-10-22 17:31:04 +03:00
Nikolay Nikolov
6fe647ee3d
* moved the default procedure CurrRaiseLabel to the end of the procedure, not
...
at the exit label. This fixes problems when using units with finalization
code that contain classes with class destructors in branchful WebAssembly
exceptions mode.
2021-10-22 13:54:55 +03:00
Nikolay Nikolov
470e77a572
+ added sanity check when resolving labels to ensure we don't get any jumps with
...
negative nesting depth
2021-10-22 13:54:55 +03:00
Nikolay Nikolov
5a0956d805
* use WebAssembly asm labels for the raise branch instruction in branchful
...
exceptions mode
2021-10-22 13:54:55 +03:00
Michaël Van Canneyt
1b6219823b
* Add test for case of pointer and size
2021-10-22 11:01:14 +02:00
Michaël Van Canneyt
ac9973490e
* Fix missing assign of result. Issue ID #39415
2021-10-22 10:37:00 +02:00
mattias
d2a091ef85
pastojs: library: export var
2021-10-21 22:57:42 +02:00
Pierre Muller
f4580ff612
Fix compilation of nds and wii OS rtl
2021-10-21 22:09:05 +02:00
mattias
429438fbb9
pastojs: fixed clear com interface reference in class field on destroy
2021-10-21 20:02:22 +02:00