Skip to content

Commit ee3b200

Browse files
committed
[chore] Update scripts/kleef
1 parent 14b89d4 commit ee3b200

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/Core/Executor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3771,7 +3771,7 @@ void Executor::executeInstruction(ExecutionState &state, KInstruction *ki) {
37713771
case Instruction::SIToFP: {
37723772
SIToFPInst *fi = cast<SIToFPInst>(i);
37733773
Expr::Width resultType = getWidthForLLVMType(fi->getType());
3774-
if (Context::get().getPointerWidth() == 32) {
3774+
if (X86FPAsX87FP80 && Context::get().getPointerWidth() == 32) {
37753775
resultType = Expr::Fl80;
37763776
}
37773777
ref<Expr> arg = eval(ki, 0, state).value;

scripts/kleef

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def klee_options(
4949
"--cex-cache-validity-cores",
5050
# "--libc=uclibc",
5151
# "--posix-runtime",
52-
# "--fp-runtime",
52+
"--fp-runtime",
53+
"--x86FP-as-x87FP80",
5354
# "--max-sym-array-size=4096",
5455
"--symbolic-allocation-threshold=8192",
5556
# "--dump-all-states=false",

0 commit comments

Comments
 (0)