]> Shamusworld >> Repos - rmac/commit
Fix pack/unpack instructions
authorJames Jones <atari@theinnocuous.com>
Mon, 13 Jun 2022 03:54:39 +0000 (20:54 -0700)
committerShamus Hammons <jlhamm@acm.org>
Mon, 27 Jun 2022 16:52:29 +0000 (11:52 -0500)
commite4747b998a04025ea409316ff23cf3b464fd99e8
tree97e90c6f21347c44dfaf8d7cbcfebdd667a0d728
parent3f937a2ab53c5fa20f5468e59c278da9d8c54b02
Fix pack/unpack instructions

The GPU-specific PACK and UNPACK instructions
share opcode 63. PACK is chosen by encoding '0'
in the source operand, and UNPACK is chosen by
encoding '1' in the source operand. RMAC had the
magic source operand values reversed.
riscasm.c