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

    <tr>
        <th>Summary</th>
        <td>
            [x86][asm] invalid instruction mnemonic 'retf'
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            backend:X86,
            llvm:asmparser
      </td>
    </tr>

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

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

<pre>
    Clang's integrated assembler doesn't recognize "far return" x86 instructions.

https://godbolt.org/z/sd3P76nof

This is an issue for porting u-boot to be assembled by clang.

cc @phoebewang @pirama-arumuga-nainar 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckr1u3DAQhJ9m1RB3oFb_hYqzD6pTpEi7pFY6xhR54FKO7acPTgYSJw0JYjCY-TAkEbcG5hGaJ2iuBe35FtMYnH2ZWWj3wXGSwsT5fXz2FFbATpQLmddEmWdFIrwZz0nNkSUAdlkltnEN7oMVIC6UVOK8pwCI6q1vlQuS026zi0HOoK-gL5_nLee7QHUBnACnNc4m-nyOaQWcPgAnmatvXRvi8tX0_eZEOVEUlBPZWS0xqXtM2YVV7ScTY1Y5KsN_qs7KvCv7gPkn3VoFtb7fIhv-RWE9Xi7RRidK-7avdArkAiVVzGM1D9VABY9lV1bYD2XfFrcRje1sQ_VSY90uQ8Wal1Jz02C_lNpi4UbUWOu6bMuuGurmjL3Wxg6N6bnqhpqh1ryR82fvX7cHenFAjX0_1GXhybCXYytEQ_aFwwzV5UffAiLgMyA-fFBdSLY7JeH0EJprkcaHcDL7KlBr7yTL34jssj9-wFvfQnOF5olkg-aqXHgl7-avi6kt8BaDswqwS5wXwK7Ykx__G8_l227ONm6A09Hp8zrdU_zJNgNOB5gATgfb7wAAAP__s0HPcA">