Skip to content

Looking for advice to implement a loop in Sleigh #7292

Closed Answered by GhidorahRex
esaulenka asked this question in Q&A
Discussion options

You must be logged in to vote

I think if you have a context value that can track the current register and compare it to the end of the list, you should be able to build it up.

See buildVldmSdList in ARMneon.sinc. It uses a recursive sub-constructor and a 32-element subtable that is used for both push/pop (SReg) that should do exactly what you need here.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by esaulenka
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants