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

Instruction encodings. #16

Closed
ben-marshall opened this issue Jun 30, 2020 · 6 comments
Closed

Instruction encodings. #16

ben-marshall opened this issue Jun 30, 2020 · 6 comments
Assignees
Labels
encoding Something about an instruction's encoding. specification Improvements or additions to the specification

Comments

@ben-marshall
Copy link
Member

Placeholder issue for discussing instruction encodings.

Currently we are waiting for guidance from the foundation for how this process will work.

@ben-marshall ben-marshall added specification Improvements or additions to the specification encoding Something about an instruction's encoding. labels Jun 30, 2020
@grnewell
Copy link

grnewell commented Jul 1, 2020

Ken Dockser has volunteered to help the TG with the initial proposal for encodings.

@ben-marshall ben-marshall self-assigned this Aug 3, 2020
@ben-marshall ben-marshall mentioned this issue Aug 19, 2020
21 tasks
@Xinlong-Wu
Copy link

Xinlong-Wu commented Feb 24, 2021

hello everyone, Notice that almost all encodings of Instruction in K Ext are located SYSTEM, OP & OP-IMM field in ‘RISC-V base opcode map’. Could you please tell me does it will be changed in the future. Does it possible to change opcode of K Ext into reserved field in ‘RISC-V base opcode map’?

@ben-marshall
Copy link
Member Author

Hi @VincenttttWu

The K extension is currently going through the opcode consistency and review process, meaning there is a chance the opcodes/encodings will change based on the recommendations which come out of that. We are hoping this won't be the case, but it's possible. You should treat the opcodes as if they will change for now.

I'm afraid I don't understand your question about changing the opcode into a reserved field of the base opcode map?

Cheers,
Ben

@Xinlong-Wu
Copy link

Cuz I am working for implement MC layer of LLVM for K Ext. So I need to decide should I use a new OPcode variable for K Ext or original one(SYSTEM, OP & OP-IMM etc.). although they have same value in this stage.

Sincerely yours,
Vincent

@ben-marshall
Copy link
Member Author

Hi @VincenttttWu
Ah I see. I'm no LLVM expert so you are the best judge. I expect that whatever the K ext encodings end up being, they will be in an original opcode space like SYSTEM/OP/OP-IMM, since that's the current policy for allocating new instructions. They may change within those spaces, but I highly doubt they will be in a new greenfield / reserved space. I hope that helps?
Cheers,
Ben

@Xinlong-Wu
Copy link

Xinlong-Wu commented Feb 24, 2021

Hello @ben-marshall

Sure, it's helps a lot. Thank you. )

Sincerely yours,
Vincent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
encoding Something about an instruction's encoding. specification Improvements or additions to the specification
Projects
None yet
Development

No branches or pull requests

3 participants