[Tinycc-devel] [PATCH 4/8] arm-asm: Add ldc, ldcl, stc, stcl

2021-01-14 Thread Danny Milosavljevic
--- arm-asm.c | 174 - arm-tok.h | 5 ++ tests/arm-asm-testsuite.sh | 6 ++ 3 files changed, 184 insertions(+), 1 deletion(-) diff --git a/arm-asm.c b/arm-asm.c index ada746b..9b5fa71 100644 --- a/arm-asm.c +++ b/arm-asm.c

[Tinycc-devel] [PATCH 3/8] arm-asm: Add mcr, mrc

2021-01-14 Thread Danny Milosavljevic
--- arm-asm.c | 50 ++ arm-tok.h | 2 ++ 2 files changed, 44 insertions(+), 8 deletions(-) diff --git a/arm-asm.c b/arm-asm.c index 54947e6..ada746b 100644 --- a/arm-asm.c +++ b/arm-asm.c @@ -336,6 +336,7 @@ static void asm_coprocessor_opcode(TCCSt

[Tinycc-devel] [PATCH 6/8] arm-asm: Add vldr, vstr.

2021-01-14 Thread Danny Milosavljevic
Also add s0...s31, d0...d15 --- arm-asm.c | 105 - arm-tok.h | 59 + tests/arm-asm-testsuite.sh | 8 ++- 3 files changed, 169 insertions(+), 3 deletions(-) diff --git a/arm-asm.c b/arm-asm.c index 3591651

[Tinycc-devel] [PATCH 5/8] arm-asm: Add ldc2, ldc2l, stc2, stc2l

2021-01-14 Thread Danny Milosavljevic
--- arm-asm.c | 22 +- arm-tok.h | 4 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/arm-asm.c b/arm-asm.c index 9b5fa71..3591651 100644 --- a/arm-asm.c +++ b/arm-asm.c @@ -1406,7 +1406,22 @@ static void asm_coprocessor_data_transfer_opcode(TCCState *s1,

[Tinycc-devel] [PATCH 7/8] arm-asm: Add vmla, vmls, vnmls, vnmla, vmul, vnmul, vadd, vsub, vdiv

2021-01-14 Thread Danny Milosavljevic
--- arm-asm.c | 170 - arm-tok.h | 10 +++ tests/arm-asm-testsuite.sh | 6 +- 3 files changed, 184 insertions(+), 2 deletions(-) diff --git a/arm-asm.c b/arm-asm.c index 7e59ad7..c12e3a5 100644 --- a/arm-asm.c +++ b/arm-asm.

[Tinycc-devel] [PATCH 1/8] arm-asm: Add cdp

2021-01-14 Thread Danny Milosavljevic
Also add p0...p15 (coprocessors), c0...c15 (coprocessor register aliases) --- arm-asm.c | 77 ++ arm-tok.h | 40 tests/arm-asm-testsuite.sh | 1 + 3 files changed, 118 insertions(+) diff --git a/arm-asm.c

[Tinycc-devel] [PATCH 8/8] arm-asm: Add vneg, vabs, vsqrt, vcmp, vcmpe

2021-01-14 Thread Danny Milosavljevic
--- arm-asm.c | 68 ++ arm-tok.h | 5 +++ tests/arm-asm-testsuite.sh | 2 ++ 3 files changed, 68 insertions(+), 7 deletions(-) diff --git a/arm-asm.c b/arm-asm.c index c12e3a5..9b968c5 100644 --- a/arm-asm.c +++ b/arm-asm.c @

[Tinycc-devel] [PATCH 2/8] arm-asm: Add cdp2

2021-01-14 Thread Danny Milosavljevic
Also allow instructions without condition code in the first place --- arm-asm.c | 20 +++- arm-tok.h | 4 tests/arm-asm-testsuite.sh | 3 ++- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/arm-asm.c b/arm-asm.c index b7f17e2

[Tinycc-devel] [PATCH 0/8] Implement ARM VFP in ARM inline assembler

2021-01-14 Thread Danny Milosavljevic
This patchset implements ARM VFP. First, general coprocessor support is added (VFP are coprocessors in 32 bit ARM). Because the "cdp2" instruction has no condition code, support for instructions without condition code is added to the inline assembler. Finally, VFP coprocessor support is added.

Re: [Tinycc-devel] All known working ports

2021-01-14 Thread Christian Jullien
Ok I remember, in fact tcc compiled by tcc only supports static build atm on macOS. If we compile tcc with clang both static and shared versions do work. My test suite produces: 56 -rwxr-xr-x1 jullien staff 25668 Jan 14 15:56 tinycc-clang-shared 872 -rwxr-xr-x1 jullien

Re: [Tinycc-devel] All known working ports

2021-01-14 Thread Steffen Nurpmeso
Christian Jullien wrote in <001f01d6ea66$d5b65b30$81231190$@orange.fr>: |Hi all, | |With Herman, who did an impressive work with elf support, we recently added |many new *BSD ports. That is great! |Today, I recompiled mob and ran tests on all platforms I can connect to. | |I'm glad to sha

Re: [Tinycc-devel] All known working ports

2021-01-14 Thread Christian Jullien
Something looks broken (not sure) I'll better check and tell you. -Original Message- From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of Daniel Glöckner Sent: Thursday, January 14, 2021 14:34 To: jull...@eligis.com; tinycc-devel@nongnu.org Subject: Re

Re: [Tinycc-devel] All known working ports

2021-01-14 Thread Daniel Glöckner
On Thu, Jan 14, 2021 at 12:17:23PM +0100, Christian Jullien wrote: > macOS | x64 | clang/tcc | Ok (only tcc static) You reported success with dynamic linking on June 21. Why only static this time? Best regards, Daniel ___ Tinycc-devel mailin

Re: [Tinycc-devel] All known working ports

2021-01-14 Thread Christian Jullien
Depending on what you expect to do, the Windows x86 binary "probably" works in WIN32 compatible mode. Otherwise, it would be a big effort to support this OS which has not evolved since 2001 (except in its ArcaOS flavor). From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.or

Re: [Tinycc-devel] All known working ports

2021-01-14 Thread W. Schmid
An OS/2 port would also be nice. Am 14.01.2021 um 12:17 schrieb Christian Jullien: Hi all, With Herman, who did an impressive work with elf support, we recently added many new *BSD ports. Today, I recompiled mob and ran tests on all platforms I can connect to. I’m glad to share with you the

[Tinycc-devel] All known working ports

2021-01-14 Thread Christian Jullien
Hi all, With Herman, who did an impressive work with elf support, we recently added many new *BSD ports. Today, I recompiled mob and ran tests on all platforms I can connect to. I'm glad to share with you the most recent list of known ports and their status. Committers, a you can see,