<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>PowerQUICC Processorsのトピックmtmsr[fp] do not follow sync</title>
    <link>https://community.nxp.com/t5/PowerQUICC-Processors/mtmsr-fp-do-not-follow-sync/m-p/744583#M2318</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I had a test in mpc8640. &amp;nbsp;I try to do mtmsr[fp] but forget the synchronizing instruction followed.&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;/****************************************/&lt;/P&gt;&lt;P&gt;mfmsr &amp;nbsp;r3&lt;/P&gt;&lt;P&gt;rlwinm r3,r3,0,19,17 &amp;nbsp; &amp;nbsp; /*mask &amp;nbsp;fp*/&lt;/P&gt;&lt;P&gt;ori &amp;nbsp;r3,r3,0x1000 &amp;nbsp; /* set ME*/&lt;/P&gt;&lt;P&gt;mtmsr &amp;nbsp;r3&lt;/P&gt;&lt;P&gt;sync&lt;/P&gt;&lt;P&gt;ori &amp;nbsp;r3,r3,0x2000 &amp;nbsp; /* set fp, without sync followed*/&lt;/P&gt;&lt;P&gt;mtmsr &amp;nbsp;r3&lt;/P&gt;&lt;P&gt;stfd &amp;nbsp;f0, &amp;nbsp;48(r1)&lt;/P&gt;&lt;P&gt;/*********************************/&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Can anyone give me any explanation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks.&lt;/P&gt;&lt;P&gt;Polo Yellow&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2018 01:49:51 GMT</pubDate>
    <dc:creator>poloyellow</dc:creator>
    <dc:date>2018-03-29T01:49:51Z</dc:date>
    <item>
      <title>mtmsr[fp] do not follow sync</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/mtmsr-fp-do-not-follow-sync/m-p/744583#M2318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I had a test in mpc8640. &amp;nbsp;I try to do mtmsr[fp] but forget the synchronizing instruction followed.&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;/****************************************/&lt;/P&gt;&lt;P&gt;mfmsr &amp;nbsp;r3&lt;/P&gt;&lt;P&gt;rlwinm r3,r3,0,19,17 &amp;nbsp; &amp;nbsp; /*mask &amp;nbsp;fp*/&lt;/P&gt;&lt;P&gt;ori &amp;nbsp;r3,r3,0x1000 &amp;nbsp; /* set ME*/&lt;/P&gt;&lt;P&gt;mtmsr &amp;nbsp;r3&lt;/P&gt;&lt;P&gt;sync&lt;/P&gt;&lt;P&gt;ori &amp;nbsp;r3,r3,0x2000 &amp;nbsp; /* set fp, without sync followed*/&lt;/P&gt;&lt;P&gt;mtmsr &amp;nbsp;r3&lt;/P&gt;&lt;P&gt;stfd &amp;nbsp;f0, &amp;nbsp;48(r1)&lt;/P&gt;&lt;P&gt;/*********************************/&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Can anyone give me any explanation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks.&lt;/P&gt;&lt;P&gt;Polo Yellow&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 01:49:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/mtmsr-fp-do-not-follow-sync/m-p/744583#M2318</guid>
      <dc:creator>poloyellow</dc:creator>
      <dc:date>2018-03-29T01:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: mtmsr[fp] do not follow sync</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/mtmsr-fp-do-not-follow-sync/m-p/744584#M2319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to E600 Core Reference Manual:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"A context synchronizing instruction must follow an mtmsr instruction"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is said explicitly in section Section 2.1.4.4 "Machine State Register (MSR)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this statement word "must", as per my personal understanding, means that violating this rule will lead to unpredictable results.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alexander&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2018 06:54:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/mtmsr-fp-do-not-follow-sync/m-p/744584#M2319</guid>
      <dc:creator>alexander_yakov</dc:creator>
      <dc:date>2018-04-03T06:54:43Z</dc:date>
    </item>
  </channel>
</rss>

