bug #672: pospopcount working with large arrays
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 29 Nov 2023 19:29:12 +0000 (19:29 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 9 Dec 2023 06:47:37 +0000 (06:47 +0000)
commitfbc191bfbfd2b8f7db6dc496a59c6f73a4e625d1
treec1d06b082a84b4a51e5b58f6a2ee20313ee8b242
parentd76fbd7933d90aae1050ff4df447b982f537a42b
bug #672: pospopcount working with large arrays

pospopcount is supposed to be able to handle long arrays of data,
but it turns out that sv.lbzu/pi/dw=8 was calculating an EA in 8-bit,
meaning that it wrapped around to a zero memory address.
now this is resolved the code which has been made shorter actually works
src/openpower/decoder/isa/test_caller_svp64_pospopcount.py