adds newest generated vm_impl
This commit is contained in:
parent
ec1b820c18
commit
76ea0db25d
@ -2553,9 +2553,8 @@ private:
|
|||||||
|
|
||||||
this->gen_instr_prologue();
|
this->gen_instr_prologue();
|
||||||
/*generate behavior*/
|
/*generate behavior*/
|
||||||
auto wait_arg0 = this->gen_const(8,1);
|
|
||||||
std::vector<Value*> wait_args{
|
std::vector<Value*> wait_args{
|
||||||
wait_arg0
|
this->gen_ext(this->gen_const(8,1), 32)
|
||||||
};
|
};
|
||||||
this->builder.CreateCall(this->mod->getFunction("wait"), wait_args);
|
this->builder.CreateCall(this->mod->getFunction("wait"), wait_args);
|
||||||
bb = BasicBlock::Create(this->mod->getContext(), "entry", this->func, this->leave_blk);
|
bb = BasicBlock::Create(this->mod->getContext(), "entry", this->func, this->leave_blk);
|
||||||
@ -2719,7 +2718,7 @@ private:
|
|||||||
csr,
|
csr,
|
||||||
this->builder.CreateAnd(
|
this->builder.CreateAnd(
|
||||||
xrd,
|
xrd,
|
||||||
this->builder.CreateNeg(xrs1))
|
this->builder.CreateNot(xrs1))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if(rd!=0) {
|
if(rd!=0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user