mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 13:27:29 -04:00
minor update
This commit is contained in:
parent
631f9c3760
commit
c93d914e70
1 changed files with 8 additions and 2 deletions
|
@ -728,14 +728,20 @@ std::shared_ptr<Instr> Emulator::decode(uint32_t code) const {
|
|||
instr->setVmask((code >> shift_func7) & 0x1);
|
||||
instr->setFunc6(func6);
|
||||
} break;
|
||||
case 4: // OPIVX
|
||||
case 5: { // OPFVF
|
||||
case 4: { // OPIVX
|
||||
instr->setDestReg(rd, RegType::Vector);
|
||||
instr->addSrcReg(rs1, RegType::Integer);
|
||||
instr->addSrcReg(rs2, RegType::Vector);
|
||||
instr->setVmask((code >> shift_func7) & 0x1);
|
||||
instr->setFunc6(func6);
|
||||
} break;
|
||||
case 5: { // OPFVF
|
||||
instr->setDestReg(rd, RegType::Vector);
|
||||
instr->addSrcReg(rs1, RegType::Float);
|
||||
instr->addSrcReg(rs2, RegType::Vector);
|
||||
instr->setVmask((code >> shift_func7) & 0x1);
|
||||
instr->setFunc6(func6);
|
||||
} break;
|
||||
case 6: { // POMVX
|
||||
instr->setDestReg(rd, (func6 == 16) ? RegType::Integer : RegType::Vector);
|
||||
instr->addSrcReg(rs1, RegType::Integer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue