<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/78758>78758</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Different results with Apple M2 Max (ARM) than with intel mac
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          chesswright
      </td>
    </tr>
</table>

<pre>
    I work in a small group that writes mostly in fortran90 and we develop a code that compiles on different platforms. We use real(rk) where rk is defined double and use flags for IEE standard and thus far it has allowed results to be exactly the same when using debug or release builds using gfortran and ifort compilers on different platforms -- except this one. I have several unit tests and system tests that give different results using my current machine (MacBook Pro, Apple M2 Max chip, Ventura 13.6.3) than others get on their systems. Others use Windows subsystem for Linux and intel-based macs. We also have access to NAS supercomputers at Ames. The differences are small (1e-7 or smaller) but it is annoying that there are any differences at all. I am using llvm17 as this seems to be the only working fortran compiler on ARM-based macs. What can I do to try to get results to agree?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0VM2O4zYMfhrnQsSwlWQcH3zIdjfAAE1bbIvumbYYSx1ZMkQqmbx9ISfp7qDYk2GRIr8_G5nt6Im6Yvep2H1eYRITYjcYYr5GOxpZ9UHfule4hvgG1gMCT-gcjDGkGcSgwDVaIYYpsLhb7jmHKBF9WwF6DVcCTRdyYQaEIWi63xrCNFtHDMGDtuczRfICs0M5hzhxCd8IEhNEQleofXwrVAtXQ5EgI2HQdLaeNOiQekfLqtx_djhyhgCvX74AC3qNUS9lMYnhjBGsgEEGdC5cSUMkTk4YJEBPQO84ZCJiCBgnyks9JLZ-BE19GiFEiOQImaBP1ml-VMcH8WWZzS9PlvFnNGG9BnofaBYQY3MXlfAKBi8ETBeK6CB5KyDEwstgvrHQ9DhYpBzthX4Y_qRzBzXdYEhxKUw4GOsJCrU_4fAphDf4I4ZC_QKHeXYEJwUnfIfB2Dkf_k1eUkSoN-VLucnyi0EPQUzmM5JkTmLIxgcmLuH3ezEb8c16Ha4MnPoH5GzKr9an97tAXsite2TSGdndcXQc7uxxGIgXT347_AmcZopZzCR5PgocJuIS_jLfmQ_EgJEeAS3UvqZ1k81aDihmBn2S7L7NUvpwywItEsoSrHwb_e3jRMk5yabg9JDUuctUN4B894yJpmd4cmiCd7fle8m9z0g8g5A1O3w9feS9fA_o4RV0yIMk3vIjS_xDNnGMRMXmuNLdRrebFlfU1U21e2mrer9dmW5TbzfnoVa7qqe6x6batnrfN8251_1uRy8r26lKbau6buv9tt1uS6VfWhr0rmkq1datLrYVTWhdmSmWIY4ry5yoa_bNbr9y2JPj5V-hlKcrLMVCqfzriF2-s-7TyMW2cpaFv08RK466z_-L6NWK-Ri-Qu0PX0__hW1pWJKStVql6DojMnOxORTqWKjjaMWkvhzCVKhj3vd4rOcY_qFBCnVcUHKhjguLfwMAAP__Nom5cA">