-
Notifications
You must be signed in to change notification settings - Fork 44
feature: add regex to inst.assembly schema #832
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
This regex doesn't try list the exact operand names. (just alphanumeric)
|
These files shouldn't exist, actually, since we have
These will be fixed when #822 is merged.
This is using a space instead of an empty string. Issue/PR warranted.
❓ |
Thanks @ThinkOpenly for quick review. I fixed the extra space in ebreak for now. |
arch/inst/Zcmp/cm.push.yaml::$.assembly: 'reg_list, -stack_adj' does not match '^$|^\(?[a-zA-Z][a-zA-Z0-9_]\)?(?:, (imm\(|\()?[a-zA-Z][a-zA-Z0-9_]\)?)*$' That's valid. But it's also a case highlighting that our simple string is insufficient. The syntax for push/pop includes a register list that determined by a 16-entry LUT. |
relates to #807