[LLVMbugs] [Bug 11855] ARM: inline asm does not support pre-UAL conditional LDRH etc
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jun 28 06:57:34 PDT 2013
Renato Golin <renato.golin at linaro.org> changed:
What |Removed |Added
--- Comment #10 from Renato Golin <renato.golin at linaro.org> ---
I had extensive talks with key ARM people spanning across multiple compiler
toolchains, companies and countries (some of them replied to this post), and I
have reached the conclusion that it's not profitable, not even desirable, to
implement non-UAL assembly directives in LLVM. It is a unanimous opinion that
there is no future for non-UAL assembly.
Other toolchains already had pre-UAL support, and maintaining them costs almost
nothing, so there is no incentive to remove the feature. But implementing them
in LLVM makes no sense. GCC's lack of support for UAL is troubling and should
be dealt with on its own, without affecting the direction of LLVM. The cost
associated with implementing it in LLVM is big and the benefit is small. We'd
rather focus our attention to other matters, including UAL assembly support.
LLVM-based compilers, especially Clang, focus on being standards compliant, not
GNU compliant, and that's an important tool for the rest of the community, that
uses the fact that we have now two powerful open source C/C++ compilers, with
which they can test and find more errors on their programs. If Clang follows
GCC on every step, the community at large would lose that ability, and there
would be little point for LLVM.
Although we understand that legacy code cannot be compiled with Clang, this is
not an entirely bad thing, as we currently have two solutions for this:
1. Use GAS, GCC etc, as little as possible, on the restricted subset where
Clang+LLVM can't compile
The same is true for any other legacy compiler, including the Intel and the ARM
compilers. There's nothing new here, and as an example of their quality,
projects that rely on their idiosyncrasies are summarily abandoned when they
hit the open source world.
2. Work with the developers to upgrade their code, use new libraries, write new
It's a very noble activity that of updating your software. Machines are not
what they used to be, algorithms get better, compilers get better, standards
get better. The more we encourage people to stick to standards, the better.
Especially since the number of reasons not to is getting smaller every decade.
I'm closing this bug as "wontfix", and I hope not to offend anyone with this,
but there needs to be a line drawn somewhere. We will continue to accept the
removal of pre-UAL syntax from LLVM as a means to get the integrated assembler
production quality for ARM as soon as possible.
Feel free to reference this text on other/future bugs about non-UAL syntax.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs