VerticalResearchGroup / miaow

An open source GPU based off of the AMD Southern Islands ISA.
BSD 3-Clause "New" or "Revised" License
1.06k stars 238 forks source link

Testbench is incorrectly initializing the VGPR #3

Closed zwabbit closed 8 years ago

zwabbit commented 8 years ago

setVregValue function in wave.c:714 is assuming that the vgpr still possesses its internal 4-banked scheme for each of its 64 pages. This is no longer the case and I'm pretty sure it's causing the VGPR to be improperly filled before a test is run, resulting in improperly failed unit tests for vector instructions.