adds newest generated vm_impl

This commit is contained in:
Eyck-Alexander Jentzsch 2024-08-17 23:15:59 +02:00
parent ec1b820c18
commit 76ea0db25d

View File

@ -2553,9 +2553,8 @@ private:
this->gen_instr_prologue();
/*generate behavior*/
auto wait_arg0 = this->gen_const(8,1);
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);
bb = BasicBlock::Create(this->mod->getContext(), "entry", this->func, this->leave_blk);
@ -2719,7 +2718,7 @@ private:
csr,
this->builder.CreateAnd(
xrd,
this->builder.CreateNeg(xrs1))
this->builder.CreateNot(xrs1))
);
}
if(rd!=0) {