* accumulate register weight instead of taking only the maximum

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25433 3ad0048d-3df7-0310-abae-a5850022a9f2
* work with actualtargetnode when checking load nodes for cse

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25434 3ad0048d-3df7-0310-abae-a5850022a9f2