PR18929, PATCH: Introducing immediates with # is optional on aarch64

Stepan Dyatkovskiy stpworld at narod.ru
Sun Mar 30 01:05:22 PDT 2014


Hi all,
Please find patch in attachment.

Description and fix.

According to ARM assembler language hash symbol is optional before 
immediates.
For example, see here for more details:
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0473j/dom1359731154529.html

Patch fixes three methods:
AArch64AsmParser::ParseFPImmOperand
AArch64AsmParser::ParseImmWithLSLOperand
AArch64AsmParser::ParseFPImm0AndImm0Operand

Tests set covers scalar and NEON operations for integer and 
floating-point case.

Thanks!

-Stepan



-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr18929-2014-03-30.patch
Type: text/x-diff
Size: 3825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140330/92b370aa/attachment.patch>


More information about the llvm-commits mailing list