Since the spec doesn't describe these behaviors as invalid,
the llvm-mc should just make them take care by hardware.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This change overall looks good to me, but you should add additional lines to the ext-valid.s files so that we have test coverage for inputs using these immediates.
Comment Actions
LGTM.
I was initially surprised however the current spec makes all values valid by prescribing how seemingly "out of range" immediate field values get re-interpreted as being in-range. This wasn't the case in early version of the spec.
Thanks for bringing the behavior in line with the spec.
Comment Actions
Sorry for late update.
This update adds test case to zvkned.s and zvksed.s for more coverage as Alex mentioned.