As it was discussed in both IRC and mailing list, we'd better choose an alternative register naming convention, which follows the principle of least astonishment. * DONE add *NN and *%NN convention to sv/trans/svp64.py *without* removing existing convention. NOT to add "*rNNNN" or "*fpNNNN" etc. numbers ONLY. * TODO add some actual unit tests test_xyz in sv/trans/svp64.py (to replace/rework the existing hack-job in __main__) * TODO convert mp3 https://git.libre-soc.org/?p=openpower-isa.git;a=tree;f=media/audio/mp3;hb=HEAD * DONE convert decoder/isa/test_caller_*.py unit tests * DONE convert test/*/*cases*.py unit tests * TODO update specification * TODO remove old convention https://lists.libre-soc.org/pipermail/libre-soc-dev/2022-July/005015.html
this is actually quite a big task, because every single unit test will need conversion to the new format.
added (untested) vector-numbering into decode_reg() supporting "*NNN" and "*%NNN" https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=7bcec293f2761bed16e9f1fddf4469c7398cb32b
test_caller_setvl.py done, and corrected decode_reg() https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=acba9ef79852aa50f55d62bb68f7c41ea24852a3
test_caller_svp64_mapreduce.py done https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=bed2df9c09a89574689f9502a41e72db87a94575
test_caller_setvl_fp.py done https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=9069c3f850a5b867a53f60bef1c35dff7d0777fc
convert test_caller_setvl_matrix.py to new vector reg format https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=645fa42ac8d6f8f9cc744e89e6af807df2eca38a
convert test_caller_svp64_dct.py to new vector numbering convention https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=1ec68cd80266bd4d18a8432afa69d150e4e7d478
convert test_caller_svp64_bc.py to new vector numbering convention https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=59131336aa7f396b5fb05f35aa7a469d1418f9f7
convert test_caller_svp64_fft.py to new vector numbering convention https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=77cfaac2ec2feeb93cf14fb19da7fd97e82bb768
convert test_caller_svp64_ldst.py to new vector numbering convention convert test_caller_svp64_predication.py to new vector numbering convention https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=0e590433afc3d2e9e0f254bac7e02bf765225a70 https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=5b40039f453ebfea731356f9accb42d49a33679e
convert test_caller_svp64.py to new vector numbering convention https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=b6bac56fbda78762dccd6b8469de23ef56f24212
convert test_caller_svstate.py https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=b23801eceac0f70ee681026fc333c1c8ee1a4781
convert alu svp64_cases.py https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=ef743108db8f65fcb592b1fb70cc3b24be2826f2
convert logical svp64_cases.py https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=9f4fd0f7a613add6f11a7864794164f782f8ac87
Supported macros expansion https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=3909eecee1e7fe25f0969ca12c2a7b090c3183fe Converted the (in)famous file which uses this feature https://git.libre-soc.org/?p=openpower-isa.git;a=commitdiff;h=c58f3e556d4b7271ec90a1fb26ec47fd84aae376
all converted including media mp3.