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

    <tr>
        <th>Summary</th>
        <td>
            ARC llvm unsupported assembly instructions
        </td>
    </tr>

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

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

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

<pre>
    llvm support for ARC architecture does not support list of assembly instructions, attached in file: "llvm_arc_missing_instructions_sort".

As a sample, I wrote a example.c with two un-supported inline assembly instructions:

`int main() {

        asm ("add1 r10, r10, 0x66");
        asm ("bclr r0,   r2,   0x55");
}`

and if you look the objdump below taken via llvm-objdump version 14, it shows "unknown" instructions (attached: example-llvm-objdump) :

`00000260 "main":

     260: fc 1c c8 b6   st.aw   %fp, [%sp,-4]
     264: 0a 23 00 37   mov     %fp, %sp
     268: 94 22 81 19   <unknown>
     26c: 10 22 80 0f   <unknown>`

Whereas, if I use crossng tool to generate the objdump, it is able to disassemble them (attached: example-crossng-objdump):

`00000260 "main":

     260:       1cfc b6c8                       st.aw   fp,[sp,-4]
     264:       230a 3700                       mov     fp,sp
     268:       2294 1981                       add1    r10,r10,102
     26c:       2210 0f80 0000 0055             bclr    r0,r2,0x55`

[arc_example.zip](https://github.com/llvm/llvm-project/files/9191012/arc_example.zip)


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJylVUtv4yAQ_jX2ZZQI8CP2wYe02Up73cseK4xxTGtDBLhp99fvQJKt06YrrRZZYMPMN49vGLeme2vG8WUCNx8OxnrojYXtj3vgVgzKS-FnK6Ez0oE2_o_UqJwH0wN3Tk7t-AZKO29n4ZXRLmGo7j0Xg-zwAHo1yiTbQsJYMPWI0I-Tck7p_eNS79EhNAqtE7JLyPY0bx1wcHw6IAbifoejNV7innyNm2sBR-UH8EcDs16dHYyGR6XlFx5m26W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