Skip to content
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

i#4393 AArch64 codec: Refactor fpimm8 codec #5820

Merged
merged 4 commits into from
Jan 16, 2023

Conversation

jackgallagher-arm
Copy link
Collaborator

This pulls out code for encoding and decoding 8-bit floating-point immedate values into helper functions that can be re-used for future instructions with similar operands.

Issues: #4393, #2626

This pulls out code for encoding and decoding 8-bit floating-point
immedate values into helper functions that can be re-used for future
instructions with similar operands.

Issues: #4393, #2626
Many immediate value operands follow the naming convention:
 <type>imm<size>_<lsb>

So you would expect fpimm13 to be a 13-bit floating-point immediate value.
It is actually an 8-bit floating-point immediate value at bit 13 so
following the above naming convention it should be called fpimm8_13.

Issues: #4393
@jackgallagher-arm jackgallagher-arm merged commit 10e7810 into master Jan 16, 2023
@jackgallagher-arm jackgallagher-arm deleted the i4393-refactor-fpimm8-codec branch January 16, 2023 11:18
dolanzhao pushed a commit that referenced this pull request Jan 30, 2023
This pulls out code for encoding and decoding 8-bit floating-point
immediate values into helper functions that can be re-used for future
instructions with similar operands.

This commit also renames the fpimm13 operand to fpimm8_13

Many immediate value operands follow the naming convention:
 <type>imm<size>[_<lsb>]

So you would expect fpimm13 to be a 13-bit floating-point immediate value.
It is actually an 8-bit floating-point immediate value at bit 13 so
following the above naming convention it should be called fpimm8_13.

Issues: #4393
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants