diff options
author | Dale Johannesen <dalej@apple.com> | 2007-10-11 18:07:22 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2007-10-11 18:07:22 +0000 |
commit | a471c2ecda37cd1bae0d94e832f002caa7b63216 (patch) | |
tree | 5585aa5c69106bf208bebbc089dccd54bd09154b /lib/AsmParser | |
parent | f9193de25bcd2c7de6c7d60ec5992f546907231a (diff) | |
download | external_llvm-a471c2ecda37cd1bae0d94e832f002caa7b63216.zip external_llvm-a471c2ecda37cd1bae0d94e832f002caa7b63216.tar.gz external_llvm-a471c2ecda37cd1bae0d94e832f002caa7b63216.tar.bz2 |
Next PPC long double bits. First cut at constants.
No compile-time support for constant operations yet,
just format transformations. Make readers and
writers work. Split constants into 2 doubles in
Legalize.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42865 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser')
-rw-r--r-- | lib/AsmParser/Lexer.cpp.cvs | 2 | ||||
-rw-r--r-- | lib/AsmParser/Lexer.l | 2 | ||||
-rw-r--r-- | lib/AsmParser/Lexer.l.cvs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/AsmParser/Lexer.cpp.cvs b/lib/AsmParser/Lexer.cpp.cvs index 6e2819f..536d569 100644 --- a/lib/AsmParser/Lexer.cpp.cvs +++ b/lib/AsmParser/Lexer.cpp.cvs @@ -2199,7 +2199,7 @@ YY_RULE_SETUP #line 488 "/Volumes/MacOS9/gcc/llvm/lib/AsmParser/Lexer.l" { uint64_t Pair[2]; HexToIntPair(yytext+3, Pair); - llvmAsmlval.FPVal = new APFloat(APInt(128, 2, Pair)); + llvmAsmlval.FPVal = new APFloat(APInt(128, 2, Pair), true); return FPVAL; } YY_BREAK diff --git a/lib/AsmParser/Lexer.l b/lib/AsmParser/Lexer.l index 73e9c54..0591cd9 100644 --- a/lib/AsmParser/Lexer.l +++ b/lib/AsmParser/Lexer.l @@ -487,7 +487,7 @@ shufflevector { RET_TOK(OtherOpVal, ShuffleVector, SHUFFLEVECTOR); } } {HexFP128Constant} { uint64_t Pair[2]; HexToIntPair(yytext+3, Pair); - llvmAsmlval.FPVal = new APFloat(APInt(128, 2, Pair)); + llvmAsmlval.FPVal = new APFloat(APInt(128, 2, Pair), true); return FPVAL; } {HexPPC128Constant} { uint64_t Pair[2]; diff --git a/lib/AsmParser/Lexer.l.cvs b/lib/AsmParser/Lexer.l.cvs index 73e9c54..0591cd9 100644 --- a/lib/AsmParser/Lexer.l.cvs +++ b/lib/AsmParser/Lexer.l.cvs @@ -487,7 +487,7 @@ shufflevector { RET_TOK(OtherOpVal, ShuffleVector, SHUFFLEVECTOR); } } {HexFP128Constant} { uint64_t Pair[2]; HexToIntPair(yytext+3, Pair); - llvmAsmlval.FPVal = new APFloat(APInt(128, 2, Pair)); + llvmAsmlval.FPVal = new APFloat(APInt(128, 2, Pair), true); return FPVAL; } {HexPPC128Constant} { uint64_t Pair[2]; |