Hello,

On Tue, 5 Jan 2021, Danny Milosavljevic wrote:

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?

Don't overcomplicate :) Make it one file and add it as tests/asm-arm.c (or .s or .S).


Ciao,
Michael.

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to