Skip to content

Integrated arm assembler doesn't understand .MACRO / .ENDM in caps #20803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nico opened this issue Jul 24, 2014 · 5 comments
Closed

Integrated arm assembler doesn't understand .MACRO / .ENDM in caps #20803

nico opened this issue Jul 24, 2014 · 5 comments
Labels
backend:ARM bugzilla Issues migrated from bugzilla wontfix Issue is real, but we can't or won't fix it. Not invalid

Comments

@nico
Copy link
Contributor

nico commented Jul 24, 2014

Bugzilla Link 20429
Resolution WONTFIX
Resolved on Aug 08, 2014 12:33
Version trunk
OS All
Blocks #20796
CC @rengolin

Extended Description

thakis@ubu:~$ cat test.S
.MACRO foo
.ENDM

thakis@ubu:~$ arm-linux-gnueabihf-g++ -c test.S

But:

$ ~/src/llvm-build/bin/clang -target arm-linux-androideabi -c test.S
test.S:1:1: error: unknown directive
.MACRO FFTSTAGE
^
test.S:2:1: error: unknown directive
.ENDM
^

Used in openmax.

@nico
Copy link
Contributor Author

nico commented Jul 24, 2014

openmax also uses .ELSE , .ENDIF etc. AsmParser.cpp already converts opcodes to lowercase before looking them up, maybe it should do the same for directives?

@nico
Copy link
Contributor Author

nico commented Jul 24, 2014

I see if we can change openmax. That seems like a nicer approach, if viable.

@nico
Copy link
Contributor Author

nico commented Jul 24, 2014

Err, I meant "I will check if we can change openmax".

@rengolin
Copy link
Member

rengolin commented Aug 5, 2014

Thanks Nico, having one way to parse macros would be very helpful.

@nico
Copy link
Contributor Author

nico commented Aug 8, 2014

We ended up changing this in openmax_dl, so this no longer is an issue for us. I'm a bit surprised that clang can get away with only supporting lower-case directives given that gas supports arbitrary case, but it's a pleasant surprise :-)

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 9, 2021
@Quuxplusone Quuxplusone added the wontfix Issue is real, but we can't or won't fix it. Not invalid label Jan 20, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:ARM bugzilla Issues migrated from bugzilla wontfix Issue is real, but we can't or won't fix it. Not invalid
Projects
None yet
Development

No branches or pull requests

3 participants