<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 16.04.2022 um 12:31 schrieb Thorsten Otto via fpc-devel <<a href="mailto:fpc-devel@lists.freepascal.org" class="">fpc-devel@lists.freepascal.org</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><div style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Noto Sans"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class="">On Samstag, 16. April 2022 06:49:07 CEST J. Gareth Moreton via fpc-devel wrote:</div><div style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Noto Sans"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class="">> but I haven't been able to find an authoritive</div><div style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Noto Sans"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class="">> source on this yet.</div><p style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Noto Sans"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class=""> </p><div style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Noto Sans"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class="">Did you check what for example GCC generates for similar C constructs? I don't think it uses cmov at all.</div><p style="white-space: pre-wrap; caret-color: rgb(0, 0, 0); font-family: "Noto Sans"; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; margin: 0px;" class=""><br class=""></p></div></blockquote><br class=""></div><div>Why shouldn’t it? clang does the same as my quick tests recommends: <a href="https://godbolt.org/z/eWTvfcM8E" class="">https://godbolt.org/z/eWTvfcM8E</a></div><br class=""></body></html>