Skip to content

Add ctor of MIPS instruction from string #589

Closed
pavelkryukov opened this issue Sep 29, 2018 · 4 comments
Closed

Add ctor of MIPS instruction from string #589

pavelkryukov opened this issue Sep 29, 2018 · 4 comments
Assignees
Labels
1 Usually one-liner tasks, but may require some deep into infrastructure. code Enhances infrastructure or refines, Requires almost no knowledge in CPU microarchitecture. good first issue Good task to start with MIPT-MIPS development S1 — ISA To solve the issue, you need knowledge about MIPS or RISC-V ISA

Comments

@pavelkryukov
Copy link
Member

pavelkryukov commented Sep 29, 2018

Currently the only way to construct a MIPS instruction object is to decode it from 4 bytes. That's not convinient for tests (see #530), so the idea is to add a new constructor from stringed opcode:

MIPSInstr<MIPS32> instr( "sllv"); // Creates a SLLV instruction
@pavelkryukov pavelkryukov added code Enhances infrastructure or refines, Requires almost no knowledge in CPU microarchitecture. 1 Usually one-liner tasks, but may require some deep into infrastructure. S1 — ISA To solve the issue, you need knowledge about MIPS or RISC-V ISA good first issue Good task to start with MIPT-MIPS development labels Sep 29, 2018
@agrachiv
Copy link
Contributor

agrachiv commented Oct 2, 2018

What should I do in order to take this issue?

@pavelkryukov
Copy link
Member Author

I granted you write access to repository, and now you can put yourself as 'assignee' for that issue.
Please read our contribution.md to see our basic rules.

@pukhovv pukhovv self-assigned this Oct 3, 2018
@pavelkryukov
Copy link
Member Author

@pooh64 Do you have any progress in these two weeks?

@pukhovv
Copy link
Contributor

pukhovv commented Oct 18, 2018

@pavelkryukov Now I'm exploring the structure of repository and c++ literature. I plan to finish this issue within a week.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1 Usually one-liner tasks, but may require some deep into infrastructure. code Enhances infrastructure or refines, Requires almost no knowledge in CPU microarchitecture. good first issue Good task to start with MIPT-MIPS development S1 — ISA To solve the issue, you need knowledge about MIPS or RISC-V ISA
Projects
None yet
Development

No branches or pull requests

3 participants