abrown edited PR #1770 from binary-imm8
to master
:
For consistency, this also renames
BinaryImm
toBinaryImm64
. 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 usingFormat
orInstructionData
directly.
abrown edited PR #1770 from binary-imm8
to master
:
This renames and slightly alters several formats:
InsertLane
becomesTernaryImm8
ExtractLane
becomesBinaryImm8
BinaryImm
becomesBinaryImm64
for consistencyThis has additional comments in #1762 about the ordering of operands; in changing
InsertLane
toTernaryImm8
I changed the order of the operands in the CLIF IR (value, imm, value
tovalue, 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
Format
orInstructionData
directly.
iximeow submitted PR Review.
iximeow submitted PR Review.
abrown merged PR #1770.
Last updated: Dec 23 2024 at 12:05 UTC