On Fri Jul 7 12:06:53 2023 +0000, Giovanni Mascellani wrote:
Notice that, again according to the documentation, one of the fields you're ignoring, `alignment`, is defined as "the logarithm base 2 of the function’s requested alignment, plus 1", so it's always non-zero. If that's true, `WARN("Ignoring %u operands.\n", j);` is always triggered. That not necessarily a problem, just wanted to mention that. To me it's totally fine to really parse the skipped operands once we know what to do with them, provided that even happens.
The "plus 1" is to allow the alignment to be unspecified, and I have never encountered a nonzero value here.