tg74
d8fa3dd4ed
bugfix external gnu-assembler - special handling suffix vcvtpd.. destination operand = xmm =>> suffix x, destination ymm or zmm =>> no suffix
...
git-svn-id: branches/tg74/avx512-0037785@47145 -
2020-10-20 08:00:39 +00:00
tg74
4a6d21b1c9
bugfix external gnu-assembler - sae is ignored by intel =>> gnu-assembler not supported
...
git-svn-id: branches/tg74/avx512-0037785@47144 -
2020-10-20 04:27:13 +00:00
tg74
1bad350d43
bugfix external assembler gnu-assembler
...
git-svn-id: branches/tg74/avx512-0037785@47141 -
2020-10-19 15:27:43 +00:00
tg74
fa986864ff
bugfix external assembler gnu assembler
...
git-svn-id: branches/tg74/avx512-0037785@47139 -
2020-10-19 14:56:33 +00:00
tg74
c65b042856
bugfix opcodes cvt.., vcvt.. memory operands and typesize
...
git-svn-id: branches/tg74/avx512-0037785@47113 -
2020-10-15 08:22:29 +00:00
florian
65047cecdb
+ optimize comparisons of constant pointers
...
git-svn-id: trunk@47031 -
2020-10-01 20:33:03 +00:00
florian
284aca7348
+ x86: FstpFld2Fst optimization (re-enabled for safe cases)
...
git-svn-id: trunk@47024 -
2020-09-30 19:20:14 +00:00
pierre
4a6358bfc1
* Fix NaN for watcom assembler (C000h is considered as a label, use 0xC000 instead)
...
* Also use ApplyAsmSymbolRestrictions for label names (required for units using embedded '.'
* Add ':' after a label if there is hp^.next is not assigned
git-svn-id: trunk@47018 -
2020-09-30 13:50:43 +00:00
pierre
fa12dfa7b5
Rename pvmt internal type to lower_pvmt for i386-watcom as watcom assembler is not case sensitive
...
git-svn-id: trunk@47014 -
2020-09-30 12:18:39 +00:00
pierre
c20b51a806
Use ApplyAsmSymbolRestrictions function and limit label sie to 247 for watcom assembler
...
git-svn-id: trunk@47013 -
2020-09-30 12:17:24 +00:00
pierre
64da07da48
Add conversion from "$" to "." for i386-watcom target and avoid iteration if no char modification is wanted in ApplyAsmSymbolRestrictions function
...
git-svn-id: trunk@47012 -
2020-09-30 12:16:21 +00:00
florian
69fcacc948
* use fld/fst on i386 to copy doubles
...
git-svn-id: trunk@47009 -
2020-09-29 20:59:29 +00:00
florian
e124b07e86
+ evaluate typeinfo(<type1>)=/<>typeinfo(<type2>) at compile time, resolves #30260
...
git-svn-id: trunk@47008 -
2020-09-29 20:14:27 +00:00
Károly Balogh
9f8417ba52
z80: added handling of sections provided by the startup code to the vlink linker script. this fixes executable building, but the resulting executables still don't work at this point
...
git-svn-id: trunk@46980 -
2020-09-27 22:58:01 +00:00
Károly Balogh
aa745e0319
z80: re-enabled af_smartlink_sections for vasm which is required for the vasm + vlink combo, partially reverting r46916
...
git-svn-id: trunk@46979 -
2020-09-27 22:55:59 +00:00
Károly Balogh
7c195d2062
z80: cleaned up some tabs vs. spaces indentation mess in the vasm writer. no functional change.
...
git-svn-id: trunk@46978 -
2020-09-27 22:52:06 +00:00
florian
bb92fbafa0
patch by J. Gareth Moreton: GetNextInstructionUsingReg drops out earlier, second part of #37526
...
git-svn-id: trunk@46976 -
2020-09-27 21:05:43 +00:00
florian
eec51afadd
* patch (with little modification) by J. Gareth Moreton: refactor ARM/Aarch64 peephole optimizer, first part of #37526
...
git-svn-id: trunk@46975 -
2020-09-27 21:05:42 +00:00
florian
e1536bdf26
* when implicit try...finallys are turned off, do not throw an error if a procedure
...
is left which would need but does not have an implicit try...finally block, resolves #37823
git-svn-id: trunk@46974 -
2020-09-27 16:53:59 +00:00
florian
a628c1c3dd
* if an array constructor is passed to a formaldef parameter, it is passed as a set (if the conversion is possible), resolves #37796
...
git-svn-id: trunk@46973 -
2020-09-27 16:37:20 +00:00
florian
7f53d04ffd
+ xtensa: make use of nsau to implement Bsr*
...
git-svn-id: trunk@46963 -
2020-09-26 22:03:13 +00:00
florian
1c370ccde1
+ xtensa: make use of float.s instruction
...
git-svn-id: trunk@46962 -
2020-09-26 20:12:29 +00:00
florian
4ced513363
* xtensa-freertos: run python helpers only on non unix by directly calling python
...
git-svn-id: trunk@46961 -
2020-09-26 20:12:28 +00:00
florian
112f8a41ad
* Xtensa: set is_jmp flag so branch optimization works
...
git-svn-id: trunk@46960 -
2020-09-26 20:12:27 +00:00
florian
aa8fdabe1f
* xtensa-freertos: patch by Alfred for better tool search, resolves #37308
...
git-svn-id: trunk@46958 -
2020-09-26 15:44:37 +00:00
florian
1fb7603f61
* x86: ImulMov2Imul optimization
...
* x86: apply OptPass1VOP also to vsqrts*
git-svn-id: trunk@46955 -
2020-09-25 20:06:27 +00:00
florian
61da70bb72
* do not copy unused paravarsyms
...
git-svn-id: trunk@46954 -
2020-09-25 20:06:26 +00:00
svenbarth
cce2dad1bf
* fix for Mantis #37806 : allow undefineddefs for Include() and Exclude()
...
+ added tests
git-svn-id: trunk@46953 -
2020-09-25 14:13:53 +00:00
florian
df6baa888b
* another error message changed into a better one
...
git-svn-id: trunk@46947 -
2020-09-24 20:09:33 +00:00
pierre
a4e520180f
Avoid range check error in a_op_const_reg_reg method when compiled with -CriotR
...
git-svn-id: trunk@46945 -
2020-09-24 16:06:49 +00:00
svenbarth
e72f324f42
* according to ISO 10206 (Extended Pascal) 6.9.3.5 the "otherwise"-clause is supported for case-statements
...
+ added test
git-svn-id: trunk@46943 -
2020-09-24 11:41:43 +00:00
florian
dfc485c4f4
* better error message in case of illegal nodes for string constants, resolves #34054
...
git-svn-id: trunk@46931 -
2020-09-23 20:25:04 +00:00
florian
4de5195a9a
+ modified patch by J. Gareth Moreton: Aarch64: LDR/STR pairing optimisation, resolves #37580
...
git-svn-id: trunk@46917 -
2020-09-22 19:51:42 +00:00
pierre
74e83e9d8b
Disable af_smartlink_sections option for Z80 vasm and z80asm assemblers, as it leads to errors
...
git-svn-id: trunk@46916 -
2020-09-22 15:44:15 +00:00
svenbarth
ff4e1345ff
* fix for Mantis #37779 : use init RTTI instead of full RTTI when copying an array
...
+ added test
git-svn-id: trunk@46915 -
2020-09-21 20:17:55 +00:00
florian
9d6e34ffc8
* compilation on i386 fixed
...
git-svn-id: trunk@46914 -
2020-09-21 19:46:47 +00:00
florian
7107c39440
* search also /usr/lib64 for libraries etc. on aarch64-linux, apparently some distros use it
...
git-svn-id: trunk@46913 -
2020-09-21 17:57:19 +00:00
florian
b55c740702
* extended AndMovzToAnd to support more variants
...
git-svn-id: trunk@46912 -
2020-09-21 17:57:19 +00:00
florian
08b61997ca
* MovzAnd2Movz* optimization improved
...
+ MovzAnd2And optimization introduced
git-svn-id: trunk@46911 -
2020-09-21 17:57:18 +00:00
florian
0bdc1fdea4
* do not set nonlocal for inter-procedural labels, this is not needed, they use
...
the jmpbuf to reach the target
git-svn-id: trunk@46907 -
2020-09-20 18:57:00 +00:00
Jonas Maebe
aa75d39ab5
* don't perform "(x=y) or (z=u)" -> "(x xor y) or (z xor u)" optimization
...
if z or u may raise exceptions (mantis #37780 )
git-svn-id: trunk@46905 -
2020-09-20 12:43:45 +00:00
Jonas Maebe
9f42931eeb
* don't print range check warnings when evaluating inlined explicit typecasts
...
git-svn-id: trunk@46904 -
2020-09-20 10:29:51 +00:00
florian
e83d214e98
+ allow in ISO mode that { ... } and (* ... *) comments are paired, resolves at least partly #37428
...
git-svn-id: trunk@46903 -
2020-09-20 08:47:00 +00:00
svenbarth
2c372071fd
* correctly handle static arrays with a lower index <> 0
...
+ added test
git-svn-id: trunk@46901 -
2020-09-19 21:20:07 +00:00
svenbarth
bf1eae7bd6
* small formatting adjustments for the sake of consistency
...
git-svn-id: trunk@46892 -
2020-09-18 15:00:17 +00:00
svenbarth
2ff18e48a0
* fix for Mantis #36909 : apply patch by Ryan Joseph so that array constructors can be used for static arrays as well.
...
+ added test
git-svn-id: trunk@46891 -
2020-09-18 15:00:15 +00:00
svenbarth
d3e18ccb5e
* fix for Mantis #37221 : apply adjusted patch by Ondrej Pokorny to allow the use of Copy() on open array parameters (the result will be a dynamic array)
...
+ added test
git-svn-id: trunk@46890 -
2020-09-18 15:00:10 +00:00
Károly Balogh
de180d7656
* m68k: fix index register usage in memory references, when the index is 8 or 16 bit wide and unsigned
...
git-svn-id: trunk@46886 -
2020-09-17 20:51:25 +00:00
florian
60bd9c5ba0
* write a proper error message if types are read/written which are not supported in iso mode, resolves #37763
...
git-svn-id: trunk@46885 -
2020-09-17 19:58:55 +00:00
svenbarth
d1cd26592a
* fix for Mantis #37745 : section names where the string offset has more than 7 digits need to be Base64 encoded
...
git-svn-id: trunk@46876 -
2020-09-16 05:16:56 +00:00