sparc v8 and testsuite fixes