tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] [PATCH 1/3] arm-asm: Implement branch to label


From: Danny Milosavljevic
Subject: Re: [Tinycc-devel] [PATCH 1/3] arm-asm: Implement branch to label
Date: Tue, 5 Jan 2021 20:45:21 +0100

Some tests which cannot be automatically generated:

1.

__asm__(".a:\n\t"
        "mov r0, #1\n\t"
        "bne .a");

2.

__asm__("mov r0, #1\n\t"
        "bne L0\n\t"
        "L0:\n\t");

3.

__asm__("mov r1, #2\n\t"
        ".L0:\n\t"
        "mov r0, #1\n\t"
        "bne .L0");

So maybe we should have a directory with manual assembly tests, probably at
least one for arm and one for x86.

What do you think?

Attachment: pgploWECX6ACm.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]