diff --git a/Appl/CEP/CS1/CS1_BGLProc/src/FIR.S b/Appl/CEP/CS1/CS1_BGLProc/src/FIR.S index 15b47b9248e4df3c3960551cc3bbfb1d5d6fe375..44def8072c8e3646ef2c2e8345513be014592896 100644 --- a/Appl/CEP/CS1/CS1_BGLProc/src/FIR.S +++ b/Appl/CEP/CS1/CS1_BGLProc/src/FIR.S @@ -56,9 +56,9 @@ _bgl_mutex_unlock: .global _rdtsc _rdtsc: -loop6: mftbu 3 - mftb 4 - mftbu 5 +loop6: mfspr 3,269 + mfspr 4,268 + mfspr 5,269 cmpw 5,3 bne- loop6 blr diff --git a/LCS/Common/include/Common/Timer.h b/LCS/Common/include/Common/Timer.h index 49ccdf3e2f3a4658beacf67df9f93bfbf1c8ad8d..c2bf8a9a0cfcd4af31bcbe951a5961652e3a4a43 100644 --- a/LCS/Common/include/Common/Timer.h +++ b/LCS/Common/include/Common/Timer.h @@ -216,9 +216,9 @@ namespace LOFAR { asm ( "0:\n\t" - "mftbu %0\n\t" - "mftb %1\n\t" - "mftbu %2\n\t" + "mfspr %0,269\n\t" + "mfspr %1,268\n\t" + "mfspr %2,269\n\t" "cmpw %2,%0\n\t" "bne 0b\n\t" "subfc %3,%1,%3\n\t" @@ -301,9 +301,9 @@ namespace LOFAR { asm ( "0:\n\t" - "mftbu %0\n\t" - "mftb %1\n\t" - "mftbu %2\n\t" + "mfspr %0,269\n\t" + "mfspr %1,268\n\t" + "mfspr %2,269\n\t" "cmpw %2,%0\n\t" "bne 0b\n\t" "addc %3,%3,%1\n\t"