mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-20 09:30:43 +00:00
Generated files for previous patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41876 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d5f456077
commit
ea58310496
@ -2181,7 +2181,7 @@ YY_RULE_SETUP
|
|||||||
case 146:
|
case 146:
|
||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 480 "/Volumes/MacOS9/gcc/llvm/lib/AsmParser/Lexer.l"
|
#line 480 "/Volumes/MacOS9/gcc/llvm/lib/AsmParser/Lexer.l"
|
||||||
{ llvmAsmlval.FPVal = new APFloat(HexToFP(yytext));
|
{ llvmAsmlval.FPVal = new APFloat(HexToFP(yytext+2));
|
||||||
return FPVAL;
|
return FPVAL;
|
||||||
}
|
}
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
@ -2189,7 +2189,7 @@ case 147:
|
|||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 483 "/Volumes/MacOS9/gcc/llvm/lib/AsmParser/Lexer.l"
|
#line 483 "/Volumes/MacOS9/gcc/llvm/lib/AsmParser/Lexer.l"
|
||||||
{ uint64_t Pair[2];
|
{ uint64_t Pair[2];
|
||||||
HexToIntPair(yytext, Pair);
|
HexToIntPair(yytext+3, Pair);
|
||||||
llvmAsmlval.FPVal = new APFloat(APInt(80, 2, Pair));
|
llvmAsmlval.FPVal = new APFloat(APInt(80, 2, Pair));
|
||||||
return FPVAL;
|
return FPVAL;
|
||||||
}
|
}
|
||||||
@ -2198,7 +2198,7 @@ case 148:
|
|||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 488 "/Volumes/MacOS9/gcc/llvm/lib/AsmParser/Lexer.l"
|
#line 488 "/Volumes/MacOS9/gcc/llvm/lib/AsmParser/Lexer.l"
|
||||||
{ uint64_t Pair[2];
|
{ uint64_t Pair[2];
|
||||||
HexToIntPair(yytext, Pair);
|
HexToIntPair(yytext+3, Pair);
|
||||||
llvmAsmlval.FPVal = new APFloat(APInt(128, 2, Pair));
|
llvmAsmlval.FPVal = new APFloat(APInt(128, 2, Pair));
|
||||||
return FPVAL;
|
return FPVAL;
|
||||||
}
|
}
|
||||||
@ -2207,7 +2207,7 @@ case 149:
|
|||||||
YY_RULE_SETUP
|
YY_RULE_SETUP
|
||||||
#line 493 "/Volumes/MacOS9/gcc/llvm/lib/AsmParser/Lexer.l"
|
#line 493 "/Volumes/MacOS9/gcc/llvm/lib/AsmParser/Lexer.l"
|
||||||
{ uint64_t Pair[2];
|
{ uint64_t Pair[2];
|
||||||
HexToIntPair(yytext, Pair);
|
HexToIntPair(yytext+3, Pair);
|
||||||
llvmAsmlval.FPVal = new APFloat(APInt(128, 2, Pair));
|
llvmAsmlval.FPVal = new APFloat(APInt(128, 2, Pair));
|
||||||
return FPVAL;
|
return FPVAL;
|
||||||
}
|
}
|
||||||
|
@ -284,8 +284,8 @@ void { RET_TY(Type::VoidTy, VOID); }
|
|||||||
float { RET_TY(Type::FloatTy, FLOAT); }
|
float { RET_TY(Type::FloatTy, FLOAT); }
|
||||||
double { RET_TY(Type::DoubleTy,DOUBLE);}
|
double { RET_TY(Type::DoubleTy,DOUBLE);}
|
||||||
x86_fp80 { RET_TY(Type::X86_FP80Ty, X86_FP80);}
|
x86_fp80 { RET_TY(Type::X86_FP80Ty, X86_FP80);}
|
||||||
fp128 { RET_TY(Type::FP128Ty, FP128);}
|
fp128 { RET_TY(Type::FP128Ty, FP128);}
|
||||||
ppc_fp128 { RET_TY(Type::PPC_FP128Ty, PPC_FP128);}
|
ppc_fp128 { RET_TY(Type::PPC_FP128Ty, PPC_FP128);}
|
||||||
label { RET_TY(Type::LabelTy, LABEL); }
|
label { RET_TY(Type::LabelTy, LABEL); }
|
||||||
type { return TYPE; }
|
type { return TYPE; }
|
||||||
opaque { return OPAQUE; }
|
opaque { return OPAQUE; }
|
||||||
@ -477,21 +477,21 @@ shufflevector { RET_TOK(OtherOpVal, ShuffleVector, SHUFFLEVECTOR); }
|
|||||||
}
|
}
|
||||||
|
|
||||||
{FPConstant} { llvmAsmlval.FPVal = new APFloat(atof(yytext)); return FPVAL; }
|
{FPConstant} { llvmAsmlval.FPVal = new APFloat(atof(yytext)); return FPVAL; }
|
||||||
{HexFPConstant} { llvmAsmlval.FPVal = new APFloat(HexToFP(yytext));
|
{HexFPConstant} { llvmAsmlval.FPVal = new APFloat(HexToFP(yytext+2));
|
||||||
return FPVAL;
|
return FPVAL;
|
||||||
}
|
}
|
||||||
{HexFP80Constant} { uint64_t Pair[2];
|
{HexFP80Constant} { uint64_t Pair[2];
|
||||||
HexToIntPair(yytext, Pair);
|
HexToIntPair(yytext+3, Pair);
|
||||||
llvmAsmlval.FPVal = new APFloat(APInt(80, 2, Pair));
|
llvmAsmlval.FPVal = new APFloat(APInt(80, 2, Pair));
|
||||||
return FPVAL;
|
return FPVAL;
|
||||||
}
|
}
|
||||||
{HexFP128Constant} { uint64_t Pair[2];
|
{HexFP128Constant} { uint64_t Pair[2];
|
||||||
HexToIntPair(yytext, Pair);
|
HexToIntPair(yytext+3, Pair);
|
||||||
llvmAsmlval.FPVal = new APFloat(APInt(128, 2, Pair));
|
llvmAsmlval.FPVal = new APFloat(APInt(128, 2, Pair));
|
||||||
return FPVAL;
|
return FPVAL;
|
||||||
}
|
}
|
||||||
{HexPPC128Constant} { uint64_t Pair[2];
|
{HexPPC128Constant} { uint64_t Pair[2];
|
||||||
HexToIntPair(yytext, Pair);
|
HexToIntPair(yytext+3, Pair);
|
||||||
llvmAsmlval.FPVal = new APFloat(APInt(128, 2, Pair));
|
llvmAsmlval.FPVal = new APFloat(APInt(128, 2, Pair));
|
||||||
return FPVAL;
|
return FPVAL;
|
||||||
}
|
}
|
||||||
|
@ -3589,7 +3589,7 @@ case 179:
|
|||||||
break;}
|
break;}
|
||||||
case 180:
|
case 180:
|
||||||
#line 1869 "/Volumes/MacOS9/gcc/llvm/lib/AsmParser/llvmAsmParser.y"
|
#line 1869 "/Volumes/MacOS9/gcc/llvm/lib/AsmParser/llvmAsmParser.y"
|
||||||
{ // Float & Double constants
|
{ // Floating point constants
|
||||||
if (!ConstantFP::isValueValidForType(yyvsp[-1].PrimType, *yyvsp[0].FPVal))
|
if (!ConstantFP::isValueValidForType(yyvsp[-1].PrimType, *yyvsp[0].FPVal))
|
||||||
GEN_ERROR("Floating point constant invalid for type");
|
GEN_ERROR("Floating point constant invalid for type");
|
||||||
// Lexer has no type info, so builds all float and double FP constants
|
// Lexer has no type info, so builds all float and double FP constants
|
||||||
|
@ -1866,7 +1866,7 @@ ConstVal: Types '[' ConstVector ']' { // Nonempty unsized arr
|
|||||||
$$ = ConstantInt::getFalse();
|
$$ = ConstantInt::getFalse();
|
||||||
CHECK_FOR_ERROR
|
CHECK_FOR_ERROR
|
||||||
}
|
}
|
||||||
| FPType FPVAL { // Float & Double constants
|
| FPType FPVAL { // Floating point constants
|
||||||
if (!ConstantFP::isValueValidForType($1, *$2))
|
if (!ConstantFP::isValueValidForType($1, *$2))
|
||||||
GEN_ERROR("Floating point constant invalid for type");
|
GEN_ERROR("Floating point constant invalid for type");
|
||||||
// Lexer has no type info, so builds all float and double FP constants
|
// Lexer has no type info, so builds all float and double FP constants
|
||||||
|
Loading…
Reference in New Issue
Block a user