Blog.nechutny.net

Blog o webu a IT.

Work on KVM/ARM unit tests - September

New month, new problem. I've updated Fedora's packages and then arm cross compiler stopped working. GCC was updated from 4.8.2 to 4.9.1-1. So I've tried clean Andrew's repo and without success. So next try was another clean Fedora 20 installation and behaviour was the same. Google found Bug #1122003 which say, that it was fixed in cross-gcc-4.9.1-2 month ago, but in F20 repository is still bugged 4.9.1-1 :-(. Number of required rpm packages for upgrading gcc was relatively low, so I've downloaded them from repo for f22 and installed via rpm -U. Project now can be compiled, but crash at startup. So downgrading to cross gcc 4.8.1-5.2 was only working solution.

New tests for fmac, fnmac, fmsc and fmnsc have some complications with assembler constraints in C, so I must create new macro specially for them. And then I can continue with tests for fmrrd and fmdrr - instructions transferring two 32 bit values from rX register to one dX register in VFP. This tests require new macros DOUBLE_TOP(value) and DOUBLE_BOTTOM(value) which return corresponding half of unsigned long long.

Next tests are for fmdhr, fmdlr, fmrdh, fmrdl, fmsr, fmrs, fmrrs, fmsrr, fmul and fnmul. Nothing interesting in them :-(. It looks like I've done all tests for VFP instructions, so now remain review code and submit diff to mailing list.