Add support for .2byte, .4byte and .8byte.

Fixes PR8631.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119511 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2010-11-17 16:15:42 +00:00
parent abc756216d
commit 110f22aae8
2 changed files with 26 additions and 0 deletions

View File

@ -947,10 +947,16 @@ bool AsmParser::ParseStatement() {
return ParseDirectiveValue(2);
if (IDVal == ".value")
return ParseDirectiveValue(2);
if (IDVal == ".2byte")
return ParseDirectiveValue(2);
if (IDVal == ".long")
return ParseDirectiveValue(4);
if (IDVal == ".4byte")
return ParseDirectiveValue(4);
if (IDVal == ".quad")
return ParseDirectiveValue(8);
if (IDVal == ".8byte")
return ParseDirectiveValue(8);
if (IDVal == ".single")
return ParseDirectiveRealValue(APFloat::IEEEsingle);
if (IDVal == ".double")