cpp for test with reg. marix 4_8 ldps  hard decision