|
From: | Michael Matz |
Subject: | Re: [Tinycc-devel] [PATCH 1/3] arm-asm: Implement branch to label |
Date: | Wed, 6 Jan 2021 00:01:45 +0100 (CET) |
User-agent: | Alpine 2.21 (LSU 202 2017-01-01) |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |