abrown edited PR #1770 from binary-imm8 to master:
For consistency, this also renames
BinaryImmtoBinaryImm64. Like #1762, this is a re-factoring with no functionality change; however, users of Cranelift IR (e.g. @bjorn3, @jyn514?) might notice the change if they are usingFormatorInstructionDatadirectly.
abrown edited PR #1770 from binary-imm8 to master:
This renames and slightly alters several formats:
InsertLanebecomesTernaryImm8ExtractLanebecomesBinaryImm8BinaryImmbecomesBinaryImm64for consistencyThis has additional comments in #1762 about the ordering of operands; in changing
InsertLanetoTernaryImm8I changed the order of the operands in the CLIF IR (value, imm, valuetovalue, value, imm) so that this format will make more sense for other instructions (x86_pshufd,x86_pblendw). Other than that this should be a straightforward renaming.A heads up at the Cranelift API level: users of Cranelift IR (e.g. @bjorn3, @jyn514?) might notice this naming chaning if they are using
FormatorInstructionDatadirectly.
iximeow submitted PR Review.
iximeow submitted PR Review.
abrown merged PR #1770.
Last updated: Dec 06 2025 at 06:05 UTC