mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-24 13:57:17 -04:00
Multiplication's the one what has the extra arms.
This commit is contained in:
parent
bbb8d97479
commit
823a305b5d
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ void Instruction::executeOn(Core &c) {
|
|||
case SUB: reg[rdest] = reg[rsrc[0]] - reg[rsrc[1]];
|
||||
reg[rdest].trunc(wordSz);
|
||||
break;
|
||||
case MUL: reg[rdest] = reg[rsrc[0]] + reg[rsrc[1]];
|
||||
case MUL: reg[rdest] = reg[rsrc[0]] * reg[rsrc[1]];
|
||||
reg[rdest].trunc(wordSz);
|
||||
break;
|
||||
case DIV: if (reg[rsrc[1]] == 0) throw DomainException();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue