Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Unity 2020.1 a18 error clang and unrecognized instruction mnemonic

Discussion in '2020.1 Beta' started by VastDev, Jan 17, 2020.

  1. VastDev

    VastDev

    Joined:
    Oct 19, 2018
    Posts:
    6
    Hello guys, just upgrade the project to work in Unity 2020 caused, I would like to integrated with Native Android and iOS, then found these errors when try to build to run in Xcode. What do these errors mean?

    Code (CSharp):
    1. <inline asm>:1:7: error: invalid operand for instruction
    2.         movs r4, x14  
    3.              ^
    4. <inline asm>:3:1: error: unrecognized instruction mnemonic, did you mean: fmov, mov, movi, movk, movn, movz, smov, umov?
    5. vmov.u8 d7, #255      
    6. ^
    7. <inline asm>:4:1: error: unrecognized instruction mnemonic, did you mean: fmov, mov, movi, movk, movn, movz, smov, umov?
    8. vmov.u8 d3, #255      
    9. ^
    10. <inline asm>:5:1: error: unrecognized instruction mnemonic, did you mean: fmov, mov, movi, movk, movn, movz, smov, umov?
    11. vmov.s16 q11, #90      
    12. ^
    13. <inline asm>:6:1: error: unrecognized instruction mnemonic, did you mean: fmov, mov, movi, movk, movn, movz, smov, umov?
    14. vmov.s16 q12, #128    
    15. ^
    16. <inline asm>:7:1: error: unrecognized instruction mnemonic, did you mean: fmov, mov, movi, movk, movn, movz, smov, umov?
    17. vmov.s16 q13, #21      
    18. ^
    19. <inline asm>:8:1: error: unrecognized instruction mnemonic, did you mean: fmov, mov, movi, movk, movn, movz, smov, umov?
    20. vmov.s16 q14, #46      
    21. ^
    22. <inline asm>:9:1: error: unrecognized instruction mnemonic, did you mean: fmov, mov, movi, movk, movn, movz, smov, umov?
    23. vmov.s16 q15, #113    
    24. ^
    25. <inline asm>:11:9: error: vector register expected
    26. vld2.8 {d8, d9}, [x15]!
    27.         ^
    28. <inline asm>:12:9: error: vector register expected
    29. vld2.8 {d0, d1}, [x16]!
    30.         ^
    31. <inline asm>:13:1: error: unrecognized instruction mnemonic, did you mean: mov?
    32. vmovl.u8  q5, d0      
    33. ^
    34. <inline asm>:14:1: error: unrecognized instruction mnemonic, did you mean: mov?
    35. vmovl.u8  q6, d1      
    36. ^
    37. <inline asm>:15:1: error: unrecognized instruction mnemonic, did you mean: fsub, msub, sub, subs?
    38. vsub.i16 q5,q5, q12    
    39. ^
    40. <inline asm>:16:1: error: unrecognized instruction mnemonic, did you mean: fsub, msub, sub, subs?
    41. vsub.i16 q6,q6, q12    
    42. ^
    43. <inline asm>:17:1: error: unrecognized instruction mnemonic, did you mean: shl, shll, shll2, sshll, ushll?
    44. vshll.u8 q7, d8, #6    
    45. ^
    46. <inline asm>:18:1: error: unrecognized instruction mnemonic, did you mean: shl, shll, shll2, sshll, ushll?
    47. vshll.u8 q8, d8, #6    
    48. ^
    49. <inline asm>:19:1: error: unrecognized instruction mnemonic, did you mean: shl, shll, shll2, sshll, ushll?
    50. vshll.u8 q9, d8, #6    
    51. ^
    52. <inline asm>:20:1: error: unrecognized instruction mnemonic, did you mean: fmla, mla?
    53. vmla.i16 q7, q6, q11  
    54. ^
    55. <inline asm>:21:1: error: unrecognized instruction mnemonic, did you mean: cmls, fmls, mls?
    56. vmls.i16 q8, q5, q13  
    57. ^
    58. <inline asm>:22:1: error: unrecognized instruction mnemonic, did you mean: cmls, fmls, mls?
    59. vmls.i16 q8, q6, q14  
    60. ^
    61. <inline asm>:23:1: error: unrecognized instruction mnemonic, did you mean: fmla, mla?
    62. vmla.i16 q9, q5, q15  
    63. ^
    64. <inline asm>:24:1: error: unrecognized instruction mnemonic, did you mean: shrn, sshr, ushr?
    65. vshr.s16 q7, q7, #6    
    66. ^
    67. <inline asm>:25:1: error: unrecognized instruction mnemonic, did you mean: shrn, sshr, ushr?
    68. vshr.s16 q8, q8, #6    
    69. ^
    70. <inline asm>:26:1: error: unrecognized instruction mnemonic, did you mean: shrn, sshr, ushr?
    71. vshr.s16 q9, q9, #6    
    72. ^
    73. <inline asm>:27:1: error: unrecognized instruction mnemonic, did you mean: fmov, mov, movi, movk, movn, movz, smov, umov?
    74. vmov.s16 q10, #0      
    75. ^
    76. <inline asm>:28:1: error: unrecognized instruction mnemonic, did you mean: fmax, smax, umax?
    77. vmax.s16 q7, q7, q10  
    78. ^
    79. <inline asm>:29:1: error: unrecognized instruction mnemonic, did you mean: fmax, smax, umax?
    80. vmax.s16 q8, q8, q10  
    81. ^
    82. <inline asm>:30:1: error: unrecognized instruction mnemonic, did you mean: fmax, smax, umax?
    83. vmax.s16 q9, q9, q10  
    84. ^
    85. <inline asm>:31:1: error: unrecognized instruction mnemonic, did you mean: fmov, mov, movi, movk, movn, movz, smov, umov?
    86. vmov.u16 q10, #255    
    87. ^
    88. <inline asm>:32:1: error: unrecognized instruction mnemonic, did you mean: fmin, smin, umin?
    89. vmin.u16 q7, q7, q10  
    90. ^
    91. <inline asm>:33:1: error: unrecognized instruction mnemonic, did you mean: fmin, smin, umin?
    92. vmin.u16 q8, q8, q10  
    93. ^
    94. <inline asm>:34:1: error: unrecognized instruction mnemonic, did you mean: fmin, smin, umin?
    95. vmin.u16 q9, q9, q10  
    96. ^
    97. <inline asm>:35:1: error: unrecognized instruction mnemonic, did you mean: mov, movn, mvn?
    98. vmovn.s16 d2, q7      
    99. ^
    100. <inline asm>:36:1: error: unrecognized instruction mnemonic, did you mean: mov, movn, mvn?
    101. vmovn.s16 d1, q8      
    102. ^
    103. <inline asm>:37:1: error: unrecognized instruction mnemonic, did you mean: mov, movn, mvn?
    104. vmovn.s16 d0, q9      
    105. ^
    106. <inline asm>:38:1: error: unrecognized instruction mnemonic, did you mean: shl, shll, shll2, sshll, ushll?
    107. vshll.u8 q7, d9, #6    
    108. ^
    109. <inline asm>:39:1: error: unrecognized instruction mnemonic, did you mean: shl, shll, shll2, sshll, ushll?
    110. vshll.u8 q8, d9, #6    
    111. ^
    112. <inline asm>:40:1: error: unrecognized instruction mnemonic, did you mean: shl, shll, shll2, sshll, ushll?
    113. vshll.u8 q9, d9, #6    
    114. ^
    115. <inline asm>:41:1: error: unrecognized instruction mnemonic, did you mean: fmla, mla?
    116. vmla.i16 q7, q6, q11  
    117. ^
    118. <inline asm>:42:1: error: unrecognized instruction mnemonic, did you mean: cmls, fmls, mls?
    119. vmls.i16 q8, q5, q13  
    120. ^
    121. <inline asm>:43:1: error: unrecognized instruction mnemonic, did you mean: cmls, fmls, mls?
    122. vmls.i16 q8, q6, q14  
    123. ^
    124. <inline asm>:44:1: error: unrecognized instruction mnemonic, did you mean: fmla, mla?
    125. vmla.i16 q9, q5, q15  
    126. ^
    127. <inline asm>:45:1: error: unrecognized instruction mnemonic, did you mean: shrn, sshr, ushr?
    128. vshr.s16 q7, q7, #6    
    129. ^
    130. <inline asm>:46:1: error: unrecognized instruction mnemonic, did you mean: shrn, sshr, ushr?
    131. vshr.s16 q8, q8, #6    
    132. ^
    133. <inline asm>:47:1: error: unrecognized instruction mnemonic, did you mean: shrn, sshr, ushr?
    134. vshr.s16 q9, q9, #6    
    135. ^
    136. <inline asm>:48:1: error: unrecognized instruction mnemonic, did you mean: fmov, mov, movi, movk, movn, movz, smov, umov?
    137. vmov.s16 q10, #0      
    138. ^
    139. <inline asm>:49:1: error: unrecognized instruction mnemonic, did you mean: fmax, smax, umax?
    140. vmax.s16 q7, q7, q10  
    141. ^
    142. <inline asm>:50:1: error: unrecognized instruction mnemonic, did you mean: fmax, smax, umax?
    143. vmax.s16 q8, q8, q10  
    144. ^
    145. <inline asm>:51:1: error: unrecognized instruction mnemonic, did you mean: fmax, smax, umax?
    146. vmax.s16 q9, q9, q10  
    147. ^
    148. <inline asm>:52:1: error: unrecognized instruction mnemonic, did you mean: fmov, mov, movi, movk, movn, movz, smov, umov?
    149. vmov.u16 q10, #255    
    150. ^
    151. <inline asm>:53:1: error: unrecognized instruction mnemonic, did you mean: fmin, smin, umin?
    152. vmin.u16 q7, q7, q10  
    153. ^
    154. <inline asm>:54:1: error: unrecognized instruction mnemonic, did you mean: fmin, smin, umin?
    155. vmin.u16 q8, q8, q10  
    156. ^
    157. <inline asm>:55:1: error: unrecognized instruction mnemonic, did you mean: fmin, smin, umin?
    158. vmin.u16 q9, q9, q10  
    159. ^
    160. <inline asm>:56:1: error: unrecognized instruction mnemonic, did you mean: mov, movn, mvn?
    161. vmovn.s16 d6, q7      
    162. ^
    163. <inline asm>:57:1: error: unrecognized instruction mnemonic, did you mean: mov, movn, mvn?
    164. vmovn.s16 d5, q8      
    165. ^
    166. <inline asm>:58:1: error: unrecognized instruction mnemonic, did you mean: mov, movn, mvn?
    167. vmovn.s16 d4, q9      
    168. ^
    169. <inline asm>:59:1: error: unrecognized instruction mnemonic, did you mean: trn1, trn2?
    170. vtrn.8 d2,d6  
    171. ^
    172. <inline asm>:60:1: error: unrecognized instruction mnemonic, did you mean: trn1, trn2?
    173. vtrn.16 d2,d6  
    174. ^
    175. <inline asm>:61:1: error: unrecognized instruction mnemonic, did you mean: trn1, trn2?
    176. vtrn.32 d2,d6  
    177. ^
    178. <inline asm>:62:1: error: unrecognized instruction mnemonic, did you mean: trn1, trn2?
    179. vtrn.8 d1,d5  
    180. ^
    181. <inline asm>:63:1: error: unrecognized instruction mnemonic, did you mean: trn1, trn2?
    182. vtrn.16 d1,d5  
    183. ^
    184. <inline asm>:64:1: error: unrecognized instruction mnemonic, did you mean: trn1, trn2?
    185. vtrn.32 d1,d5  
    186. ^
    187. <inline asm>:65:1: error: unrecognized instruction mnemonic, did you mean: trn1, trn2?
    188. vtrn.8 d0,d4  
    189. ^
    190. <inline asm>:66:1: error: unrecognized instruction mnemonic, did you mean: trn1, trn2?
    191. vtrn.16 d0,d4  
    192. ^
    193. <inline asm>:67:1: error: unrecognized instruction mnemonic, did you mean: trn1, trn2?
    194. vtrn.32 d0,d4  
    195. ^
    196. <inline asm>:68:9: error: vector register expected
    197. vst3.8 {d0-d2}, [x5]!  
    198.         ^
    199. <inline asm>:69:9: error: vector register expected
    200. vst3.8 {d4-d6}, [x5]!  
    201.         ^
    202. <inline asm>:70:6: error: invalid operand for instruction
    203. subs r4, r4, #1
    204.      ^
    205. LLVM ERROR: Error parsing inline asm
    206.  
    207. [ICODE]clang: error: linker command failed with exit code 1 (use -v to see invocation)[/ICODE]
    208.