removes gen_wait as wait can be called like any other extern function

This commit is contained in:
Eyck-Alexander Jentzsch 2024-08-14 15:25:06 +02:00
parent efc11d87a5
commit 0f15032210
2 changed files with 4 additions and 3 deletions

View File

@ -90,7 +90,6 @@ protected:
using super::write_reg_to_mem; using super::write_reg_to_mem;
using super::gen_read_mem; using super::gen_read_mem;
using super::gen_write_mem; using super::gen_write_mem;
using super::gen_wait;
using super::gen_leave; using super::gen_leave;
using super::gen_sync; using super::gen_sync;

View File

@ -88,7 +88,6 @@ protected:
using super::write_reg_to_mem; using super::write_reg_to_mem;
using super::gen_read_mem; using super::gen_read_mem;
using super::gen_write_mem; using super::gen_write_mem;
using super::gen_wait;
using super::gen_leave; using super::gen_leave;
using super::gen_sync; using super::gen_sync;
@ -2512,7 +2511,10 @@ private:
gen_instr_prologue(jh); gen_instr_prologue(jh);
cc.comment("//behavior:"); cc.comment("//behavior:");
/*generate behavior*/ /*generate behavior*/
gen_wait(jh, 1); InvokeNode* call_wait;
jh.cc.comment("//call_wait");
jh.cc.invoke(&call_wait, &wait, FuncSignature::build<void, int32_t>());
setArg(call_wait, 0, 1);
auto returnValue = CONT; auto returnValue = CONT;
gen_sync(jh, POST_SYNC, 41); gen_sync(jh, POST_SYNC, 41);