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
1 changed files with 2 additions and 3 deletions

View File

@ -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) {