nickysn
539fde196d
* rebase the llvm-mc asm writer on the GAS assembler writer - seems to be pretty
...
close in syntax
git-svn-id: branches/wasm@46668 -
2020-08-23 17:01:55 +00:00
nickysn
bd72084939
* changed op2strtype to have a large enough string to hold the instruction and
...
use that type for wasm_op2str in itcpuwasm
git-svn-id: branches/wasm@46667 -
2020-08-23 16:37:20 +00:00
nickysn
5f33623bb6
* changed JVM reference in comment to WebAssembly
...
git-svn-id: branches/wasm@46666 -
2020-08-23 16:31:59 +00:00
nickysn
988a833836
* synchronized with trunk
...
git-svn-id: branches/wasm@46665 -
2020-08-23 15:31:53 +00:00
florian
ea2ae3b8f0
+ Xtensa: use extui for and with constants
...
git-svn-id: trunk@46664 -
2020-08-23 14:17:01 +00:00
Mattias Gaertner
0b6501fbfb
fcl-passrc: test unitdot in constraint
...
git-svn-id: trunk@46663 -
2020-08-23 14:13:06 +00:00
Mattias Gaertner
050f1fa1f4
fcl-passrc: test TAnt<T:T>
...
git-svn-id: trunk@46662 -
2020-08-23 13:42:30 +00:00
Jonas Maebe
ac18c0090a
* non-zero exit code on failure
...
git-svn-id: trunk@46661 -
2020-08-23 11:31:16 +00:00
Jonas Maebe
d1d3d7cd08
* never create a regular temp for inline parameters that can be modified by
...
the caller (mantis #37465 )a
o in theory, the regular checks for doing so should never trigger, but due
to compiler-generated nodes (such as calls to fpc_ansistr_unique), they
could. Internal address nodes can deal with taking the address of the
function result in this case.
git-svn-id: trunk@46660 -
2020-08-23 11:27:59 +00:00
yury
e5a923eb7a
* 8086: Proper implementation of: If a far procvar is called, it must be in a memory location. This fixes a hack to emulate CALL reg1:reg2.
...
git-svn-id: trunk@46641 -
2020-08-23 10:26:54 +00:00
yury
04baeb2bcf
* 8086: Reverted r46557. It must be implemented differently.
...
git-svn-id: trunk@46561 -
2020-08-23 00:17:40 +00:00
yury
00db7646c8
* 8086: Fixed register allocation failure after r46559.
...
git-svn-id: trunk@46560 -
2020-08-22 23:42:12 +00:00
yury
5ec101d578
* 8086: Do not destroy contents of the BX parameter when calling a procvar by ref with a base.
...
git-svn-id: trunk@46559 -
2020-08-22 23:06:55 +00:00
yury
eee67af684
* 8086: Fixed using far procvars in a near code memory model and vice versa.
...
git-svn-id: trunk@46558 -
2020-08-22 22:17:03 +00:00
yury
6a3971c9b6
* 8086: If a far procvar is called, it must be in a memory location. This fixes a hack to emulate CALL reg1:reg2.
...
git-svn-id: trunk@46557 -
2020-08-22 22:12:40 +00:00
florian
a45f71d0dc
* Xtensa: optimize some shifts by constants
...
git-svn-id: trunk@46556 -
2020-08-22 21:28:08 +00:00
yury
4dcdaa259a
* 8086: Use CX as a scratch register instead of BX.
...
git-svn-id: trunk@46554 -
2020-08-22 20:50:02 +00:00
yury
8cc5842317
* Use TExternalAssembler.WriteComments() also by nasm and intel assembler writers.
...
git-svn-id: trunk@46553 -
2020-08-22 20:47:54 +00:00
florian
832c3d89c8
* Xtensa: disable simple random again, committed by accident
...
git-svn-id: trunk@46552 -
2020-08-22 20:36:26 +00:00
florian
04846345b2
* Xtensa: more fixes to tcg64fxtensa.a_op64_const_reg_reg and tcg64fxtensa.a_op64_reg_reg_reg
...
git-svn-id: trunk@46551 -
2020-08-22 20:33:30 +00:00
yury
6e777d8967
* ait_comment,ait_regalloc,ait_tempalloc,ait_varloc instructions produce only comments in the external assembler output. Moved handling of these instructions to TExternalAssembler.WriteComments().
...
This eliminates code duplication and improves maintainability.
git-svn-id: trunk@46550 -
2020-08-22 19:53:39 +00:00
florian
26e2759c27
* Xtensa: fixed tcg64fxtensa.a_op64_reg_reg_reg for unsigned operations
...
git-svn-id: trunk@46549 -
2020-08-22 19:38:10 +00:00
florian
eaa7d95a9d
+ Xtensa: implemented TCPUAddNode.second_cmp64bit properly
...
git-svn-id: trunk@46548 -
2020-08-22 19:38:09 +00:00
florian
15fe9f1047
* cosmetics
...
git-svn-id: trunk@46547 -
2020-08-22 19:38:08 +00:00
florian
e81920af7b
* made test more usefull
...
git-svn-id: trunk@46546 -
2020-08-22 19:38:07 +00:00
florian
6f222e276e
* Xtensa: make use of divide extension if available
...
git-svn-id: trunk@46545 -
2020-08-22 18:00:25 +00:00
florian
31cb670b20
+ Xtensa: make use of muluh/mulsh instructions
...
git-svn-id: trunk@46544 -
2020-08-22 17:21:36 +00:00
svenbarth
11b601d44c
* TThread.Terminate does not have any platform specific behavior (it should only set FTerminated to true and call TerminatedSet), thus move it to the platform independant part
...
Notes:
- Netware had a ThreadSwitch in there, but that is not really required
- some platform were missing the setting of FTerminated to True, thus they'll now do that as well
git-svn-id: trunk@46543 -
2020-08-22 15:56:13 +00:00
svenbarth
c2c7ac634a
* fix for Mantis #37616 : apply patch by Kai Burghardt to complain about the correct type used by setjmp/longjmp
...
git-svn-id: trunk@46542 -
2020-08-22 13:33:53 +00:00
yury
5ec489c018
* ait_varloc instructions are handled and removed by Trgobj.translate_registers() and never left for an assembler.
...
git-svn-id: trunk@46541 -
2020-08-22 10:58:21 +00:00
michael
7759e0a222
* Patch from BaldZhang to fix checking peer certificate
...
git-svn-id: trunk@46540 -
2020-08-21 22:24:50 +00:00
florian
92d5e613b5
* Xtensa: needs no mul helper, all variants have the MULL instruction
...
git-svn-id: trunk@46539 -
2020-08-21 21:35:50 +00:00
nickysn
9cc67f4bf8
* synchronized with trunk
...
git-svn-id: branches/wasm@46538 -
2020-08-21 21:20:41 +00:00
florian
8a36e63a56
+ initial implementation of setjmp/longjmp
...
git-svn-id: trunk@46537 -
2020-08-21 21:15:36 +00:00
florian
1f073818ba
* cleanup ARM remainders
...
* locals can have 0 as offset, force a reference in this case
git-svn-id: trunk@46536 -
2020-08-21 21:02:01 +00:00
svenbarth
5801a7431c
* reset idfpath when globals are initialized (needed for the textmode IDE)
...
git-svn-id: trunk@46535 -
2020-08-21 12:37:42 +00:00
michael
7e2dc6b345
* Removed unused assignment
...
git-svn-id: trunk@46534 -
2020-08-21 11:08:50 +00:00
michael
213d2905df
* Change some methods from using var to using out (bug ID 37376)
...
git-svn-id: trunk@46533 -
2020-08-21 10:44:48 +00:00
pierre
85d19af48c
* Remove debug ECHO lines
...
* Fix detection of -dFPC_SOFT_FPUX80, as OPT is reset after
being copied over to LOCALOPT.
+ Add FULL_TARGETS that list all targets concerned by fullcyle and associated targets.
git-svn-id: trunk@46532 -
2020-08-21 09:13:59 +00:00
michael
51b43aff3f
* Simplified SetDelimitedText
...
git-svn-id: trunk@46531 -
2020-08-21 07:52:42 +00:00
michael
81c7da83a9
* Fix bug ID #0037605 : Setting quotechar to NULL char disables quoting
...
git-svn-id: trunk@46530 -
2020-08-21 07:38:33 +00:00
nickysn
c1197ddb90
* synchronized with trunk
...
git-svn-id: branches/wasm@46529 -
2020-08-20 21:45:40 +00:00
florian
0881e4fd98
* insert literals after the section start which belongs to the current procedure
...
git-svn-id: trunk@46528 -
2020-08-20 21:29:49 +00:00
florian
7157bac9fd
* patch by Christo Crause, resolves #37335
...
* ESP8266 support for t_freertos.pas
+ -Ff switch to be able to pass the IDF_PATH without using an evironment variable
git-svn-id: trunk@46527 -
2020-08-20 21:29:48 +00:00
florian
1ad31dd32d
* reduce number of default libs
...
git-svn-id: trunk@46526 -
2020-08-20 21:29:47 +00:00
nickysn
faf8ac4d2e
* commented out the actual ait_symbol asm output in the LLVM-MC asm writer, because it produces errors
...
git-svn-id: branches/wasm@46525 -
2020-08-20 21:15:57 +00:00
nickysn
bccdf2a22a
+ also log ait_symbol_end in the LLVM-MC asm writer
...
git-svn-id: branches/wasm@46524 -
2020-08-20 21:02:06 +00:00
nickysn
c3b971e0dd
+ log the properties of ait_symbol for debugging purposes in the LLVM-MC asm writer
...
git-svn-id: branches/wasm@46523 -
2020-08-20 20:48:11 +00:00
yury
de3a479be3
* Added assembler comments about unused parameters.
...
git-svn-id: trunk@46522 -
2020-08-20 20:08:10 +00:00
yury
0a34a090e0
x86: It is more optimal to push some register (NR_FRAME_POINTER_REG) instead of a constant value in a_load_undefined_cgpara().
...
git-svn-id: trunk@46521 -
2020-08-20 19:59:36 +00:00