mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
sorry!! this is temporary; for some reason the nasty constmul code seems to
be an infinite loop when using g++-4.0.1*, this kills the ia64 nightly tester. A proper fix shall be forthcoming!!! thanks for not killing me. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22748 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
979a21e766
commit
d2ff5ef654
@ -1322,7 +1322,8 @@ assert(0 && "hmm, ISD::SIGN_EXTEND: shouldn't ever be reached. bad luck!\n");
|
|||||||
case ISD::MUL: {
|
case ISD::MUL: {
|
||||||
|
|
||||||
if(DestType != MVT::f64) { // TODO: speed!
|
if(DestType != MVT::f64) { // TODO: speed!
|
||||||
if(N.getOperand(1).getOpcode() != ISD::Constant) { // if not a const mul
|
/* FIXME if(N.getOperand(1).getOpcode() != ISD::Constant) { // if not a const mul
|
||||||
|
*/
|
||||||
// boring old integer multiply with xma
|
// boring old integer multiply with xma
|
||||||
Tmp1 = SelectExpr(N.getOperand(0));
|
Tmp1 = SelectExpr(N.getOperand(0));
|
||||||
Tmp2 = SelectExpr(N.getOperand(1));
|
Tmp2 = SelectExpr(N.getOperand(1));
|
||||||
@ -1336,9 +1337,9 @@ assert(0 && "hmm, ISD::SIGN_EXTEND: shouldn't ever be reached. bad luck!\n");
|
|||||||
.addReg(IA64::F0);
|
.addReg(IA64::F0);
|
||||||
BuildMI(BB, IA64::GETFSIG, 1, Result).addReg(TempFR3);
|
BuildMI(BB, IA64::GETFSIG, 1, Result).addReg(TempFR3);
|
||||||
return Result; // early exit
|
return Result; // early exit
|
||||||
} else { // we are multiplying by an integer constant! yay
|
/* FIXME } else { // we are multiplying by an integer constant! yay
|
||||||
return Reg = SelectExpr(BuildConstmulSequence(N)); // avert your eyes!
|
return Reg = SelectExpr(BuildConstmulSequence(N)); // avert your eyes!
|
||||||
}
|
} */
|
||||||
}
|
}
|
||||||
else { // floating point multiply
|
else { // floating point multiply
|
||||||
Tmp1 = SelectExpr(N.getOperand(0));
|
Tmp1 = SelectExpr(N.getOperand(0));
|
||||||
|
Loading…
Reference in New Issue
Block a user