AnsweredAssumed Answered

mtmsr[fp] do not follow sync

Question asked by polo yellow on Mar 28, 2018
Latest reply on Apr 2, 2018 by alexander.yakovlev


   I had a test in mpc8640.  I try to do mtmsr[fp] but forget the synchronizing instruction followed.

for example:


mfmsr  r3

rlwinm r3,r3,0,19,17     /*mask  fp*/

ori  r3,r3,0x1000   /* set ME*/

mtmsr  r3


ori  r3,r3,0x2000   /* set fp, without sync followed*/

mtmsr  r3

stfd  f0,  48(r1)


When I excute the code, the cpu seems do not enter any exception or interrupt, include machine check, and there isn't any response in serial port. So I don't know what the cpu is doing after the instruction 'stfd', and which state the cpu is in.

Can anyone give me any explanation?


Polo Yellow