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

Missing instructions accumulate #58

Open
UlisesLuzius opened this issue May 15, 2022 · 0 comments
Open

Missing instructions accumulate #58

UlisesLuzius opened this issue May 15, 2022 · 0 comments

Comments

@UlisesLuzius
Copy link
Collaborator

In BitPatters.scala, we should add the following instructions and ensure their execution.

Execute.scala has the module that enables to process them as DataProc3S.

  // 31 | 30 29 | 28 27 26 25 24 | 23 22 21 | 20 19 18 17 16 | 15 | 14 13 12 11 10 | 09 08 07 06 05 | 04 03 02 01 00 | Instruction Page | Variant
  // sf |  op54 |  1  1  0  1  1 |   op31   |       Rm       | o0 |       Ra       |       Rn       |       Rd       |                  |
  //  0 |  0  0 |  1  1  0  1  1 |  0  0  0 |       Rm       |  0 |       Ra       |       Rn       |       Rd       | MADD             | 32-bit
  //  0 |  0  0 |  1  1  0  1  1 |  0  0  0 |       Rm       |  1 |       Ra       |       Rn       |       Rd       | MSUB             | 32-bit
  //  1 |  0  0 |  1  1  0  1  1 |  0  0  0 |       Rm       |  0 |       Ra       |       Rn       |       Rd       | MADD             | 64-bit
  //  1 |  0  0 |  1  1  0  1  1 |  0  0  0 |       Rm       |  1 |       Ra       |       Rn       |       Rd       | MSUB             | 64-bit
  def DP3S = BitPat("b?0011011000?????????????????????")
  def DP3S_MADD32 = BitPat("b00011011000?????0???????????????")
  def DP3S_MSUB32 = BitPat("b00011011000?????1???????????????")
  def DP3S_MADD   = BitPat("b10011011000?????0???????????????")
  def DP3S_MSUB   = BitPat("b10011011000?????1???????????????")
@UlisesLuzius UlisesLuzius changed the title Missing instructions Missing instructions accumulate May 24, 2022
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

No branches or pull requests

1 participant