tile-desc_64.c 95 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219
  1. /* TILE-Gx opcode information.
  2. *
  3. * Copyright 2011 Tilera Corporation. All Rights Reserved.
  4. *
  5. * This program is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU General Public License
  7. * as published by the Free Software Foundation, version 2.
  8. *
  9. * This program is distributed in the hope that it will be useful, but
  10. * WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
  12. * NON INFRINGEMENT. See the GNU General Public License for
  13. * more details.
  14. *
  15. *
  16. *
  17. *
  18. *
  19. */
  20. /* This define is BFD_RELOC_##x for real bfd, or -1 for everyone else. */
  21. #define BFD_RELOC(x) -1
  22. /* Special registers. */
  23. #define TREG_LR 55
  24. #define TREG_SN 56
  25. #define TREG_ZERO 63
  26. #include <linux/stddef.h>
  27. #include <asm/tile-desc.h>
  28. const struct tilegx_opcode tilegx_opcodes[334] =
  29. {
  30. { "bpt", TILEGX_OPC_BPT, 0x2, 0, TREG_ZERO, 0,
  31. { { 0, }, { }, { 0, }, { 0, }, { 0, } },
  32. },
  33. { "info", TILEGX_OPC_INFO, 0xf, 1, TREG_ZERO, 1,
  34. { { 0 }, { 1 }, { 2 }, { 3 }, { 0, } },
  35. },
  36. { "infol", TILEGX_OPC_INFOL, 0x3, 1, TREG_ZERO, 1,
  37. { { 4 }, { 5 }, { 0, }, { 0, }, { 0, } },
  38. },
  39. { "move", TILEGX_OPC_MOVE, 0xf, 2, TREG_ZERO, 1,
  40. { { 6, 7 }, { 8, 9 }, { 10, 11 }, { 12, 13 }, { 0, } },
  41. },
  42. { "movei", TILEGX_OPC_MOVEI, 0xf, 2, TREG_ZERO, 1,
  43. { { 6, 0 }, { 8, 1 }, { 10, 2 }, { 12, 3 }, { 0, } },
  44. },
  45. { "moveli", TILEGX_OPC_MOVELI, 0x3, 2, TREG_ZERO, 1,
  46. { { 6, 4 }, { 8, 5 }, { 0, }, { 0, }, { 0, } },
  47. },
  48. { "prefetch", TILEGX_OPC_PREFETCH, 0x12, 1, TREG_ZERO, 1,
  49. { { 0, }, { 9 }, { 0, }, { 0, }, { 14 } },
  50. },
  51. { "prefetch_add_l1", TILEGX_OPC_PREFETCH_ADD_L1, 0x2, 2, TREG_ZERO, 1,
  52. { { 0, }, { 15, 1 }, { 0, }, { 0, }, { 0, } },
  53. },
  54. { "prefetch_add_l1_fault", TILEGX_OPC_PREFETCH_ADD_L1_FAULT, 0x2, 2, TREG_ZERO, 1,
  55. { { 0, }, { 15, 1 }, { 0, }, { 0, }, { 0, } },
  56. },
  57. { "prefetch_add_l2", TILEGX_OPC_PREFETCH_ADD_L2, 0x2, 2, TREG_ZERO, 1,
  58. { { 0, }, { 15, 1 }, { 0, }, { 0, }, { 0, } },
  59. },
  60. { "prefetch_add_l2_fault", TILEGX_OPC_PREFETCH_ADD_L2_FAULT, 0x2, 2, TREG_ZERO, 1,
  61. { { 0, }, { 15, 1 }, { 0, }, { 0, }, { 0, } },
  62. },
  63. { "prefetch_add_l3", TILEGX_OPC_PREFETCH_ADD_L3, 0x2, 2, TREG_ZERO, 1,
  64. { { 0, }, { 15, 1 }, { 0, }, { 0, }, { 0, } },
  65. },
  66. { "prefetch_add_l3_fault", TILEGX_OPC_PREFETCH_ADD_L3_FAULT, 0x2, 2, TREG_ZERO, 1,
  67. { { 0, }, { 15, 1 }, { 0, }, { 0, }, { 0, } },
  68. },
  69. { "prefetch_l1", TILEGX_OPC_PREFETCH_L1, 0x12, 1, TREG_ZERO, 1,
  70. { { 0, }, { 9 }, { 0, }, { 0, }, { 14 } },
  71. },
  72. { "prefetch_l1_fault", TILEGX_OPC_PREFETCH_L1_FAULT, 0x12, 1, TREG_ZERO, 1,
  73. { { 0, }, { 9 }, { 0, }, { 0, }, { 14 } },
  74. },
  75. { "prefetch_l2", TILEGX_OPC_PREFETCH_L2, 0x12, 1, TREG_ZERO, 1,
  76. { { 0, }, { 9 }, { 0, }, { 0, }, { 14 } },
  77. },
  78. { "prefetch_l2_fault", TILEGX_OPC_PREFETCH_L2_FAULT, 0x12, 1, TREG_ZERO, 1,
  79. { { 0, }, { 9 }, { 0, }, { 0, }, { 14 } },
  80. },
  81. { "prefetch_l3", TILEGX_OPC_PREFETCH_L3, 0x12, 1, TREG_ZERO, 1,
  82. { { 0, }, { 9 }, { 0, }, { 0, }, { 14 } },
  83. },
  84. { "prefetch_l3_fault", TILEGX_OPC_PREFETCH_L3_FAULT, 0x12, 1, TREG_ZERO, 1,
  85. { { 0, }, { 9 }, { 0, }, { 0, }, { 14 } },
  86. },
  87. { "raise", TILEGX_OPC_RAISE, 0x2, 0, TREG_ZERO, 1,
  88. { { 0, }, { }, { 0, }, { 0, }, { 0, } },
  89. },
  90. { "add", TILEGX_OPC_ADD, 0xf, 3, TREG_ZERO, 1,
  91. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  92. },
  93. { "addi", TILEGX_OPC_ADDI, 0xf, 3, TREG_ZERO, 1,
  94. { { 6, 7, 0 }, { 8, 9, 1 }, { 10, 11, 2 }, { 12, 13, 3 }, { 0, } },
  95. },
  96. { "addli", TILEGX_OPC_ADDLI, 0x3, 3, TREG_ZERO, 1,
  97. { { 6, 7, 4 }, { 8, 9, 5 }, { 0, }, { 0, }, { 0, } },
  98. },
  99. { "addx", TILEGX_OPC_ADDX, 0xf, 3, TREG_ZERO, 1,
  100. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  101. },
  102. { "addxi", TILEGX_OPC_ADDXI, 0xf, 3, TREG_ZERO, 1,
  103. { { 6, 7, 0 }, { 8, 9, 1 }, { 10, 11, 2 }, { 12, 13, 3 }, { 0, } },
  104. },
  105. { "addxli", TILEGX_OPC_ADDXLI, 0x3, 3, TREG_ZERO, 1,
  106. { { 6, 7, 4 }, { 8, 9, 5 }, { 0, }, { 0, }, { 0, } },
  107. },
  108. { "addxsc", TILEGX_OPC_ADDXSC, 0x3, 3, TREG_ZERO, 1,
  109. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  110. },
  111. { "and", TILEGX_OPC_AND, 0xf, 3, TREG_ZERO, 1,
  112. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  113. },
  114. { "andi", TILEGX_OPC_ANDI, 0xf, 3, TREG_ZERO, 1,
  115. { { 6, 7, 0 }, { 8, 9, 1 }, { 10, 11, 2 }, { 12, 13, 3 }, { 0, } },
  116. },
  117. { "beqz", TILEGX_OPC_BEQZ, 0x2, 2, TREG_ZERO, 1,
  118. { { 0, }, { 9, 20 }, { 0, }, { 0, }, { 0, } },
  119. },
  120. { "beqzt", TILEGX_OPC_BEQZT, 0x2, 2, TREG_ZERO, 1,
  121. { { 0, }, { 9, 20 }, { 0, }, { 0, }, { 0, } },
  122. },
  123. { "bfexts", TILEGX_OPC_BFEXTS, 0x1, 4, TREG_ZERO, 1,
  124. { { 6, 7, 21, 22 }, { 0, }, { 0, }, { 0, }, { 0, } },
  125. },
  126. { "bfextu", TILEGX_OPC_BFEXTU, 0x1, 4, TREG_ZERO, 1,
  127. { { 6, 7, 21, 22 }, { 0, }, { 0, }, { 0, }, { 0, } },
  128. },
  129. { "bfins", TILEGX_OPC_BFINS, 0x1, 4, TREG_ZERO, 1,
  130. { { 23, 7, 21, 22 }, { 0, }, { 0, }, { 0, }, { 0, } },
  131. },
  132. { "bgez", TILEGX_OPC_BGEZ, 0x2, 2, TREG_ZERO, 1,
  133. { { 0, }, { 9, 20 }, { 0, }, { 0, }, { 0, } },
  134. },
  135. { "bgezt", TILEGX_OPC_BGEZT, 0x2, 2, TREG_ZERO, 1,
  136. { { 0, }, { 9, 20 }, { 0, }, { 0, }, { 0, } },
  137. },
  138. { "bgtz", TILEGX_OPC_BGTZ, 0x2, 2, TREG_ZERO, 1,
  139. { { 0, }, { 9, 20 }, { 0, }, { 0, }, { 0, } },
  140. },
  141. { "bgtzt", TILEGX_OPC_BGTZT, 0x2, 2, TREG_ZERO, 1,
  142. { { 0, }, { 9, 20 }, { 0, }, { 0, }, { 0, } },
  143. },
  144. { "blbc", TILEGX_OPC_BLBC, 0x2, 2, TREG_ZERO, 1,
  145. { { 0, }, { 9, 20 }, { 0, }, { 0, }, { 0, } },
  146. },
  147. { "blbct", TILEGX_OPC_BLBCT, 0x2, 2, TREG_ZERO, 1,
  148. { { 0, }, { 9, 20 }, { 0, }, { 0, }, { 0, } },
  149. },
  150. { "blbs", TILEGX_OPC_BLBS, 0x2, 2, TREG_ZERO, 1,
  151. { { 0, }, { 9, 20 }, { 0, }, { 0, }, { 0, } },
  152. },
  153. { "blbst", TILEGX_OPC_BLBST, 0x2, 2, TREG_ZERO, 1,
  154. { { 0, }, { 9, 20 }, { 0, }, { 0, }, { 0, } },
  155. },
  156. { "blez", TILEGX_OPC_BLEZ, 0x2, 2, TREG_ZERO, 1,
  157. { { 0, }, { 9, 20 }, { 0, }, { 0, }, { 0, } },
  158. },
  159. { "blezt", TILEGX_OPC_BLEZT, 0x2, 2, TREG_ZERO, 1,
  160. { { 0, }, { 9, 20 }, { 0, }, { 0, }, { 0, } },
  161. },
  162. { "bltz", TILEGX_OPC_BLTZ, 0x2, 2, TREG_ZERO, 1,
  163. { { 0, }, { 9, 20 }, { 0, }, { 0, }, { 0, } },
  164. },
  165. { "bltzt", TILEGX_OPC_BLTZT, 0x2, 2, TREG_ZERO, 1,
  166. { { 0, }, { 9, 20 }, { 0, }, { 0, }, { 0, } },
  167. },
  168. { "bnez", TILEGX_OPC_BNEZ, 0x2, 2, TREG_ZERO, 1,
  169. { { 0, }, { 9, 20 }, { 0, }, { 0, }, { 0, } },
  170. },
  171. { "bnezt", TILEGX_OPC_BNEZT, 0x2, 2, TREG_ZERO, 1,
  172. { { 0, }, { 9, 20 }, { 0, }, { 0, }, { 0, } },
  173. },
  174. { "clz", TILEGX_OPC_CLZ, 0x5, 2, TREG_ZERO, 1,
  175. { { 6, 7 }, { 0, }, { 10, 11 }, { 0, }, { 0, } },
  176. },
  177. { "cmoveqz", TILEGX_OPC_CMOVEQZ, 0x5, 3, TREG_ZERO, 1,
  178. { { 23, 7, 16 }, { 0, }, { 24, 11, 18 }, { 0, }, { 0, } },
  179. },
  180. { "cmovnez", TILEGX_OPC_CMOVNEZ, 0x5, 3, TREG_ZERO, 1,
  181. { { 23, 7, 16 }, { 0, }, { 24, 11, 18 }, { 0, }, { 0, } },
  182. },
  183. { "cmpeq", TILEGX_OPC_CMPEQ, 0xf, 3, TREG_ZERO, 1,
  184. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  185. },
  186. { "cmpeqi", TILEGX_OPC_CMPEQI, 0xf, 3, TREG_ZERO, 1,
  187. { { 6, 7, 0 }, { 8, 9, 1 }, { 10, 11, 2 }, { 12, 13, 3 }, { 0, } },
  188. },
  189. { "cmpexch", TILEGX_OPC_CMPEXCH, 0x2, 3, TREG_ZERO, 1,
  190. { { 0, }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  191. },
  192. { "cmpexch4", TILEGX_OPC_CMPEXCH4, 0x2, 3, TREG_ZERO, 1,
  193. { { 0, }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  194. },
  195. { "cmples", TILEGX_OPC_CMPLES, 0xf, 3, TREG_ZERO, 1,
  196. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  197. },
  198. { "cmpleu", TILEGX_OPC_CMPLEU, 0xf, 3, TREG_ZERO, 1,
  199. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  200. },
  201. { "cmplts", TILEGX_OPC_CMPLTS, 0xf, 3, TREG_ZERO, 1,
  202. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  203. },
  204. { "cmpltsi", TILEGX_OPC_CMPLTSI, 0xf, 3, TREG_ZERO, 1,
  205. { { 6, 7, 0 }, { 8, 9, 1 }, { 10, 11, 2 }, { 12, 13, 3 }, { 0, } },
  206. },
  207. { "cmpltu", TILEGX_OPC_CMPLTU, 0xf, 3, TREG_ZERO, 1,
  208. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  209. },
  210. { "cmpltui", TILEGX_OPC_CMPLTUI, 0x3, 3, TREG_ZERO, 1,
  211. { { 6, 7, 0 }, { 8, 9, 1 }, { 0, }, { 0, }, { 0, } },
  212. },
  213. { "cmpne", TILEGX_OPC_CMPNE, 0xf, 3, TREG_ZERO, 1,
  214. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  215. },
  216. { "cmul", TILEGX_OPC_CMUL, 0x1, 3, TREG_ZERO, 1,
  217. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  218. },
  219. { "cmula", TILEGX_OPC_CMULA, 0x1, 3, TREG_ZERO, 1,
  220. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  221. },
  222. { "cmulaf", TILEGX_OPC_CMULAF, 0x1, 3, TREG_ZERO, 1,
  223. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  224. },
  225. { "cmulf", TILEGX_OPC_CMULF, 0x1, 3, TREG_ZERO, 1,
  226. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  227. },
  228. { "cmulfr", TILEGX_OPC_CMULFR, 0x1, 3, TREG_ZERO, 1,
  229. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  230. },
  231. { "cmulh", TILEGX_OPC_CMULH, 0x1, 3, TREG_ZERO, 1,
  232. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  233. },
  234. { "cmulhr", TILEGX_OPC_CMULHR, 0x1, 3, TREG_ZERO, 1,
  235. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  236. },
  237. { "crc32_32", TILEGX_OPC_CRC32_32, 0x1, 3, TREG_ZERO, 1,
  238. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  239. },
  240. { "crc32_8", TILEGX_OPC_CRC32_8, 0x1, 3, TREG_ZERO, 1,
  241. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  242. },
  243. { "ctz", TILEGX_OPC_CTZ, 0x5, 2, TREG_ZERO, 1,
  244. { { 6, 7 }, { 0, }, { 10, 11 }, { 0, }, { 0, } },
  245. },
  246. { "dblalign", TILEGX_OPC_DBLALIGN, 0x1, 3, TREG_ZERO, 1,
  247. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  248. },
  249. { "dblalign2", TILEGX_OPC_DBLALIGN2, 0x3, 3, TREG_ZERO, 1,
  250. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  251. },
  252. { "dblalign4", TILEGX_OPC_DBLALIGN4, 0x3, 3, TREG_ZERO, 1,
  253. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  254. },
  255. { "dblalign6", TILEGX_OPC_DBLALIGN6, 0x3, 3, TREG_ZERO, 1,
  256. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  257. },
  258. { "drain", TILEGX_OPC_DRAIN, 0x2, 0, TREG_ZERO, 0,
  259. { { 0, }, { }, { 0, }, { 0, }, { 0, } },
  260. },
  261. { "dtlbpr", TILEGX_OPC_DTLBPR, 0x2, 1, TREG_ZERO, 1,
  262. { { 0, }, { 9 }, { 0, }, { 0, }, { 0, } },
  263. },
  264. { "exch", TILEGX_OPC_EXCH, 0x2, 3, TREG_ZERO, 1,
  265. { { 0, }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  266. },
  267. { "exch4", TILEGX_OPC_EXCH4, 0x2, 3, TREG_ZERO, 1,
  268. { { 0, }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  269. },
  270. { "fdouble_add_flags", TILEGX_OPC_FDOUBLE_ADD_FLAGS, 0x1, 3, TREG_ZERO, 1,
  271. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  272. },
  273. { "fdouble_addsub", TILEGX_OPC_FDOUBLE_ADDSUB, 0x1, 3, TREG_ZERO, 1,
  274. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  275. },
  276. { "fdouble_mul_flags", TILEGX_OPC_FDOUBLE_MUL_FLAGS, 0x1, 3, TREG_ZERO, 1,
  277. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  278. },
  279. { "fdouble_pack1", TILEGX_OPC_FDOUBLE_PACK1, 0x1, 3, TREG_ZERO, 1,
  280. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  281. },
  282. { "fdouble_pack2", TILEGX_OPC_FDOUBLE_PACK2, 0x1, 3, TREG_ZERO, 1,
  283. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  284. },
  285. { "fdouble_sub_flags", TILEGX_OPC_FDOUBLE_SUB_FLAGS, 0x1, 3, TREG_ZERO, 1,
  286. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  287. },
  288. { "fdouble_unpack_max", TILEGX_OPC_FDOUBLE_UNPACK_MAX, 0x1, 3, TREG_ZERO, 1,
  289. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  290. },
  291. { "fdouble_unpack_min", TILEGX_OPC_FDOUBLE_UNPACK_MIN, 0x1, 3, TREG_ZERO, 1,
  292. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  293. },
  294. { "fetchadd", TILEGX_OPC_FETCHADD, 0x2, 3, TREG_ZERO, 1,
  295. { { 0, }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  296. },
  297. { "fetchadd4", TILEGX_OPC_FETCHADD4, 0x2, 3, TREG_ZERO, 1,
  298. { { 0, }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  299. },
  300. { "fetchaddgez", TILEGX_OPC_FETCHADDGEZ, 0x2, 3, TREG_ZERO, 1,
  301. { { 0, }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  302. },
  303. { "fetchaddgez4", TILEGX_OPC_FETCHADDGEZ4, 0x2, 3, TREG_ZERO, 1,
  304. { { 0, }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  305. },
  306. { "fetchand", TILEGX_OPC_FETCHAND, 0x2, 3, TREG_ZERO, 1,
  307. { { 0, }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  308. },
  309. { "fetchand4", TILEGX_OPC_FETCHAND4, 0x2, 3, TREG_ZERO, 1,
  310. { { 0, }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  311. },
  312. { "fetchor", TILEGX_OPC_FETCHOR, 0x2, 3, TREG_ZERO, 1,
  313. { { 0, }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  314. },
  315. { "fetchor4", TILEGX_OPC_FETCHOR4, 0x2, 3, TREG_ZERO, 1,
  316. { { 0, }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  317. },
  318. { "finv", TILEGX_OPC_FINV, 0x2, 1, TREG_ZERO, 1,
  319. { { 0, }, { 9 }, { 0, }, { 0, }, { 0, } },
  320. },
  321. { "flush", TILEGX_OPC_FLUSH, 0x2, 1, TREG_ZERO, 1,
  322. { { 0, }, { 9 }, { 0, }, { 0, }, { 0, } },
  323. },
  324. { "flushwb", TILEGX_OPC_FLUSHWB, 0x2, 0, TREG_ZERO, 1,
  325. { { 0, }, { }, { 0, }, { 0, }, { 0, } },
  326. },
  327. { "fnop", TILEGX_OPC_FNOP, 0xf, 0, TREG_ZERO, 1,
  328. { { }, { }, { }, { }, { 0, } },
  329. },
  330. { "fsingle_add1", TILEGX_OPC_FSINGLE_ADD1, 0x1, 3, TREG_ZERO, 1,
  331. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  332. },
  333. { "fsingle_addsub2", TILEGX_OPC_FSINGLE_ADDSUB2, 0x1, 3, TREG_ZERO, 1,
  334. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  335. },
  336. { "fsingle_mul1", TILEGX_OPC_FSINGLE_MUL1, 0x1, 3, TREG_ZERO, 1,
  337. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  338. },
  339. { "fsingle_mul2", TILEGX_OPC_FSINGLE_MUL2, 0x1, 3, TREG_ZERO, 1,
  340. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  341. },
  342. { "fsingle_pack1", TILEGX_OPC_FSINGLE_PACK1, 0x5, 2, TREG_ZERO, 1,
  343. { { 6, 7 }, { 0, }, { 10, 11 }, { 0, }, { 0, } },
  344. },
  345. { "fsingle_pack2", TILEGX_OPC_FSINGLE_PACK2, 0x1, 3, TREG_ZERO, 1,
  346. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  347. },
  348. { "fsingle_sub1", TILEGX_OPC_FSINGLE_SUB1, 0x1, 3, TREG_ZERO, 1,
  349. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  350. },
  351. { "icoh", TILEGX_OPC_ICOH, 0x2, 1, TREG_ZERO, 1,
  352. { { 0, }, { 9 }, { 0, }, { 0, }, { 0, } },
  353. },
  354. { "ill", TILEGX_OPC_ILL, 0xa, 0, TREG_ZERO, 1,
  355. { { 0, }, { }, { 0, }, { }, { 0, } },
  356. },
  357. { "inv", TILEGX_OPC_INV, 0x2, 1, TREG_ZERO, 1,
  358. { { 0, }, { 9 }, { 0, }, { 0, }, { 0, } },
  359. },
  360. { "iret", TILEGX_OPC_IRET, 0x2, 0, TREG_ZERO, 1,
  361. { { 0, }, { }, { 0, }, { 0, }, { 0, } },
  362. },
  363. { "j", TILEGX_OPC_J, 0x2, 1, TREG_ZERO, 1,
  364. { { 0, }, { 25 }, { 0, }, { 0, }, { 0, } },
  365. },
  366. { "jal", TILEGX_OPC_JAL, 0x2, 1, TREG_LR, 1,
  367. { { 0, }, { 25 }, { 0, }, { 0, }, { 0, } },
  368. },
  369. { "jalr", TILEGX_OPC_JALR, 0xa, 1, TREG_LR, 1,
  370. { { 0, }, { 9 }, { 0, }, { 13 }, { 0, } },
  371. },
  372. { "jalrp", TILEGX_OPC_JALRP, 0xa, 1, TREG_LR, 1,
  373. { { 0, }, { 9 }, { 0, }, { 13 }, { 0, } },
  374. },
  375. { "jr", TILEGX_OPC_JR, 0xa, 1, TREG_ZERO, 1,
  376. { { 0, }, { 9 }, { 0, }, { 13 }, { 0, } },
  377. },
  378. { "jrp", TILEGX_OPC_JRP, 0xa, 1, TREG_ZERO, 1,
  379. { { 0, }, { 9 }, { 0, }, { 13 }, { 0, } },
  380. },
  381. { "ld", TILEGX_OPC_LD, 0x12, 2, TREG_ZERO, 1,
  382. { { 0, }, { 8, 9 }, { 0, }, { 0, }, { 26, 14 } },
  383. },
  384. { "ld1s", TILEGX_OPC_LD1S, 0x12, 2, TREG_ZERO, 1,
  385. { { 0, }, { 8, 9 }, { 0, }, { 0, }, { 26, 14 } },
  386. },
  387. { "ld1s_add", TILEGX_OPC_LD1S_ADD, 0x2, 3, TREG_ZERO, 1,
  388. { { 0, }, { 8, 15, 1 }, { 0, }, { 0, }, { 0, } },
  389. },
  390. { "ld1u", TILEGX_OPC_LD1U, 0x12, 2, TREG_ZERO, 1,
  391. { { 0, }, { 8, 9 }, { 0, }, { 0, }, { 26, 14 } },
  392. },
  393. { "ld1u_add", TILEGX_OPC_LD1U_ADD, 0x2, 3, TREG_ZERO, 1,
  394. { { 0, }, { 8, 15, 1 }, { 0, }, { 0, }, { 0, } },
  395. },
  396. { "ld2s", TILEGX_OPC_LD2S, 0x12, 2, TREG_ZERO, 1,
  397. { { 0, }, { 8, 9 }, { 0, }, { 0, }, { 26, 14 } },
  398. },
  399. { "ld2s_add", TILEGX_OPC_LD2S_ADD, 0x2, 3, TREG_ZERO, 1,
  400. { { 0, }, { 8, 15, 1 }, { 0, }, { 0, }, { 0, } },
  401. },
  402. { "ld2u", TILEGX_OPC_LD2U, 0x12, 2, TREG_ZERO, 1,
  403. { { 0, }, { 8, 9 }, { 0, }, { 0, }, { 26, 14 } },
  404. },
  405. { "ld2u_add", TILEGX_OPC_LD2U_ADD, 0x2, 3, TREG_ZERO, 1,
  406. { { 0, }, { 8, 15, 1 }, { 0, }, { 0, }, { 0, } },
  407. },
  408. { "ld4s", TILEGX_OPC_LD4S, 0x12, 2, TREG_ZERO, 1,
  409. { { 0, }, { 8, 9 }, { 0, }, { 0, }, { 26, 14 } },
  410. },
  411. { "ld4s_add", TILEGX_OPC_LD4S_ADD, 0x2, 3, TREG_ZERO, 1,
  412. { { 0, }, { 8, 15, 1 }, { 0, }, { 0, }, { 0, } },
  413. },
  414. { "ld4u", TILEGX_OPC_LD4U, 0x12, 2, TREG_ZERO, 1,
  415. { { 0, }, { 8, 9 }, { 0, }, { 0, }, { 26, 14 } },
  416. },
  417. { "ld4u_add", TILEGX_OPC_LD4U_ADD, 0x2, 3, TREG_ZERO, 1,
  418. { { 0, }, { 8, 15, 1 }, { 0, }, { 0, }, { 0, } },
  419. },
  420. { "ld_add", TILEGX_OPC_LD_ADD, 0x2, 3, TREG_ZERO, 1,
  421. { { 0, }, { 8, 15, 1 }, { 0, }, { 0, }, { 0, } },
  422. },
  423. { "ldna", TILEGX_OPC_LDNA, 0x2, 2, TREG_ZERO, 1,
  424. { { 0, }, { 8, 9 }, { 0, }, { 0, }, { 0, } },
  425. },
  426. { "ldna_add", TILEGX_OPC_LDNA_ADD, 0x2, 3, TREG_ZERO, 1,
  427. { { 0, }, { 8, 15, 1 }, { 0, }, { 0, }, { 0, } },
  428. },
  429. { "ldnt", TILEGX_OPC_LDNT, 0x2, 2, TREG_ZERO, 1,
  430. { { 0, }, { 8, 9 }, { 0, }, { 0, }, { 0, } },
  431. },
  432. { "ldnt1s", TILEGX_OPC_LDNT1S, 0x2, 2, TREG_ZERO, 1,
  433. { { 0, }, { 8, 9 }, { 0, }, { 0, }, { 0, } },
  434. },
  435. { "ldnt1s_add", TILEGX_OPC_LDNT1S_ADD, 0x2, 3, TREG_ZERO, 1,
  436. { { 0, }, { 8, 15, 1 }, { 0, }, { 0, }, { 0, } },
  437. },
  438. { "ldnt1u", TILEGX_OPC_LDNT1U, 0x2, 2, TREG_ZERO, 1,
  439. { { 0, }, { 8, 9 }, { 0, }, { 0, }, { 0, } },
  440. },
  441. { "ldnt1u_add", TILEGX_OPC_LDNT1U_ADD, 0x2, 3, TREG_ZERO, 1,
  442. { { 0, }, { 8, 15, 1 }, { 0, }, { 0, }, { 0, } },
  443. },
  444. { "ldnt2s", TILEGX_OPC_LDNT2S, 0x2, 2, TREG_ZERO, 1,
  445. { { 0, }, { 8, 9 }, { 0, }, { 0, }, { 0, } },
  446. },
  447. { "ldnt2s_add", TILEGX_OPC_LDNT2S_ADD, 0x2, 3, TREG_ZERO, 1,
  448. { { 0, }, { 8, 15, 1 }, { 0, }, { 0, }, { 0, } },
  449. },
  450. { "ldnt2u", TILEGX_OPC_LDNT2U, 0x2, 2, TREG_ZERO, 1,
  451. { { 0, }, { 8, 9 }, { 0, }, { 0, }, { 0, } },
  452. },
  453. { "ldnt2u_add", TILEGX_OPC_LDNT2U_ADD, 0x2, 3, TREG_ZERO, 1,
  454. { { 0, }, { 8, 15, 1 }, { 0, }, { 0, }, { 0, } },
  455. },
  456. { "ldnt4s", TILEGX_OPC_LDNT4S, 0x2, 2, TREG_ZERO, 1,
  457. { { 0, }, { 8, 9 }, { 0, }, { 0, }, { 0, } },
  458. },
  459. { "ldnt4s_add", TILEGX_OPC_LDNT4S_ADD, 0x2, 3, TREG_ZERO, 1,
  460. { { 0, }, { 8, 15, 1 }, { 0, }, { 0, }, { 0, } },
  461. },
  462. { "ldnt4u", TILEGX_OPC_LDNT4U, 0x2, 2, TREG_ZERO, 1,
  463. { { 0, }, { 8, 9 }, { 0, }, { 0, }, { 0, } },
  464. },
  465. { "ldnt4u_add", TILEGX_OPC_LDNT4U_ADD, 0x2, 3, TREG_ZERO, 1,
  466. { { 0, }, { 8, 15, 1 }, { 0, }, { 0, }, { 0, } },
  467. },
  468. { "ldnt_add", TILEGX_OPC_LDNT_ADD, 0x2, 3, TREG_ZERO, 1,
  469. { { 0, }, { 8, 15, 1 }, { 0, }, { 0, }, { 0, } },
  470. },
  471. { "lnk", TILEGX_OPC_LNK, 0xa, 1, TREG_ZERO, 1,
  472. { { 0, }, { 8 }, { 0, }, { 12 }, { 0, } },
  473. },
  474. { "mf", TILEGX_OPC_MF, 0x2, 0, TREG_ZERO, 1,
  475. { { 0, }, { }, { 0, }, { 0, }, { 0, } },
  476. },
  477. { "mfspr", TILEGX_OPC_MFSPR, 0x2, 2, TREG_ZERO, 1,
  478. { { 0, }, { 8, 27 }, { 0, }, { 0, }, { 0, } },
  479. },
  480. { "mm", TILEGX_OPC_MM, 0x1, 4, TREG_ZERO, 1,
  481. { { 23, 7, 21, 22 }, { 0, }, { 0, }, { 0, }, { 0, } },
  482. },
  483. { "mnz", TILEGX_OPC_MNZ, 0xf, 3, TREG_ZERO, 1,
  484. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  485. },
  486. { "mtspr", TILEGX_OPC_MTSPR, 0x2, 2, TREG_ZERO, 1,
  487. { { 0, }, { 28, 9 }, { 0, }, { 0, }, { 0, } },
  488. },
  489. { "mul_hs_hs", TILEGX_OPC_MUL_HS_HS, 0x5, 3, TREG_ZERO, 1,
  490. { { 6, 7, 16 }, { 0, }, { 10, 11, 18 }, { 0, }, { 0, } },
  491. },
  492. { "mul_hs_hu", TILEGX_OPC_MUL_HS_HU, 0x1, 3, TREG_ZERO, 1,
  493. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  494. },
  495. { "mul_hs_ls", TILEGX_OPC_MUL_HS_LS, 0x1, 3, TREG_ZERO, 1,
  496. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  497. },
  498. { "mul_hs_lu", TILEGX_OPC_MUL_HS_LU, 0x1, 3, TREG_ZERO, 1,
  499. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  500. },
  501. { "mul_hu_hu", TILEGX_OPC_MUL_HU_HU, 0x5, 3, TREG_ZERO, 1,
  502. { { 6, 7, 16 }, { 0, }, { 10, 11, 18 }, { 0, }, { 0, } },
  503. },
  504. { "mul_hu_ls", TILEGX_OPC_MUL_HU_LS, 0x1, 3, TREG_ZERO, 1,
  505. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  506. },
  507. { "mul_hu_lu", TILEGX_OPC_MUL_HU_LU, 0x1, 3, TREG_ZERO, 1,
  508. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  509. },
  510. { "mul_ls_ls", TILEGX_OPC_MUL_LS_LS, 0x5, 3, TREG_ZERO, 1,
  511. { { 6, 7, 16 }, { 0, }, { 10, 11, 18 }, { 0, }, { 0, } },
  512. },
  513. { "mul_ls_lu", TILEGX_OPC_MUL_LS_LU, 0x1, 3, TREG_ZERO, 1,
  514. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  515. },
  516. { "mul_lu_lu", TILEGX_OPC_MUL_LU_LU, 0x5, 3, TREG_ZERO, 1,
  517. { { 6, 7, 16 }, { 0, }, { 10, 11, 18 }, { 0, }, { 0, } },
  518. },
  519. { "mula_hs_hs", TILEGX_OPC_MULA_HS_HS, 0x5, 3, TREG_ZERO, 1,
  520. { { 23, 7, 16 }, { 0, }, { 24, 11, 18 }, { 0, }, { 0, } },
  521. },
  522. { "mula_hs_hu", TILEGX_OPC_MULA_HS_HU, 0x1, 3, TREG_ZERO, 1,
  523. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  524. },
  525. { "mula_hs_ls", TILEGX_OPC_MULA_HS_LS, 0x1, 3, TREG_ZERO, 1,
  526. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  527. },
  528. { "mula_hs_lu", TILEGX_OPC_MULA_HS_LU, 0x1, 3, TREG_ZERO, 1,
  529. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  530. },
  531. { "mula_hu_hu", TILEGX_OPC_MULA_HU_HU, 0x5, 3, TREG_ZERO, 1,
  532. { { 23, 7, 16 }, { 0, }, { 24, 11, 18 }, { 0, }, { 0, } },
  533. },
  534. { "mula_hu_ls", TILEGX_OPC_MULA_HU_LS, 0x1, 3, TREG_ZERO, 1,
  535. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  536. },
  537. { "mula_hu_lu", TILEGX_OPC_MULA_HU_LU, 0x1, 3, TREG_ZERO, 1,
  538. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  539. },
  540. { "mula_ls_ls", TILEGX_OPC_MULA_LS_LS, 0x5, 3, TREG_ZERO, 1,
  541. { { 23, 7, 16 }, { 0, }, { 24, 11, 18 }, { 0, }, { 0, } },
  542. },
  543. { "mula_ls_lu", TILEGX_OPC_MULA_LS_LU, 0x1, 3, TREG_ZERO, 1,
  544. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  545. },
  546. { "mula_lu_lu", TILEGX_OPC_MULA_LU_LU, 0x5, 3, TREG_ZERO, 1,
  547. { { 23, 7, 16 }, { 0, }, { 24, 11, 18 }, { 0, }, { 0, } },
  548. },
  549. { "mulax", TILEGX_OPC_MULAX, 0x5, 3, TREG_ZERO, 1,
  550. { { 23, 7, 16 }, { 0, }, { 24, 11, 18 }, { 0, }, { 0, } },
  551. },
  552. { "mulx", TILEGX_OPC_MULX, 0x5, 3, TREG_ZERO, 1,
  553. { { 6, 7, 16 }, { 0, }, { 10, 11, 18 }, { 0, }, { 0, } },
  554. },
  555. { "mz", TILEGX_OPC_MZ, 0xf, 3, TREG_ZERO, 1,
  556. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  557. },
  558. { "nap", TILEGX_OPC_NAP, 0x2, 0, TREG_ZERO, 0,
  559. { { 0, }, { }, { 0, }, { 0, }, { 0, } },
  560. },
  561. { "nop", TILEGX_OPC_NOP, 0xf, 0, TREG_ZERO, 1,
  562. { { }, { }, { }, { }, { 0, } },
  563. },
  564. { "nor", TILEGX_OPC_NOR, 0xf, 3, TREG_ZERO, 1,
  565. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  566. },
  567. { "or", TILEGX_OPC_OR, 0xf, 3, TREG_ZERO, 1,
  568. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  569. },
  570. { "ori", TILEGX_OPC_ORI, 0x3, 3, TREG_ZERO, 1,
  571. { { 6, 7, 0 }, { 8, 9, 1 }, { 0, }, { 0, }, { 0, } },
  572. },
  573. { "pcnt", TILEGX_OPC_PCNT, 0x5, 2, TREG_ZERO, 1,
  574. { { 6, 7 }, { 0, }, { 10, 11 }, { 0, }, { 0, } },
  575. },
  576. { "revbits", TILEGX_OPC_REVBITS, 0x5, 2, TREG_ZERO, 1,
  577. { { 6, 7 }, { 0, }, { 10, 11 }, { 0, }, { 0, } },
  578. },
  579. { "revbytes", TILEGX_OPC_REVBYTES, 0x5, 2, TREG_ZERO, 1,
  580. { { 6, 7 }, { 0, }, { 10, 11 }, { 0, }, { 0, } },
  581. },
  582. { "rotl", TILEGX_OPC_ROTL, 0xf, 3, TREG_ZERO, 1,
  583. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  584. },
  585. { "rotli", TILEGX_OPC_ROTLI, 0xf, 3, TREG_ZERO, 1,
  586. { { 6, 7, 29 }, { 8, 9, 30 }, { 10, 11, 31 }, { 12, 13, 32 }, { 0, } },
  587. },
  588. { "shl", TILEGX_OPC_SHL, 0xf, 3, TREG_ZERO, 1,
  589. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  590. },
  591. { "shl16insli", TILEGX_OPC_SHL16INSLI, 0x3, 3, TREG_ZERO, 1,
  592. { { 6, 7, 4 }, { 8, 9, 5 }, { 0, }, { 0, }, { 0, } },
  593. },
  594. { "shl1add", TILEGX_OPC_SHL1ADD, 0xf, 3, TREG_ZERO, 1,
  595. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  596. },
  597. { "shl1addx", TILEGX_OPC_SHL1ADDX, 0xf, 3, TREG_ZERO, 1,
  598. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  599. },
  600. { "shl2add", TILEGX_OPC_SHL2ADD, 0xf, 3, TREG_ZERO, 1,
  601. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  602. },
  603. { "shl2addx", TILEGX_OPC_SHL2ADDX, 0xf, 3, TREG_ZERO, 1,
  604. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  605. },
  606. { "shl3add", TILEGX_OPC_SHL3ADD, 0xf, 3, TREG_ZERO, 1,
  607. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  608. },
  609. { "shl3addx", TILEGX_OPC_SHL3ADDX, 0xf, 3, TREG_ZERO, 1,
  610. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  611. },
  612. { "shli", TILEGX_OPC_SHLI, 0xf, 3, TREG_ZERO, 1,
  613. { { 6, 7, 29 }, { 8, 9, 30 }, { 10, 11, 31 }, { 12, 13, 32 }, { 0, } },
  614. },
  615. { "shlx", TILEGX_OPC_SHLX, 0x3, 3, TREG_ZERO, 1,
  616. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  617. },
  618. { "shlxi", TILEGX_OPC_SHLXI, 0x3, 3, TREG_ZERO, 1,
  619. { { 6, 7, 29 }, { 8, 9, 30 }, { 0, }, { 0, }, { 0, } },
  620. },
  621. { "shrs", TILEGX_OPC_SHRS, 0xf, 3, TREG_ZERO, 1,
  622. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  623. },
  624. { "shrsi", TILEGX_OPC_SHRSI, 0xf, 3, TREG_ZERO, 1,
  625. { { 6, 7, 29 }, { 8, 9, 30 }, { 10, 11, 31 }, { 12, 13, 32 }, { 0, } },
  626. },
  627. { "shru", TILEGX_OPC_SHRU, 0xf, 3, TREG_ZERO, 1,
  628. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  629. },
  630. { "shrui", TILEGX_OPC_SHRUI, 0xf, 3, TREG_ZERO, 1,
  631. { { 6, 7, 29 }, { 8, 9, 30 }, { 10, 11, 31 }, { 12, 13, 32 }, { 0, } },
  632. },
  633. { "shrux", TILEGX_OPC_SHRUX, 0x3, 3, TREG_ZERO, 1,
  634. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  635. },
  636. { "shruxi", TILEGX_OPC_SHRUXI, 0x3, 3, TREG_ZERO, 1,
  637. { { 6, 7, 29 }, { 8, 9, 30 }, { 0, }, { 0, }, { 0, } },
  638. },
  639. { "shufflebytes", TILEGX_OPC_SHUFFLEBYTES, 0x1, 3, TREG_ZERO, 1,
  640. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  641. },
  642. { "st", TILEGX_OPC_ST, 0x12, 2, TREG_ZERO, 1,
  643. { { 0, }, { 9, 17 }, { 0, }, { 0, }, { 14, 33 } },
  644. },
  645. { "st1", TILEGX_OPC_ST1, 0x12, 2, TREG_ZERO, 1,
  646. { { 0, }, { 9, 17 }, { 0, }, { 0, }, { 14, 33 } },
  647. },
  648. { "st1_add", TILEGX_OPC_ST1_ADD, 0x2, 3, TREG_ZERO, 1,
  649. { { 0, }, { 15, 17, 34 }, { 0, }, { 0, }, { 0, } },
  650. },
  651. { "st2", TILEGX_OPC_ST2, 0x12, 2, TREG_ZERO, 1,
  652. { { 0, }, { 9, 17 }, { 0, }, { 0, }, { 14, 33 } },
  653. },
  654. { "st2_add", TILEGX_OPC_ST2_ADD, 0x2, 3, TREG_ZERO, 1,
  655. { { 0, }, { 15, 17, 34 }, { 0, }, { 0, }, { 0, } },
  656. },
  657. { "st4", TILEGX_OPC_ST4, 0x12, 2, TREG_ZERO, 1,
  658. { { 0, }, { 9, 17 }, { 0, }, { 0, }, { 14, 33 } },
  659. },
  660. { "st4_add", TILEGX_OPC_ST4_ADD, 0x2, 3, TREG_ZERO, 1,
  661. { { 0, }, { 15, 17, 34 }, { 0, }, { 0, }, { 0, } },
  662. },
  663. { "st_add", TILEGX_OPC_ST_ADD, 0x2, 3, TREG_ZERO, 1,
  664. { { 0, }, { 15, 17, 34 }, { 0, }, { 0, }, { 0, } },
  665. },
  666. { "stnt", TILEGX_OPC_STNT, 0x2, 2, TREG_ZERO, 1,
  667. { { 0, }, { 9, 17 }, { 0, }, { 0, }, { 0, } },
  668. },
  669. { "stnt1", TILEGX_OPC_STNT1, 0x2, 2, TREG_ZERO, 1,
  670. { { 0, }, { 9, 17 }, { 0, }, { 0, }, { 0, } },
  671. },
  672. { "stnt1_add", TILEGX_OPC_STNT1_ADD, 0x2, 3, TREG_ZERO, 1,
  673. { { 0, }, { 15, 17, 34 }, { 0, }, { 0, }, { 0, } },
  674. },
  675. { "stnt2", TILEGX_OPC_STNT2, 0x2, 2, TREG_ZERO, 1,
  676. { { 0, }, { 9, 17 }, { 0, }, { 0, }, { 0, } },
  677. },
  678. { "stnt2_add", TILEGX_OPC_STNT2_ADD, 0x2, 3, TREG_ZERO, 1,
  679. { { 0, }, { 15, 17, 34 }, { 0, }, { 0, }, { 0, } },
  680. },
  681. { "stnt4", TILEGX_OPC_STNT4, 0x2, 2, TREG_ZERO, 1,
  682. { { 0, }, { 9, 17 }, { 0, }, { 0, }, { 0, } },
  683. },
  684. { "stnt4_add", TILEGX_OPC_STNT4_ADD, 0x2, 3, TREG_ZERO, 1,
  685. { { 0, }, { 15, 17, 34 }, { 0, }, { 0, }, { 0, } },
  686. },
  687. { "stnt_add", TILEGX_OPC_STNT_ADD, 0x2, 3, TREG_ZERO, 1,
  688. { { 0, }, { 15, 17, 34 }, { 0, }, { 0, }, { 0, } },
  689. },
  690. { "sub", TILEGX_OPC_SUB, 0xf, 3, TREG_ZERO, 1,
  691. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  692. },
  693. { "subx", TILEGX_OPC_SUBX, 0xf, 3, TREG_ZERO, 1,
  694. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  695. },
  696. { "subxsc", TILEGX_OPC_SUBXSC, 0x3, 3, TREG_ZERO, 1,
  697. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  698. },
  699. { "swint0", TILEGX_OPC_SWINT0, 0x2, 0, TREG_ZERO, 0,
  700. { { 0, }, { }, { 0, }, { 0, }, { 0, } },
  701. },
  702. { "swint1", TILEGX_OPC_SWINT1, 0x2, 0, TREG_ZERO, 0,
  703. { { 0, }, { }, { 0, }, { 0, }, { 0, } },
  704. },
  705. { "swint2", TILEGX_OPC_SWINT2, 0x2, 0, TREG_ZERO, 0,
  706. { { 0, }, { }, { 0, }, { 0, }, { 0, } },
  707. },
  708. { "swint3", TILEGX_OPC_SWINT3, 0x2, 0, TREG_ZERO, 0,
  709. { { 0, }, { }, { 0, }, { 0, }, { 0, } },
  710. },
  711. { "tblidxb0", TILEGX_OPC_TBLIDXB0, 0x5, 2, TREG_ZERO, 1,
  712. { { 23, 7 }, { 0, }, { 24, 11 }, { 0, }, { 0, } },
  713. },
  714. { "tblidxb1", TILEGX_OPC_TBLIDXB1, 0x5, 2, TREG_ZERO, 1,
  715. { { 23, 7 }, { 0, }, { 24, 11 }, { 0, }, { 0, } },
  716. },
  717. { "tblidxb2", TILEGX_OPC_TBLIDXB2, 0x5, 2, TREG_ZERO, 1,
  718. { { 23, 7 }, { 0, }, { 24, 11 }, { 0, }, { 0, } },
  719. },
  720. { "tblidxb3", TILEGX_OPC_TBLIDXB3, 0x5, 2, TREG_ZERO, 1,
  721. { { 23, 7 }, { 0, }, { 24, 11 }, { 0, }, { 0, } },
  722. },
  723. { "v1add", TILEGX_OPC_V1ADD, 0x3, 3, TREG_ZERO, 1,
  724. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  725. },
  726. { "v1addi", TILEGX_OPC_V1ADDI, 0x3, 3, TREG_ZERO, 1,
  727. { { 6, 7, 0 }, { 8, 9, 1 }, { 0, }, { 0, }, { 0, } },
  728. },
  729. { "v1adduc", TILEGX_OPC_V1ADDUC, 0x3, 3, TREG_ZERO, 1,
  730. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  731. },
  732. { "v1adiffu", TILEGX_OPC_V1ADIFFU, 0x1, 3, TREG_ZERO, 1,
  733. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  734. },
  735. { "v1avgu", TILEGX_OPC_V1AVGU, 0x1, 3, TREG_ZERO, 1,
  736. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  737. },
  738. { "v1cmpeq", TILEGX_OPC_V1CMPEQ, 0x3, 3, TREG_ZERO, 1,
  739. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  740. },
  741. { "v1cmpeqi", TILEGX_OPC_V1CMPEQI, 0x3, 3, TREG_ZERO, 1,
  742. { { 6, 7, 0 }, { 8, 9, 1 }, { 0, }, { 0, }, { 0, } },
  743. },
  744. { "v1cmples", TILEGX_OPC_V1CMPLES, 0x3, 3, TREG_ZERO, 1,
  745. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  746. },
  747. { "v1cmpleu", TILEGX_OPC_V1CMPLEU, 0x3, 3, TREG_ZERO, 1,
  748. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  749. },
  750. { "v1cmplts", TILEGX_OPC_V1CMPLTS, 0x3, 3, TREG_ZERO, 1,
  751. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  752. },
  753. { "v1cmpltsi", TILEGX_OPC_V1CMPLTSI, 0x3, 3, TREG_ZERO, 1,
  754. { { 6, 7, 0 }, { 8, 9, 1 }, { 0, }, { 0, }, { 0, } },
  755. },
  756. { "v1cmpltu", TILEGX_OPC_V1CMPLTU, 0x3, 3, TREG_ZERO, 1,
  757. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  758. },
  759. { "v1cmpltui", TILEGX_OPC_V1CMPLTUI, 0x3, 3, TREG_ZERO, 1,
  760. { { 6, 7, 0 }, { 8, 9, 1 }, { 0, }, { 0, }, { 0, } },
  761. },
  762. { "v1cmpne", TILEGX_OPC_V1CMPNE, 0x3, 3, TREG_ZERO, 1,
  763. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  764. },
  765. { "v1ddotpu", TILEGX_OPC_V1DDOTPU, 0x1, 3, TREG_ZERO, 1,
  766. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  767. },
  768. { "v1ddotpua", TILEGX_OPC_V1DDOTPUA, 0x1, 3, TREG_ZERO, 1,
  769. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  770. },
  771. { "v1ddotpus", TILEGX_OPC_V1DDOTPUS, 0x1, 3, TREG_ZERO, 1,
  772. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  773. },
  774. { "v1ddotpusa", TILEGX_OPC_V1DDOTPUSA, 0x1, 3, TREG_ZERO, 1,
  775. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  776. },
  777. { "v1dotp", TILEGX_OPC_V1DOTP, 0x1, 3, TREG_ZERO, 1,
  778. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  779. },
  780. { "v1dotpa", TILEGX_OPC_V1DOTPA, 0x1, 3, TREG_ZERO, 1,
  781. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  782. },
  783. { "v1dotpu", TILEGX_OPC_V1DOTPU, 0x1, 3, TREG_ZERO, 1,
  784. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  785. },
  786. { "v1dotpua", TILEGX_OPC_V1DOTPUA, 0x1, 3, TREG_ZERO, 1,
  787. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  788. },
  789. { "v1dotpus", TILEGX_OPC_V1DOTPUS, 0x1, 3, TREG_ZERO, 1,
  790. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  791. },
  792. { "v1dotpusa", TILEGX_OPC_V1DOTPUSA, 0x1, 3, TREG_ZERO, 1,
  793. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  794. },
  795. { "v1int_h", TILEGX_OPC_V1INT_H, 0x3, 3, TREG_ZERO, 1,
  796. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  797. },
  798. { "v1int_l", TILEGX_OPC_V1INT_L, 0x3, 3, TREG_ZERO, 1,
  799. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  800. },
  801. { "v1maxu", TILEGX_OPC_V1MAXU, 0x3, 3, TREG_ZERO, 1,
  802. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  803. },
  804. { "v1maxui", TILEGX_OPC_V1MAXUI, 0x3, 3, TREG_ZERO, 1,
  805. { { 6, 7, 0 }, { 8, 9, 1 }, { 0, }, { 0, }, { 0, } },
  806. },
  807. { "v1minu", TILEGX_OPC_V1MINU, 0x3, 3, TREG_ZERO, 1,
  808. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  809. },
  810. { "v1minui", TILEGX_OPC_V1MINUI, 0x3, 3, TREG_ZERO, 1,
  811. { { 6, 7, 0 }, { 8, 9, 1 }, { 0, }, { 0, }, { 0, } },
  812. },
  813. { "v1mnz", TILEGX_OPC_V1MNZ, 0x3, 3, TREG_ZERO, 1,
  814. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  815. },
  816. { "v1multu", TILEGX_OPC_V1MULTU, 0x1, 3, TREG_ZERO, 1,
  817. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  818. },
  819. { "v1mulu", TILEGX_OPC_V1MULU, 0x1, 3, TREG_ZERO, 1,
  820. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  821. },
  822. { "v1mulus", TILEGX_OPC_V1MULUS, 0x1, 3, TREG_ZERO, 1,
  823. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  824. },
  825. { "v1mz", TILEGX_OPC_V1MZ, 0x3, 3, TREG_ZERO, 1,
  826. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  827. },
  828. { "v1sadau", TILEGX_OPC_V1SADAU, 0x1, 3, TREG_ZERO, 1,
  829. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  830. },
  831. { "v1sadu", TILEGX_OPC_V1SADU, 0x1, 3, TREG_ZERO, 1,
  832. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  833. },
  834. { "v1shl", TILEGX_OPC_V1SHL, 0x3, 3, TREG_ZERO, 1,
  835. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  836. },
  837. { "v1shli", TILEGX_OPC_V1SHLI, 0x3, 3, TREG_ZERO, 1,
  838. { { 6, 7, 29 }, { 8, 9, 30 }, { 0, }, { 0, }, { 0, } },
  839. },
  840. { "v1shrs", TILEGX_OPC_V1SHRS, 0x3, 3, TREG_ZERO, 1,
  841. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  842. },
  843. { "v1shrsi", TILEGX_OPC_V1SHRSI, 0x3, 3, TREG_ZERO, 1,
  844. { { 6, 7, 29 }, { 8, 9, 30 }, { 0, }, { 0, }, { 0, } },
  845. },
  846. { "v1shru", TILEGX_OPC_V1SHRU, 0x3, 3, TREG_ZERO, 1,
  847. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  848. },
  849. { "v1shrui", TILEGX_OPC_V1SHRUI, 0x3, 3, TREG_ZERO, 1,
  850. { { 6, 7, 29 }, { 8, 9, 30 }, { 0, }, { 0, }, { 0, } },
  851. },
  852. { "v1sub", TILEGX_OPC_V1SUB, 0x3, 3, TREG_ZERO, 1,
  853. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  854. },
  855. { "v1subuc", TILEGX_OPC_V1SUBUC, 0x3, 3, TREG_ZERO, 1,
  856. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  857. },
  858. { "v2add", TILEGX_OPC_V2ADD, 0x3, 3, TREG_ZERO, 1,
  859. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  860. },
  861. { "v2addi", TILEGX_OPC_V2ADDI, 0x3, 3, TREG_ZERO, 1,
  862. { { 6, 7, 0 }, { 8, 9, 1 }, { 0, }, { 0, }, { 0, } },
  863. },
  864. { "v2addsc", TILEGX_OPC_V2ADDSC, 0x3, 3, TREG_ZERO, 1,
  865. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  866. },
  867. { "v2adiffs", TILEGX_OPC_V2ADIFFS, 0x1, 3, TREG_ZERO, 1,
  868. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  869. },
  870. { "v2avgs", TILEGX_OPC_V2AVGS, 0x1, 3, TREG_ZERO, 1,
  871. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  872. },
  873. { "v2cmpeq", TILEGX_OPC_V2CMPEQ, 0x3, 3, TREG_ZERO, 1,
  874. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  875. },
  876. { "v2cmpeqi", TILEGX_OPC_V2CMPEQI, 0x3, 3, TREG_ZERO, 1,
  877. { { 6, 7, 0 }, { 8, 9, 1 }, { 0, }, { 0, }, { 0, } },
  878. },
  879. { "v2cmples", TILEGX_OPC_V2CMPLES, 0x3, 3, TREG_ZERO, 1,
  880. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  881. },
  882. { "v2cmpleu", TILEGX_OPC_V2CMPLEU, 0x3, 3, TREG_ZERO, 1,
  883. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  884. },
  885. { "v2cmplts", TILEGX_OPC_V2CMPLTS, 0x3, 3, TREG_ZERO, 1,
  886. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  887. },
  888. { "v2cmpltsi", TILEGX_OPC_V2CMPLTSI, 0x3, 3, TREG_ZERO, 1,
  889. { { 6, 7, 0 }, { 8, 9, 1 }, { 0, }, { 0, }, { 0, } },
  890. },
  891. { "v2cmpltu", TILEGX_OPC_V2CMPLTU, 0x3, 3, TREG_ZERO, 1,
  892. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  893. },
  894. { "v2cmpltui", TILEGX_OPC_V2CMPLTUI, 0x3, 3, TREG_ZERO, 1,
  895. { { 6, 7, 0 }, { 8, 9, 1 }, { 0, }, { 0, }, { 0, } },
  896. },
  897. { "v2cmpne", TILEGX_OPC_V2CMPNE, 0x3, 3, TREG_ZERO, 1,
  898. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  899. },
  900. { "v2dotp", TILEGX_OPC_V2DOTP, 0x1, 3, TREG_ZERO, 1,
  901. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  902. },
  903. { "v2dotpa", TILEGX_OPC_V2DOTPA, 0x1, 3, TREG_ZERO, 1,
  904. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  905. },
  906. { "v2int_h", TILEGX_OPC_V2INT_H, 0x3, 3, TREG_ZERO, 1,
  907. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  908. },
  909. { "v2int_l", TILEGX_OPC_V2INT_L, 0x3, 3, TREG_ZERO, 1,
  910. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  911. },
  912. { "v2maxs", TILEGX_OPC_V2MAXS, 0x3, 3, TREG_ZERO, 1,
  913. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  914. },
  915. { "v2maxsi", TILEGX_OPC_V2MAXSI, 0x3, 3, TREG_ZERO, 1,
  916. { { 6, 7, 0 }, { 8, 9, 1 }, { 0, }, { 0, }, { 0, } },
  917. },
  918. { "v2mins", TILEGX_OPC_V2MINS, 0x3, 3, TREG_ZERO, 1,
  919. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  920. },
  921. { "v2minsi", TILEGX_OPC_V2MINSI, 0x3, 3, TREG_ZERO, 1,
  922. { { 6, 7, 0 }, { 8, 9, 1 }, { 0, }, { 0, }, { 0, } },
  923. },
  924. { "v2mnz", TILEGX_OPC_V2MNZ, 0x3, 3, TREG_ZERO, 1,
  925. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  926. },
  927. { "v2mulfsc", TILEGX_OPC_V2MULFSC, 0x1, 3, TREG_ZERO, 1,
  928. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  929. },
  930. { "v2muls", TILEGX_OPC_V2MULS, 0x1, 3, TREG_ZERO, 1,
  931. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  932. },
  933. { "v2mults", TILEGX_OPC_V2MULTS, 0x1, 3, TREG_ZERO, 1,
  934. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  935. },
  936. { "v2mz", TILEGX_OPC_V2MZ, 0x3, 3, TREG_ZERO, 1,
  937. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  938. },
  939. { "v2packh", TILEGX_OPC_V2PACKH, 0x3, 3, TREG_ZERO, 1,
  940. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  941. },
  942. { "v2packl", TILEGX_OPC_V2PACKL, 0x3, 3, TREG_ZERO, 1,
  943. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  944. },
  945. { "v2packuc", TILEGX_OPC_V2PACKUC, 0x3, 3, TREG_ZERO, 1,
  946. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  947. },
  948. { "v2sadas", TILEGX_OPC_V2SADAS, 0x1, 3, TREG_ZERO, 1,
  949. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  950. },
  951. { "v2sadau", TILEGX_OPC_V2SADAU, 0x1, 3, TREG_ZERO, 1,
  952. { { 23, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  953. },
  954. { "v2sads", TILEGX_OPC_V2SADS, 0x1, 3, TREG_ZERO, 1,
  955. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  956. },
  957. { "v2sadu", TILEGX_OPC_V2SADU, 0x1, 3, TREG_ZERO, 1,
  958. { { 6, 7, 16 }, { 0, }, { 0, }, { 0, }, { 0, } },
  959. },
  960. { "v2shl", TILEGX_OPC_V2SHL, 0x3, 3, TREG_ZERO, 1,
  961. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  962. },
  963. { "v2shli", TILEGX_OPC_V2SHLI, 0x3, 3, TREG_ZERO, 1,
  964. { { 6, 7, 29 }, { 8, 9, 30 }, { 0, }, { 0, }, { 0, } },
  965. },
  966. { "v2shlsc", TILEGX_OPC_V2SHLSC, 0x3, 3, TREG_ZERO, 1,
  967. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  968. },
  969. { "v2shrs", TILEGX_OPC_V2SHRS, 0x3, 3, TREG_ZERO, 1,
  970. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  971. },
  972. { "v2shrsi", TILEGX_OPC_V2SHRSI, 0x3, 3, TREG_ZERO, 1,
  973. { { 6, 7, 29 }, { 8, 9, 30 }, { 0, }, { 0, }, { 0, } },
  974. },
  975. { "v2shru", TILEGX_OPC_V2SHRU, 0x3, 3, TREG_ZERO, 1,
  976. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  977. },
  978. { "v2shrui", TILEGX_OPC_V2SHRUI, 0x3, 3, TREG_ZERO, 1,
  979. { { 6, 7, 29 }, { 8, 9, 30 }, { 0, }, { 0, }, { 0, } },
  980. },
  981. { "v2sub", TILEGX_OPC_V2SUB, 0x3, 3, TREG_ZERO, 1,
  982. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  983. },
  984. { "v2subsc", TILEGX_OPC_V2SUBSC, 0x3, 3, TREG_ZERO, 1,
  985. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  986. },
  987. { "v4add", TILEGX_OPC_V4ADD, 0x3, 3, TREG_ZERO, 1,
  988. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  989. },
  990. { "v4addsc", TILEGX_OPC_V4ADDSC, 0x3, 3, TREG_ZERO, 1,
  991. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  992. },
  993. { "v4int_h", TILEGX_OPC_V4INT_H, 0x3, 3, TREG_ZERO, 1,
  994. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  995. },
  996. { "v4int_l", TILEGX_OPC_V4INT_L, 0x3, 3, TREG_ZERO, 1,
  997. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  998. },
  999. { "v4packsc", TILEGX_OPC_V4PACKSC, 0x3, 3, TREG_ZERO, 1,
  1000. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  1001. },
  1002. { "v4shl", TILEGX_OPC_V4SHL, 0x3, 3, TREG_ZERO, 1,
  1003. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  1004. },
  1005. { "v4shlsc", TILEGX_OPC_V4SHLSC, 0x3, 3, TREG_ZERO, 1,
  1006. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  1007. },
  1008. { "v4shrs", TILEGX_OPC_V4SHRS, 0x3, 3, TREG_ZERO, 1,
  1009. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  1010. },
  1011. { "v4shru", TILEGX_OPC_V4SHRU, 0x3, 3, TREG_ZERO, 1,
  1012. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  1013. },
  1014. { "v4sub", TILEGX_OPC_V4SUB, 0x3, 3, TREG_ZERO, 1,
  1015. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  1016. },
  1017. { "v4subsc", TILEGX_OPC_V4SUBSC, 0x3, 3, TREG_ZERO, 1,
  1018. { { 6, 7, 16 }, { 8, 9, 17 }, { 0, }, { 0, }, { 0, } },
  1019. },
  1020. { "wh64", TILEGX_OPC_WH64, 0x2, 1, TREG_ZERO, 1,
  1021. { { 0, }, { 9 }, { 0, }, { 0, }, { 0, } },
  1022. },
  1023. { "xor", TILEGX_OPC_XOR, 0xf, 3, TREG_ZERO, 1,
  1024. { { 6, 7, 16 }, { 8, 9, 17 }, { 10, 11, 18 }, { 12, 13, 19 }, { 0, } },
  1025. },
  1026. { "xori", TILEGX_OPC_XORI, 0x3, 3, TREG_ZERO, 1,
  1027. { { 6, 7, 0 }, { 8, 9, 1 }, { 0, }, { 0, }, { 0, } },
  1028. },
  1029. { NULL, TILEGX_OPC_NONE, 0, 0, TREG_ZERO, 0, { { 0, } },
  1030. }
  1031. };
  1032. #define BITFIELD(start, size) ((start) | (((1 << (size)) - 1) << 6))
  1033. #define CHILD(array_index) (TILEGX_OPC_NONE + (array_index))
  1034. static const unsigned short decode_X0_fsm[936] =
  1035. {
  1036. BITFIELD(22, 9) /* index 0 */,
  1037. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1038. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1039. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1040. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1041. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1042. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1043. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1044. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1045. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1046. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1047. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1048. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1049. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1050. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1051. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1052. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1053. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1054. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1055. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1056. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1057. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1058. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1059. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1060. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1061. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1062. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1063. CHILD(513), CHILD(513), CHILD(513), CHILD(513), TILEGX_OPC_ADDXLI,
  1064. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1065. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1066. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1067. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1068. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1069. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1070. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1071. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1072. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1073. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1074. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1075. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1076. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1077. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1078. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1079. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_NONE,
  1080. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1081. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1082. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1083. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_BFEXTS,
  1084. TILEGX_OPC_BFEXTS, TILEGX_OPC_BFEXTS, TILEGX_OPC_BFEXTS, TILEGX_OPC_BFEXTU,
  1085. TILEGX_OPC_BFEXTU, TILEGX_OPC_BFEXTU, TILEGX_OPC_BFEXTU, TILEGX_OPC_BFINS,
  1086. TILEGX_OPC_BFINS, TILEGX_OPC_BFINS, TILEGX_OPC_BFINS, TILEGX_OPC_MM,
  1087. TILEGX_OPC_MM, TILEGX_OPC_MM, TILEGX_OPC_MM, TILEGX_OPC_NONE,
  1088. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1089. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1090. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1091. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1092. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1093. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1094. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1095. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, CHILD(528), CHILD(578),
  1096. CHILD(583), CHILD(588), CHILD(593), CHILD(598), TILEGX_OPC_NONE,
  1097. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1098. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1099. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1100. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1101. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1102. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1103. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1104. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1105. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1106. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1107. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1108. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1109. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1110. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1111. TILEGX_OPC_NONE, CHILD(603), CHILD(620), CHILD(637), CHILD(654), CHILD(671),
  1112. CHILD(703), CHILD(797), CHILD(814), CHILD(831), CHILD(848), CHILD(865),
  1113. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1114. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1115. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1116. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1117. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1118. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1119. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1120. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1121. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1122. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1123. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1124. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1125. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1126. TILEGX_OPC_NONE, CHILD(889), TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1127. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1128. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1129. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1130. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1131. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1132. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1133. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1134. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1135. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1136. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1137. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1138. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1139. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1140. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1141. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1142. TILEGX_OPC_NONE, CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906),
  1143. CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906),
  1144. CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906),
  1145. CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906),
  1146. CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906),
  1147. CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906),
  1148. CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906),
  1149. CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906),
  1150. CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906),
  1151. CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906),
  1152. CHILD(906), CHILD(906), CHILD(906), CHILD(906), CHILD(906),
  1153. BITFIELD(6, 2) /* index 513 */,
  1154. TILEGX_OPC_ADDLI, TILEGX_OPC_ADDLI, TILEGX_OPC_ADDLI, CHILD(518),
  1155. BITFIELD(8, 2) /* index 518 */,
  1156. TILEGX_OPC_ADDLI, TILEGX_OPC_ADDLI, TILEGX_OPC_ADDLI, CHILD(523),
  1157. BITFIELD(10, 2) /* index 523 */,
  1158. TILEGX_OPC_ADDLI, TILEGX_OPC_ADDLI, TILEGX_OPC_ADDLI, TILEGX_OPC_MOVELI,
  1159. BITFIELD(20, 2) /* index 528 */,
  1160. TILEGX_OPC_NONE, CHILD(533), TILEGX_OPC_ADDXI, CHILD(548),
  1161. BITFIELD(6, 2) /* index 533 */,
  1162. TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, CHILD(538),
  1163. BITFIELD(8, 2) /* index 538 */,
  1164. TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, CHILD(543),
  1165. BITFIELD(10, 2) /* index 543 */,
  1166. TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, TILEGX_OPC_MOVEI,
  1167. BITFIELD(0, 2) /* index 548 */,
  1168. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(553),
  1169. BITFIELD(2, 2) /* index 553 */,
  1170. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(558),
  1171. BITFIELD(4, 2) /* index 558 */,
  1172. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(563),
  1173. BITFIELD(6, 2) /* index 563 */,
  1174. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(568),
  1175. BITFIELD(8, 2) /* index 568 */,
  1176. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(573),
  1177. BITFIELD(10, 2) /* index 573 */,
  1178. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_INFO,
  1179. BITFIELD(20, 2) /* index 578 */,
  1180. TILEGX_OPC_CMPEQI, TILEGX_OPC_CMPLTSI, TILEGX_OPC_CMPLTUI, TILEGX_OPC_ORI,
  1181. BITFIELD(20, 2) /* index 583 */,
  1182. TILEGX_OPC_V1ADDI, TILEGX_OPC_V1CMPEQI, TILEGX_OPC_V1CMPLTSI,
  1183. TILEGX_OPC_V1CMPLTUI,
  1184. BITFIELD(20, 2) /* index 588 */,
  1185. TILEGX_OPC_V1MAXUI, TILEGX_OPC_V1MINUI, TILEGX_OPC_V2ADDI,
  1186. TILEGX_OPC_V2CMPEQI,
  1187. BITFIELD(20, 2) /* index 593 */,
  1188. TILEGX_OPC_V2CMPLTSI, TILEGX_OPC_V2CMPLTUI, TILEGX_OPC_V2MAXSI,
  1189. TILEGX_OPC_V2MINSI,
  1190. BITFIELD(20, 2) /* index 598 */,
  1191. TILEGX_OPC_XORI, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1192. BITFIELD(18, 4) /* index 603 */,
  1193. TILEGX_OPC_NONE, TILEGX_OPC_ADDXSC, TILEGX_OPC_ADDX, TILEGX_OPC_ADD,
  1194. TILEGX_OPC_AND, TILEGX_OPC_CMOVEQZ, TILEGX_OPC_CMOVNEZ, TILEGX_OPC_CMPEQ,
  1195. TILEGX_OPC_CMPLES, TILEGX_OPC_CMPLEU, TILEGX_OPC_CMPLTS, TILEGX_OPC_CMPLTU,
  1196. TILEGX_OPC_CMPNE, TILEGX_OPC_CMULAF, TILEGX_OPC_CMULA, TILEGX_OPC_CMULFR,
  1197. BITFIELD(18, 4) /* index 620 */,
  1198. TILEGX_OPC_CMULF, TILEGX_OPC_CMULHR, TILEGX_OPC_CMULH, TILEGX_OPC_CMUL,
  1199. TILEGX_OPC_CRC32_32, TILEGX_OPC_CRC32_8, TILEGX_OPC_DBLALIGN2,
  1200. TILEGX_OPC_DBLALIGN4, TILEGX_OPC_DBLALIGN6, TILEGX_OPC_DBLALIGN,
  1201. TILEGX_OPC_FDOUBLE_ADDSUB, TILEGX_OPC_FDOUBLE_ADD_FLAGS,
  1202. TILEGX_OPC_FDOUBLE_MUL_FLAGS, TILEGX_OPC_FDOUBLE_PACK1,
  1203. TILEGX_OPC_FDOUBLE_PACK2, TILEGX_OPC_FDOUBLE_SUB_FLAGS,
  1204. BITFIELD(18, 4) /* index 637 */,
  1205. TILEGX_OPC_FDOUBLE_UNPACK_MAX, TILEGX_OPC_FDOUBLE_UNPACK_MIN,
  1206. TILEGX_OPC_FSINGLE_ADD1, TILEGX_OPC_FSINGLE_ADDSUB2,
  1207. TILEGX_OPC_FSINGLE_MUL1, TILEGX_OPC_FSINGLE_MUL2, TILEGX_OPC_FSINGLE_PACK2,
  1208. TILEGX_OPC_FSINGLE_SUB1, TILEGX_OPC_MNZ, TILEGX_OPC_MULAX,
  1209. TILEGX_OPC_MULA_HS_HS, TILEGX_OPC_MULA_HS_HU, TILEGX_OPC_MULA_HS_LS,
  1210. TILEGX_OPC_MULA_HS_LU, TILEGX_OPC_MULA_HU_HU, TILEGX_OPC_MULA_HU_LS,
  1211. BITFIELD(18, 4) /* index 654 */,
  1212. TILEGX_OPC_MULA_HU_LU, TILEGX_OPC_MULA_LS_LS, TILEGX_OPC_MULA_LS_LU,
  1213. TILEGX_OPC_MULA_LU_LU, TILEGX_OPC_MULX, TILEGX_OPC_MUL_HS_HS,
  1214. TILEGX_OPC_MUL_HS_HU, TILEGX_OPC_MUL_HS_LS, TILEGX_OPC_MUL_HS_LU,
  1215. TILEGX_OPC_MUL_HU_HU, TILEGX_OPC_MUL_HU_LS, TILEGX_OPC_MUL_HU_LU,
  1216. TILEGX_OPC_MUL_LS_LS, TILEGX_OPC_MUL_LS_LU, TILEGX_OPC_MUL_LU_LU,
  1217. TILEGX_OPC_MZ,
  1218. BITFIELD(18, 4) /* index 671 */,
  1219. TILEGX_OPC_NOR, CHILD(688), TILEGX_OPC_ROTL, TILEGX_OPC_SHL1ADDX,
  1220. TILEGX_OPC_SHL1ADD, TILEGX_OPC_SHL2ADDX, TILEGX_OPC_SHL2ADD,
  1221. TILEGX_OPC_SHL3ADDX, TILEGX_OPC_SHL3ADD, TILEGX_OPC_SHLX, TILEGX_OPC_SHL,
  1222. TILEGX_OPC_SHRS, TILEGX_OPC_SHRUX, TILEGX_OPC_SHRU, TILEGX_OPC_SHUFFLEBYTES,
  1223. TILEGX_OPC_SUBXSC,
  1224. BITFIELD(12, 2) /* index 688 */,
  1225. TILEGX_OPC_OR, TILEGX_OPC_OR, TILEGX_OPC_OR, CHILD(693),
  1226. BITFIELD(14, 2) /* index 693 */,
  1227. TILEGX_OPC_OR, TILEGX_OPC_OR, TILEGX_OPC_OR, CHILD(698),
  1228. BITFIELD(16, 2) /* index 698 */,
  1229. TILEGX_OPC_OR, TILEGX_OPC_OR, TILEGX_OPC_OR, TILEGX_OPC_MOVE,
  1230. BITFIELD(18, 4) /* index 703 */,
  1231. TILEGX_OPC_SUBX, TILEGX_OPC_SUB, CHILD(720), TILEGX_OPC_V1ADDUC,
  1232. TILEGX_OPC_V1ADD, TILEGX_OPC_V1ADIFFU, TILEGX_OPC_V1AVGU,
  1233. TILEGX_OPC_V1CMPEQ, TILEGX_OPC_V1CMPLES, TILEGX_OPC_V1CMPLEU,
  1234. TILEGX_OPC_V1CMPLTS, TILEGX_OPC_V1CMPLTU, TILEGX_OPC_V1CMPNE,
  1235. TILEGX_OPC_V1DDOTPUSA, TILEGX_OPC_V1DDOTPUS, TILEGX_OPC_V1DOTPA,
  1236. BITFIELD(12, 4) /* index 720 */,
  1237. TILEGX_OPC_NONE, CHILD(737), CHILD(742), CHILD(747), CHILD(752), CHILD(757),
  1238. CHILD(762), CHILD(767), CHILD(772), CHILD(777), CHILD(782), CHILD(787),
  1239. CHILD(792), TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1240. BITFIELD(16, 2) /* index 737 */,
  1241. TILEGX_OPC_CLZ, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1242. BITFIELD(16, 2) /* index 742 */,
  1243. TILEGX_OPC_CTZ, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1244. BITFIELD(16, 2) /* index 747 */,
  1245. TILEGX_OPC_FNOP, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1246. BITFIELD(16, 2) /* index 752 */,
  1247. TILEGX_OPC_FSINGLE_PACK1, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1248. BITFIELD(16, 2) /* index 757 */,
  1249. TILEGX_OPC_NOP, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1250. BITFIELD(16, 2) /* index 762 */,
  1251. TILEGX_OPC_PCNT, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1252. BITFIELD(16, 2) /* index 767 */,
  1253. TILEGX_OPC_REVBITS, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1254. BITFIELD(16, 2) /* index 772 */,
  1255. TILEGX_OPC_REVBYTES, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1256. BITFIELD(16, 2) /* index 777 */,
  1257. TILEGX_OPC_TBLIDXB0, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1258. BITFIELD(16, 2) /* index 782 */,
  1259. TILEGX_OPC_TBLIDXB1, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1260. BITFIELD(16, 2) /* index 787 */,
  1261. TILEGX_OPC_TBLIDXB2, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1262. BITFIELD(16, 2) /* index 792 */,
  1263. TILEGX_OPC_TBLIDXB3, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1264. BITFIELD(18, 4) /* index 797 */,
  1265. TILEGX_OPC_V1DOTPUSA, TILEGX_OPC_V1DOTPUS, TILEGX_OPC_V1DOTP,
  1266. TILEGX_OPC_V1INT_H, TILEGX_OPC_V1INT_L, TILEGX_OPC_V1MAXU,
  1267. TILEGX_OPC_V1MINU, TILEGX_OPC_V1MNZ, TILEGX_OPC_V1MULTU, TILEGX_OPC_V1MULUS,
  1268. TILEGX_OPC_V1MULU, TILEGX_OPC_V1MZ, TILEGX_OPC_V1SADAU, TILEGX_OPC_V1SADU,
  1269. TILEGX_OPC_V1SHL, TILEGX_OPC_V1SHRS,
  1270. BITFIELD(18, 4) /* index 814 */,
  1271. TILEGX_OPC_V1SHRU, TILEGX_OPC_V1SUBUC, TILEGX_OPC_V1SUB, TILEGX_OPC_V2ADDSC,
  1272. TILEGX_OPC_V2ADD, TILEGX_OPC_V2ADIFFS, TILEGX_OPC_V2AVGS,
  1273. TILEGX_OPC_V2CMPEQ, TILEGX_OPC_V2CMPLES, TILEGX_OPC_V2CMPLEU,
  1274. TILEGX_OPC_V2CMPLTS, TILEGX_OPC_V2CMPLTU, TILEGX_OPC_V2CMPNE,
  1275. TILEGX_OPC_V2DOTPA, TILEGX_OPC_V2DOTP, TILEGX_OPC_V2INT_H,
  1276. BITFIELD(18, 4) /* index 831 */,
  1277. TILEGX_OPC_V2INT_L, TILEGX_OPC_V2MAXS, TILEGX_OPC_V2MINS, TILEGX_OPC_V2MNZ,
  1278. TILEGX_OPC_V2MULFSC, TILEGX_OPC_V2MULS, TILEGX_OPC_V2MULTS, TILEGX_OPC_V2MZ,
  1279. TILEGX_OPC_V2PACKH, TILEGX_OPC_V2PACKL, TILEGX_OPC_V2PACKUC,
  1280. TILEGX_OPC_V2SADAS, TILEGX_OPC_V2SADAU, TILEGX_OPC_V2SADS,
  1281. TILEGX_OPC_V2SADU, TILEGX_OPC_V2SHLSC,
  1282. BITFIELD(18, 4) /* index 848 */,
  1283. TILEGX_OPC_V2SHL, TILEGX_OPC_V2SHRS, TILEGX_OPC_V2SHRU, TILEGX_OPC_V2SUBSC,
  1284. TILEGX_OPC_V2SUB, TILEGX_OPC_V4ADDSC, TILEGX_OPC_V4ADD, TILEGX_OPC_V4INT_H,
  1285. TILEGX_OPC_V4INT_L, TILEGX_OPC_V4PACKSC, TILEGX_OPC_V4SHLSC,
  1286. TILEGX_OPC_V4SHL, TILEGX_OPC_V4SHRS, TILEGX_OPC_V4SHRU, TILEGX_OPC_V4SUBSC,
  1287. TILEGX_OPC_V4SUB,
  1288. BITFIELD(18, 3) /* index 865 */,
  1289. CHILD(874), CHILD(877), CHILD(880), CHILD(883), CHILD(886), TILEGX_OPC_NONE,
  1290. TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1291. BITFIELD(21, 1) /* index 874 */,
  1292. TILEGX_OPC_XOR, TILEGX_OPC_NONE,
  1293. BITFIELD(21, 1) /* index 877 */,
  1294. TILEGX_OPC_V1DDOTPUA, TILEGX_OPC_NONE,
  1295. BITFIELD(21, 1) /* index 880 */,
  1296. TILEGX_OPC_V1DDOTPU, TILEGX_OPC_NONE,
  1297. BITFIELD(21, 1) /* index 883 */,
  1298. TILEGX_OPC_V1DOTPUA, TILEGX_OPC_NONE,
  1299. BITFIELD(21, 1) /* index 886 */,
  1300. TILEGX_OPC_V1DOTPU, TILEGX_OPC_NONE,
  1301. BITFIELD(18, 4) /* index 889 */,
  1302. TILEGX_OPC_NONE, TILEGX_OPC_ROTLI, TILEGX_OPC_SHLI, TILEGX_OPC_SHLXI,
  1303. TILEGX_OPC_SHRSI, TILEGX_OPC_SHRUI, TILEGX_OPC_SHRUXI, TILEGX_OPC_V1SHLI,
  1304. TILEGX_OPC_V1SHRSI, TILEGX_OPC_V1SHRUI, TILEGX_OPC_V2SHLI,
  1305. TILEGX_OPC_V2SHRSI, TILEGX_OPC_V2SHRUI, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1306. TILEGX_OPC_NONE,
  1307. BITFIELD(0, 2) /* index 906 */,
  1308. TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI,
  1309. CHILD(911),
  1310. BITFIELD(2, 2) /* index 911 */,
  1311. TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI,
  1312. CHILD(916),
  1313. BITFIELD(4, 2) /* index 916 */,
  1314. TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI,
  1315. CHILD(921),
  1316. BITFIELD(6, 2) /* index 921 */,
  1317. TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI,
  1318. CHILD(926),
  1319. BITFIELD(8, 2) /* index 926 */,
  1320. TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI,
  1321. CHILD(931),
  1322. BITFIELD(10, 2) /* index 931 */,
  1323. TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI,
  1324. TILEGX_OPC_INFOL,
  1325. };
  1326. static const unsigned short decode_X1_fsm[1206] =
  1327. {
  1328. BITFIELD(53, 9) /* index 0 */,
  1329. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1330. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1331. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1332. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1333. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1334. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1335. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1336. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1337. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1338. CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513), CHILD(513),
  1339. CHILD(513), CHILD(513), CHILD(513), CHILD(513), TILEGX_OPC_ADDXLI,
  1340. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1341. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1342. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1343. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1344. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1345. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1346. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1347. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1348. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1349. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1350. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1351. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1352. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1353. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1354. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI,
  1355. TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_ADDXLI, TILEGX_OPC_NONE,
  1356. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1357. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1358. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1359. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1360. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1361. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1362. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1363. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_BEQZT,
  1364. TILEGX_OPC_BEQZT, TILEGX_OPC_BEQZ, TILEGX_OPC_BEQZ, TILEGX_OPC_BGEZT,
  1365. TILEGX_OPC_BGEZT, TILEGX_OPC_BGEZ, TILEGX_OPC_BGEZ, TILEGX_OPC_BGTZT,
  1366. TILEGX_OPC_BGTZT, TILEGX_OPC_BGTZ, TILEGX_OPC_BGTZ, TILEGX_OPC_BLBCT,
  1367. TILEGX_OPC_BLBCT, TILEGX_OPC_BLBC, TILEGX_OPC_BLBC, TILEGX_OPC_BLBST,
  1368. TILEGX_OPC_BLBST, TILEGX_OPC_BLBS, TILEGX_OPC_BLBS, TILEGX_OPC_BLEZT,
  1369. TILEGX_OPC_BLEZT, TILEGX_OPC_BLEZ, TILEGX_OPC_BLEZ, TILEGX_OPC_BLTZT,
  1370. TILEGX_OPC_BLTZT, TILEGX_OPC_BLTZ, TILEGX_OPC_BLTZ, TILEGX_OPC_BNEZT,
  1371. TILEGX_OPC_BNEZT, TILEGX_OPC_BNEZ, TILEGX_OPC_BNEZ, CHILD(528), CHILD(578),
  1372. CHILD(598), CHILD(663), CHILD(683), CHILD(688), CHILD(693), CHILD(698),
  1373. CHILD(703), CHILD(708), CHILD(713), CHILD(718), TILEGX_OPC_NONE,
  1374. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1375. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1376. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1377. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1378. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1379. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1380. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1381. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1382. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1383. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1384. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1385. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1386. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_JAL,
  1387. TILEGX_OPC_JAL, TILEGX_OPC_JAL, TILEGX_OPC_JAL, TILEGX_OPC_JAL,
  1388. TILEGX_OPC_JAL, TILEGX_OPC_JAL, TILEGX_OPC_JAL, TILEGX_OPC_JAL,
  1389. TILEGX_OPC_JAL, TILEGX_OPC_JAL, TILEGX_OPC_JAL, TILEGX_OPC_JAL,
  1390. TILEGX_OPC_JAL, TILEGX_OPC_JAL, TILEGX_OPC_JAL, TILEGX_OPC_JAL,
  1391. TILEGX_OPC_JAL, TILEGX_OPC_JAL, TILEGX_OPC_JAL, TILEGX_OPC_JAL,
  1392. TILEGX_OPC_JAL, TILEGX_OPC_JAL, TILEGX_OPC_JAL, TILEGX_OPC_JAL,
  1393. TILEGX_OPC_JAL, TILEGX_OPC_JAL, TILEGX_OPC_JAL, TILEGX_OPC_JAL,
  1394. TILEGX_OPC_JAL, TILEGX_OPC_JAL, TILEGX_OPC_JAL, TILEGX_OPC_J, TILEGX_OPC_J,
  1395. TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J,
  1396. TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J,
  1397. TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J,
  1398. TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J,
  1399. TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J,
  1400. TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J, TILEGX_OPC_J,
  1401. CHILD(723), CHILD(740), CHILD(772), CHILD(789), CHILD(1108), CHILD(1125),
  1402. CHILD(1142), TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1403. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1404. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1405. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1406. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1407. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1408. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1409. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1410. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1411. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1412. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1413. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1414. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1415. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1416. TILEGX_OPC_NONE, TILEGX_OPC_NONE, CHILD(1159), TILEGX_OPC_NONE,
  1417. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1418. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1419. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1420. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1421. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1422. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1423. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1424. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1425. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1426. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1427. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1428. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1429. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1430. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1431. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1432. TILEGX_OPC_NONE, TILEGX_OPC_NONE, CHILD(1176), CHILD(1176), CHILD(1176),
  1433. CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176),
  1434. CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176),
  1435. CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176),
  1436. CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176),
  1437. CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176),
  1438. CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176),
  1439. CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176),
  1440. CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176),
  1441. CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176),
  1442. CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176),
  1443. CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176),
  1444. CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176), CHILD(1176),
  1445. CHILD(1176),
  1446. BITFIELD(37, 2) /* index 513 */,
  1447. TILEGX_OPC_ADDLI, TILEGX_OPC_ADDLI, TILEGX_OPC_ADDLI, CHILD(518),
  1448. BITFIELD(39, 2) /* index 518 */,
  1449. TILEGX_OPC_ADDLI, TILEGX_OPC_ADDLI, TILEGX_OPC_ADDLI, CHILD(523),
  1450. BITFIELD(41, 2) /* index 523 */,
  1451. TILEGX_OPC_ADDLI, TILEGX_OPC_ADDLI, TILEGX_OPC_ADDLI, TILEGX_OPC_MOVELI,
  1452. BITFIELD(51, 2) /* index 528 */,
  1453. TILEGX_OPC_NONE, CHILD(533), TILEGX_OPC_ADDXI, CHILD(548),
  1454. BITFIELD(37, 2) /* index 533 */,
  1455. TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, CHILD(538),
  1456. BITFIELD(39, 2) /* index 538 */,
  1457. TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, CHILD(543),
  1458. BITFIELD(41, 2) /* index 543 */,
  1459. TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, TILEGX_OPC_MOVEI,
  1460. BITFIELD(31, 2) /* index 548 */,
  1461. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(553),
  1462. BITFIELD(33, 2) /* index 553 */,
  1463. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(558),
  1464. BITFIELD(35, 2) /* index 558 */,
  1465. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(563),
  1466. BITFIELD(37, 2) /* index 563 */,
  1467. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(568),
  1468. BITFIELD(39, 2) /* index 568 */,
  1469. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(573),
  1470. BITFIELD(41, 2) /* index 573 */,
  1471. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_INFO,
  1472. BITFIELD(51, 2) /* index 578 */,
  1473. TILEGX_OPC_CMPEQI, TILEGX_OPC_CMPLTSI, TILEGX_OPC_CMPLTUI, CHILD(583),
  1474. BITFIELD(31, 2) /* index 583 */,
  1475. TILEGX_OPC_LD1S_ADD, TILEGX_OPC_LD1S_ADD, TILEGX_OPC_LD1S_ADD, CHILD(588),
  1476. BITFIELD(33, 2) /* index 588 */,
  1477. TILEGX_OPC_LD1S_ADD, TILEGX_OPC_LD1S_ADD, TILEGX_OPC_LD1S_ADD, CHILD(593),
  1478. BITFIELD(35, 2) /* index 593 */,
  1479. TILEGX_OPC_LD1S_ADD, TILEGX_OPC_LD1S_ADD, TILEGX_OPC_LD1S_ADD,
  1480. TILEGX_OPC_PREFETCH_ADD_L1_FAULT,
  1481. BITFIELD(51, 2) /* index 598 */,
  1482. CHILD(603), CHILD(618), CHILD(633), CHILD(648),
  1483. BITFIELD(31, 2) /* index 603 */,
  1484. TILEGX_OPC_LD1U_ADD, TILEGX_OPC_LD1U_ADD, TILEGX_OPC_LD1U_ADD, CHILD(608),
  1485. BITFIELD(33, 2) /* index 608 */,
  1486. TILEGX_OPC_LD1U_ADD, TILEGX_OPC_LD1U_ADD, TILEGX_OPC_LD1U_ADD, CHILD(613),
  1487. BITFIELD(35, 2) /* index 613 */,
  1488. TILEGX_OPC_LD1U_ADD, TILEGX_OPC_LD1U_ADD, TILEGX_OPC_LD1U_ADD,
  1489. TILEGX_OPC_PREFETCH_ADD_L1,
  1490. BITFIELD(31, 2) /* index 618 */,
  1491. TILEGX_OPC_LD2S_ADD, TILEGX_OPC_LD2S_ADD, TILEGX_OPC_LD2S_ADD, CHILD(623),
  1492. BITFIELD(33, 2) /* index 623 */,
  1493. TILEGX_OPC_LD2S_ADD, TILEGX_OPC_LD2S_ADD, TILEGX_OPC_LD2S_ADD, CHILD(628),
  1494. BITFIELD(35, 2) /* index 628 */,
  1495. TILEGX_OPC_LD2S_ADD, TILEGX_OPC_LD2S_ADD, TILEGX_OPC_LD2S_ADD,
  1496. TILEGX_OPC_PREFETCH_ADD_L2_FAULT,
  1497. BITFIELD(31, 2) /* index 633 */,
  1498. TILEGX_OPC_LD2U_ADD, TILEGX_OPC_LD2U_ADD, TILEGX_OPC_LD2U_ADD, CHILD(638),
  1499. BITFIELD(33, 2) /* index 638 */,
  1500. TILEGX_OPC_LD2U_ADD, TILEGX_OPC_LD2U_ADD, TILEGX_OPC_LD2U_ADD, CHILD(643),
  1501. BITFIELD(35, 2) /* index 643 */,
  1502. TILEGX_OPC_LD2U_ADD, TILEGX_OPC_LD2U_ADD, TILEGX_OPC_LD2U_ADD,
  1503. TILEGX_OPC_PREFETCH_ADD_L2,
  1504. BITFIELD(31, 2) /* index 648 */,
  1505. TILEGX_OPC_LD4S_ADD, TILEGX_OPC_LD4S_ADD, TILEGX_OPC_LD4S_ADD, CHILD(653),
  1506. BITFIELD(33, 2) /* index 653 */,
  1507. TILEGX_OPC_LD4S_ADD, TILEGX_OPC_LD4S_ADD, TILEGX_OPC_LD4S_ADD, CHILD(658),
  1508. BITFIELD(35, 2) /* index 658 */,
  1509. TILEGX_OPC_LD4S_ADD, TILEGX_OPC_LD4S_ADD, TILEGX_OPC_LD4S_ADD,
  1510. TILEGX_OPC_PREFETCH_ADD_L3_FAULT,
  1511. BITFIELD(51, 2) /* index 663 */,
  1512. CHILD(668), TILEGX_OPC_LDNT1S_ADD, TILEGX_OPC_LDNT1U_ADD,
  1513. TILEGX_OPC_LDNT2S_ADD,
  1514. BITFIELD(31, 2) /* index 668 */,
  1515. TILEGX_OPC_LD4U_ADD, TILEGX_OPC_LD4U_ADD, TILEGX_OPC_LD4U_ADD, CHILD(673),
  1516. BITFIELD(33, 2) /* index 673 */,
  1517. TILEGX_OPC_LD4U_ADD, TILEGX_OPC_LD4U_ADD, TILEGX_OPC_LD4U_ADD, CHILD(678),
  1518. BITFIELD(35, 2) /* index 678 */,
  1519. TILEGX_OPC_LD4U_ADD, TILEGX_OPC_LD4U_ADD, TILEGX_OPC_LD4U_ADD,
  1520. TILEGX_OPC_PREFETCH_ADD_L3,
  1521. BITFIELD(51, 2) /* index 683 */,
  1522. TILEGX_OPC_LDNT2U_ADD, TILEGX_OPC_LDNT4S_ADD, TILEGX_OPC_LDNT4U_ADD,
  1523. TILEGX_OPC_LDNT_ADD,
  1524. BITFIELD(51, 2) /* index 688 */,
  1525. TILEGX_OPC_LD_ADD, TILEGX_OPC_LDNA_ADD, TILEGX_OPC_MFSPR, TILEGX_OPC_MTSPR,
  1526. BITFIELD(51, 2) /* index 693 */,
  1527. TILEGX_OPC_ORI, TILEGX_OPC_ST1_ADD, TILEGX_OPC_ST2_ADD, TILEGX_OPC_ST4_ADD,
  1528. BITFIELD(51, 2) /* index 698 */,
  1529. TILEGX_OPC_STNT1_ADD, TILEGX_OPC_STNT2_ADD, TILEGX_OPC_STNT4_ADD,
  1530. TILEGX_OPC_STNT_ADD,
  1531. BITFIELD(51, 2) /* index 703 */,
  1532. TILEGX_OPC_ST_ADD, TILEGX_OPC_V1ADDI, TILEGX_OPC_V1CMPEQI,
  1533. TILEGX_OPC_V1CMPLTSI,
  1534. BITFIELD(51, 2) /* index 708 */,
  1535. TILEGX_OPC_V1CMPLTUI, TILEGX_OPC_V1MAXUI, TILEGX_OPC_V1MINUI,
  1536. TILEGX_OPC_V2ADDI,
  1537. BITFIELD(51, 2) /* index 713 */,
  1538. TILEGX_OPC_V2CMPEQI, TILEGX_OPC_V2CMPLTSI, TILEGX_OPC_V2CMPLTUI,
  1539. TILEGX_OPC_V2MAXSI,
  1540. BITFIELD(51, 2) /* index 718 */,
  1541. TILEGX_OPC_V2MINSI, TILEGX_OPC_XORI, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1542. BITFIELD(49, 4) /* index 723 */,
  1543. TILEGX_OPC_NONE, TILEGX_OPC_ADDXSC, TILEGX_OPC_ADDX, TILEGX_OPC_ADD,
  1544. TILEGX_OPC_AND, TILEGX_OPC_CMPEQ, TILEGX_OPC_CMPEXCH4, TILEGX_OPC_CMPEXCH,
  1545. TILEGX_OPC_CMPLES, TILEGX_OPC_CMPLEU, TILEGX_OPC_CMPLTS, TILEGX_OPC_CMPLTU,
  1546. TILEGX_OPC_CMPNE, TILEGX_OPC_DBLALIGN2, TILEGX_OPC_DBLALIGN4,
  1547. TILEGX_OPC_DBLALIGN6,
  1548. BITFIELD(49, 4) /* index 740 */,
  1549. TILEGX_OPC_EXCH4, TILEGX_OPC_EXCH, TILEGX_OPC_FETCHADD4,
  1550. TILEGX_OPC_FETCHADDGEZ4, TILEGX_OPC_FETCHADDGEZ, TILEGX_OPC_FETCHADD,
  1551. TILEGX_OPC_FETCHAND4, TILEGX_OPC_FETCHAND, TILEGX_OPC_FETCHOR4,
  1552. TILEGX_OPC_FETCHOR, TILEGX_OPC_MNZ, TILEGX_OPC_MZ, TILEGX_OPC_NOR,
  1553. CHILD(757), TILEGX_OPC_ROTL, TILEGX_OPC_SHL1ADDX,
  1554. BITFIELD(43, 2) /* index 757 */,
  1555. TILEGX_OPC_OR, TILEGX_OPC_OR, TILEGX_OPC_OR, CHILD(762),
  1556. BITFIELD(45, 2) /* index 762 */,
  1557. TILEGX_OPC_OR, TILEGX_OPC_OR, TILEGX_OPC_OR, CHILD(767),
  1558. BITFIELD(47, 2) /* index 767 */,
  1559. TILEGX_OPC_OR, TILEGX_OPC_OR, TILEGX_OPC_OR, TILEGX_OPC_MOVE,
  1560. BITFIELD(49, 4) /* index 772 */,
  1561. TILEGX_OPC_SHL1ADD, TILEGX_OPC_SHL2ADDX, TILEGX_OPC_SHL2ADD,
  1562. TILEGX_OPC_SHL3ADDX, TILEGX_OPC_SHL3ADD, TILEGX_OPC_SHLX, TILEGX_OPC_SHL,
  1563. TILEGX_OPC_SHRS, TILEGX_OPC_SHRUX, TILEGX_OPC_SHRU, TILEGX_OPC_ST1,
  1564. TILEGX_OPC_ST2, TILEGX_OPC_ST4, TILEGX_OPC_STNT1, TILEGX_OPC_STNT2,
  1565. TILEGX_OPC_STNT4,
  1566. BITFIELD(46, 7) /* index 789 */,
  1567. TILEGX_OPC_STNT, TILEGX_OPC_STNT, TILEGX_OPC_STNT, TILEGX_OPC_STNT,
  1568. TILEGX_OPC_STNT, TILEGX_OPC_STNT, TILEGX_OPC_STNT, TILEGX_OPC_STNT,
  1569. TILEGX_OPC_ST, TILEGX_OPC_ST, TILEGX_OPC_ST, TILEGX_OPC_ST, TILEGX_OPC_ST,
  1570. TILEGX_OPC_ST, TILEGX_OPC_ST, TILEGX_OPC_ST, TILEGX_OPC_SUBXSC,
  1571. TILEGX_OPC_SUBXSC, TILEGX_OPC_SUBXSC, TILEGX_OPC_SUBXSC, TILEGX_OPC_SUBXSC,
  1572. TILEGX_OPC_SUBXSC, TILEGX_OPC_SUBXSC, TILEGX_OPC_SUBXSC, TILEGX_OPC_SUBX,
  1573. TILEGX_OPC_SUBX, TILEGX_OPC_SUBX, TILEGX_OPC_SUBX, TILEGX_OPC_SUBX,
  1574. TILEGX_OPC_SUBX, TILEGX_OPC_SUBX, TILEGX_OPC_SUBX, TILEGX_OPC_SUB,
  1575. TILEGX_OPC_SUB, TILEGX_OPC_SUB, TILEGX_OPC_SUB, TILEGX_OPC_SUB,
  1576. TILEGX_OPC_SUB, TILEGX_OPC_SUB, TILEGX_OPC_SUB, CHILD(918), CHILD(927),
  1577. CHILD(1006), CHILD(1090), CHILD(1099), TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1578. TILEGX_OPC_NONE, TILEGX_OPC_V1ADDUC, TILEGX_OPC_V1ADDUC, TILEGX_OPC_V1ADDUC,
  1579. TILEGX_OPC_V1ADDUC, TILEGX_OPC_V1ADDUC, TILEGX_OPC_V1ADDUC,
  1580. TILEGX_OPC_V1ADDUC, TILEGX_OPC_V1ADDUC, TILEGX_OPC_V1ADD, TILEGX_OPC_V1ADD,
  1581. TILEGX_OPC_V1ADD, TILEGX_OPC_V1ADD, TILEGX_OPC_V1ADD, TILEGX_OPC_V1ADD,
  1582. TILEGX_OPC_V1ADD, TILEGX_OPC_V1ADD, TILEGX_OPC_V1CMPEQ, TILEGX_OPC_V1CMPEQ,
  1583. TILEGX_OPC_V1CMPEQ, TILEGX_OPC_V1CMPEQ, TILEGX_OPC_V1CMPEQ,
  1584. TILEGX_OPC_V1CMPEQ, TILEGX_OPC_V1CMPEQ, TILEGX_OPC_V1CMPEQ,
  1585. TILEGX_OPC_V1CMPLES, TILEGX_OPC_V1CMPLES, TILEGX_OPC_V1CMPLES,
  1586. TILEGX_OPC_V1CMPLES, TILEGX_OPC_V1CMPLES, TILEGX_OPC_V1CMPLES,
  1587. TILEGX_OPC_V1CMPLES, TILEGX_OPC_V1CMPLES, TILEGX_OPC_V1CMPLEU,
  1588. TILEGX_OPC_V1CMPLEU, TILEGX_OPC_V1CMPLEU, TILEGX_OPC_V1CMPLEU,
  1589. TILEGX_OPC_V1CMPLEU, TILEGX_OPC_V1CMPLEU, TILEGX_OPC_V1CMPLEU,
  1590. TILEGX_OPC_V1CMPLEU, TILEGX_OPC_V1CMPLTS, TILEGX_OPC_V1CMPLTS,
  1591. TILEGX_OPC_V1CMPLTS, TILEGX_OPC_V1CMPLTS, TILEGX_OPC_V1CMPLTS,
  1592. TILEGX_OPC_V1CMPLTS, TILEGX_OPC_V1CMPLTS, TILEGX_OPC_V1CMPLTS,
  1593. TILEGX_OPC_V1CMPLTU, TILEGX_OPC_V1CMPLTU, TILEGX_OPC_V1CMPLTU,
  1594. TILEGX_OPC_V1CMPLTU, TILEGX_OPC_V1CMPLTU, TILEGX_OPC_V1CMPLTU,
  1595. TILEGX_OPC_V1CMPLTU, TILEGX_OPC_V1CMPLTU, TILEGX_OPC_V1CMPNE,
  1596. TILEGX_OPC_V1CMPNE, TILEGX_OPC_V1CMPNE, TILEGX_OPC_V1CMPNE,
  1597. TILEGX_OPC_V1CMPNE, TILEGX_OPC_V1CMPNE, TILEGX_OPC_V1CMPNE,
  1598. TILEGX_OPC_V1CMPNE, TILEGX_OPC_V1INT_H, TILEGX_OPC_V1INT_H,
  1599. TILEGX_OPC_V1INT_H, TILEGX_OPC_V1INT_H, TILEGX_OPC_V1INT_H,
  1600. TILEGX_OPC_V1INT_H, TILEGX_OPC_V1INT_H, TILEGX_OPC_V1INT_H,
  1601. TILEGX_OPC_V1INT_L, TILEGX_OPC_V1INT_L, TILEGX_OPC_V1INT_L,
  1602. TILEGX_OPC_V1INT_L, TILEGX_OPC_V1INT_L, TILEGX_OPC_V1INT_L,
  1603. TILEGX_OPC_V1INT_L, TILEGX_OPC_V1INT_L,
  1604. BITFIELD(43, 3) /* index 918 */,
  1605. TILEGX_OPC_NONE, TILEGX_OPC_DRAIN, TILEGX_OPC_DTLBPR, TILEGX_OPC_FINV,
  1606. TILEGX_OPC_FLUSHWB, TILEGX_OPC_FLUSH, TILEGX_OPC_FNOP, TILEGX_OPC_ICOH,
  1607. BITFIELD(43, 3) /* index 927 */,
  1608. CHILD(936), TILEGX_OPC_INV, TILEGX_OPC_IRET, TILEGX_OPC_JALRP,
  1609. TILEGX_OPC_JALR, TILEGX_OPC_JRP, TILEGX_OPC_JR, CHILD(991),
  1610. BITFIELD(31, 2) /* index 936 */,
  1611. CHILD(941), CHILD(966), TILEGX_OPC_ILL, TILEGX_OPC_ILL,
  1612. BITFIELD(33, 2) /* index 941 */,
  1613. TILEGX_OPC_ILL, TILEGX_OPC_ILL, TILEGX_OPC_ILL, CHILD(946),
  1614. BITFIELD(35, 2) /* index 946 */,
  1615. TILEGX_OPC_ILL, CHILD(951), TILEGX_OPC_ILL, TILEGX_OPC_ILL,
  1616. BITFIELD(37, 2) /* index 951 */,
  1617. TILEGX_OPC_ILL, CHILD(956), TILEGX_OPC_ILL, TILEGX_OPC_ILL,
  1618. BITFIELD(39, 2) /* index 956 */,
  1619. TILEGX_OPC_ILL, CHILD(961), TILEGX_OPC_ILL, TILEGX_OPC_ILL,
  1620. BITFIELD(41, 2) /* index 961 */,
  1621. TILEGX_OPC_ILL, TILEGX_OPC_ILL, TILEGX_OPC_BPT, TILEGX_OPC_ILL,
  1622. BITFIELD(33, 2) /* index 966 */,
  1623. TILEGX_OPC_ILL, TILEGX_OPC_ILL, TILEGX_OPC_ILL, CHILD(971),
  1624. BITFIELD(35, 2) /* index 971 */,
  1625. TILEGX_OPC_ILL, CHILD(976), TILEGX_OPC_ILL, TILEGX_OPC_ILL,
  1626. BITFIELD(37, 2) /* index 976 */,
  1627. TILEGX_OPC_ILL, CHILD(981), TILEGX_OPC_ILL, TILEGX_OPC_ILL,
  1628. BITFIELD(39, 2) /* index 981 */,
  1629. TILEGX_OPC_ILL, CHILD(986), TILEGX_OPC_ILL, TILEGX_OPC_ILL,
  1630. BITFIELD(41, 2) /* index 986 */,
  1631. TILEGX_OPC_ILL, TILEGX_OPC_ILL, TILEGX_OPC_RAISE, TILEGX_OPC_ILL,
  1632. BITFIELD(31, 2) /* index 991 */,
  1633. TILEGX_OPC_LD1S, TILEGX_OPC_LD1S, TILEGX_OPC_LD1S, CHILD(996),
  1634. BITFIELD(33, 2) /* index 996 */,
  1635. TILEGX_OPC_LD1S, TILEGX_OPC_LD1S, TILEGX_OPC_LD1S, CHILD(1001),
  1636. BITFIELD(35, 2) /* index 1001 */,
  1637. TILEGX_OPC_LD1S, TILEGX_OPC_LD1S, TILEGX_OPC_LD1S,
  1638. TILEGX_OPC_PREFETCH_L1_FAULT,
  1639. BITFIELD(43, 3) /* index 1006 */,
  1640. CHILD(1015), CHILD(1030), CHILD(1045), CHILD(1060), CHILD(1075),
  1641. TILEGX_OPC_LDNA, TILEGX_OPC_LDNT1S, TILEGX_OPC_LDNT1U,
  1642. BITFIELD(31, 2) /* index 1015 */,
  1643. TILEGX_OPC_LD1U, TILEGX_OPC_LD1U, TILEGX_OPC_LD1U, CHILD(1020),
  1644. BITFIELD(33, 2) /* index 1020 */,
  1645. TILEGX_OPC_LD1U, TILEGX_OPC_LD1U, TILEGX_OPC_LD1U, CHILD(1025),
  1646. BITFIELD(35, 2) /* index 1025 */,
  1647. TILEGX_OPC_LD1U, TILEGX_OPC_LD1U, TILEGX_OPC_LD1U, TILEGX_OPC_PREFETCH,
  1648. BITFIELD(31, 2) /* index 1030 */,
  1649. TILEGX_OPC_LD2S, TILEGX_OPC_LD2S, TILEGX_OPC_LD2S, CHILD(1035),
  1650. BITFIELD(33, 2) /* index 1035 */,
  1651. TILEGX_OPC_LD2S, TILEGX_OPC_LD2S, TILEGX_OPC_LD2S, CHILD(1040),
  1652. BITFIELD(35, 2) /* index 1040 */,
  1653. TILEGX_OPC_LD2S, TILEGX_OPC_LD2S, TILEGX_OPC_LD2S,
  1654. TILEGX_OPC_PREFETCH_L2_FAULT,
  1655. BITFIELD(31, 2) /* index 1045 */,
  1656. TILEGX_OPC_LD2U, TILEGX_OPC_LD2U, TILEGX_OPC_LD2U, CHILD(1050),
  1657. BITFIELD(33, 2) /* index 1050 */,
  1658. TILEGX_OPC_LD2U, TILEGX_OPC_LD2U, TILEGX_OPC_LD2U, CHILD(1055),
  1659. BITFIELD(35, 2) /* index 1055 */,
  1660. TILEGX_OPC_LD2U, TILEGX_OPC_LD2U, TILEGX_OPC_LD2U, TILEGX_OPC_PREFETCH_L2,
  1661. BITFIELD(31, 2) /* index 1060 */,
  1662. TILEGX_OPC_LD4S, TILEGX_OPC_LD4S, TILEGX_OPC_LD4S, CHILD(1065),
  1663. BITFIELD(33, 2) /* index 1065 */,
  1664. TILEGX_OPC_LD4S, TILEGX_OPC_LD4S, TILEGX_OPC_LD4S, CHILD(1070),
  1665. BITFIELD(35, 2) /* index 1070 */,
  1666. TILEGX_OPC_LD4S, TILEGX_OPC_LD4S, TILEGX_OPC_LD4S,
  1667. TILEGX_OPC_PREFETCH_L3_FAULT,
  1668. BITFIELD(31, 2) /* index 1075 */,
  1669. TILEGX_OPC_LD4U, TILEGX_OPC_LD4U, TILEGX_OPC_LD4U, CHILD(1080),
  1670. BITFIELD(33, 2) /* index 1080 */,
  1671. TILEGX_OPC_LD4U, TILEGX_OPC_LD4U, TILEGX_OPC_LD4U, CHILD(1085),
  1672. BITFIELD(35, 2) /* index 1085 */,
  1673. TILEGX_OPC_LD4U, TILEGX_OPC_LD4U, TILEGX_OPC_LD4U, TILEGX_OPC_PREFETCH_L3,
  1674. BITFIELD(43, 3) /* index 1090 */,
  1675. TILEGX_OPC_LDNT2S, TILEGX_OPC_LDNT2U, TILEGX_OPC_LDNT4S, TILEGX_OPC_LDNT4U,
  1676. TILEGX_OPC_LDNT, TILEGX_OPC_LD, TILEGX_OPC_LNK, TILEGX_OPC_MF,
  1677. BITFIELD(43, 3) /* index 1099 */,
  1678. TILEGX_OPC_NAP, TILEGX_OPC_NOP, TILEGX_OPC_SWINT0, TILEGX_OPC_SWINT1,
  1679. TILEGX_OPC_SWINT2, TILEGX_OPC_SWINT3, TILEGX_OPC_WH64, TILEGX_OPC_NONE,
  1680. BITFIELD(49, 4) /* index 1108 */,
  1681. TILEGX_OPC_V1MAXU, TILEGX_OPC_V1MINU, TILEGX_OPC_V1MNZ, TILEGX_OPC_V1MZ,
  1682. TILEGX_OPC_V1SHL, TILEGX_OPC_V1SHRS, TILEGX_OPC_V1SHRU, TILEGX_OPC_V1SUBUC,
  1683. TILEGX_OPC_V1SUB, TILEGX_OPC_V2ADDSC, TILEGX_OPC_V2ADD, TILEGX_OPC_V2CMPEQ,
  1684. TILEGX_OPC_V2CMPLES, TILEGX_OPC_V2CMPLEU, TILEGX_OPC_V2CMPLTS,
  1685. TILEGX_OPC_V2CMPLTU,
  1686. BITFIELD(49, 4) /* index 1125 */,
  1687. TILEGX_OPC_V2CMPNE, TILEGX_OPC_V2INT_H, TILEGX_OPC_V2INT_L,
  1688. TILEGX_OPC_V2MAXS, TILEGX_OPC_V2MINS, TILEGX_OPC_V2MNZ, TILEGX_OPC_V2MZ,
  1689. TILEGX_OPC_V2PACKH, TILEGX_OPC_V2PACKL, TILEGX_OPC_V2PACKUC,
  1690. TILEGX_OPC_V2SHLSC, TILEGX_OPC_V2SHL, TILEGX_OPC_V2SHRS, TILEGX_OPC_V2SHRU,
  1691. TILEGX_OPC_V2SUBSC, TILEGX_OPC_V2SUB,
  1692. BITFIELD(49, 4) /* index 1142 */,
  1693. TILEGX_OPC_V4ADDSC, TILEGX_OPC_V4ADD, TILEGX_OPC_V4INT_H,
  1694. TILEGX_OPC_V4INT_L, TILEGX_OPC_V4PACKSC, TILEGX_OPC_V4SHLSC,
  1695. TILEGX_OPC_V4SHL, TILEGX_OPC_V4SHRS, TILEGX_OPC_V4SHRU, TILEGX_OPC_V4SUBSC,
  1696. TILEGX_OPC_V4SUB, TILEGX_OPC_XOR, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1697. TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1698. BITFIELD(49, 4) /* index 1159 */,
  1699. TILEGX_OPC_NONE, TILEGX_OPC_ROTLI, TILEGX_OPC_SHLI, TILEGX_OPC_SHLXI,
  1700. TILEGX_OPC_SHRSI, TILEGX_OPC_SHRUI, TILEGX_OPC_SHRUXI, TILEGX_OPC_V1SHLI,
  1701. TILEGX_OPC_V1SHRSI, TILEGX_OPC_V1SHRUI, TILEGX_OPC_V2SHLI,
  1702. TILEGX_OPC_V2SHRSI, TILEGX_OPC_V2SHRUI, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1703. TILEGX_OPC_NONE,
  1704. BITFIELD(31, 2) /* index 1176 */,
  1705. TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI,
  1706. CHILD(1181),
  1707. BITFIELD(33, 2) /* index 1181 */,
  1708. TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI,
  1709. CHILD(1186),
  1710. BITFIELD(35, 2) /* index 1186 */,
  1711. TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI,
  1712. CHILD(1191),
  1713. BITFIELD(37, 2) /* index 1191 */,
  1714. TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI,
  1715. CHILD(1196),
  1716. BITFIELD(39, 2) /* index 1196 */,
  1717. TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI,
  1718. CHILD(1201),
  1719. BITFIELD(41, 2) /* index 1201 */,
  1720. TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI, TILEGX_OPC_SHL16INSLI,
  1721. TILEGX_OPC_INFOL,
  1722. };
  1723. static const unsigned short decode_Y0_fsm[178] =
  1724. {
  1725. BITFIELD(27, 4) /* index 0 */,
  1726. CHILD(17), TILEGX_OPC_ADDXI, CHILD(32), TILEGX_OPC_CMPEQI,
  1727. TILEGX_OPC_CMPLTSI, CHILD(62), CHILD(67), CHILD(118), CHILD(123),
  1728. CHILD(128), CHILD(133), CHILD(153), CHILD(158), CHILD(163), CHILD(168),
  1729. CHILD(173),
  1730. BITFIELD(6, 2) /* index 17 */,
  1731. TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, CHILD(22),
  1732. BITFIELD(8, 2) /* index 22 */,
  1733. TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, CHILD(27),
  1734. BITFIELD(10, 2) /* index 27 */,
  1735. TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, TILEGX_OPC_MOVEI,
  1736. BITFIELD(0, 2) /* index 32 */,
  1737. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(37),
  1738. BITFIELD(2, 2) /* index 37 */,
  1739. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(42),
  1740. BITFIELD(4, 2) /* index 42 */,
  1741. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(47),
  1742. BITFIELD(6, 2) /* index 47 */,
  1743. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(52),
  1744. BITFIELD(8, 2) /* index 52 */,
  1745. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(57),
  1746. BITFIELD(10, 2) /* index 57 */,
  1747. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_INFO,
  1748. BITFIELD(18, 2) /* index 62 */,
  1749. TILEGX_OPC_ADDX, TILEGX_OPC_ADD, TILEGX_OPC_SUBX, TILEGX_OPC_SUB,
  1750. BITFIELD(15, 5) /* index 67 */,
  1751. TILEGX_OPC_SHL1ADD, TILEGX_OPC_SHL1ADD, TILEGX_OPC_SHL1ADD,
  1752. TILEGX_OPC_SHL1ADD, TILEGX_OPC_SHL1ADD, TILEGX_OPC_SHL1ADD,
  1753. TILEGX_OPC_SHL1ADD, TILEGX_OPC_SHL1ADD, TILEGX_OPC_SHL2ADD,
  1754. TILEGX_OPC_SHL2ADD, TILEGX_OPC_SHL2ADD, TILEGX_OPC_SHL2ADD,
  1755. TILEGX_OPC_SHL2ADD, TILEGX_OPC_SHL2ADD, TILEGX_OPC_SHL2ADD,
  1756. TILEGX_OPC_SHL2ADD, TILEGX_OPC_SHL3ADD, TILEGX_OPC_SHL3ADD,
  1757. TILEGX_OPC_SHL3ADD, TILEGX_OPC_SHL3ADD, TILEGX_OPC_SHL3ADD,
  1758. TILEGX_OPC_SHL3ADD, TILEGX_OPC_SHL3ADD, TILEGX_OPC_SHL3ADD, CHILD(100),
  1759. CHILD(109), TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1760. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1761. BITFIELD(12, 3) /* index 100 */,
  1762. TILEGX_OPC_NONE, TILEGX_OPC_CLZ, TILEGX_OPC_CTZ, TILEGX_OPC_FNOP,
  1763. TILEGX_OPC_FSINGLE_PACK1, TILEGX_OPC_NOP, TILEGX_OPC_PCNT,
  1764. TILEGX_OPC_REVBITS,
  1765. BITFIELD(12, 3) /* index 109 */,
  1766. TILEGX_OPC_REVBYTES, TILEGX_OPC_TBLIDXB0, TILEGX_OPC_TBLIDXB1,
  1767. TILEGX_OPC_TBLIDXB2, TILEGX_OPC_TBLIDXB3, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1768. TILEGX_OPC_NONE,
  1769. BITFIELD(18, 2) /* index 118 */,
  1770. TILEGX_OPC_CMPLES, TILEGX_OPC_CMPLEU, TILEGX_OPC_CMPLTS, TILEGX_OPC_CMPLTU,
  1771. BITFIELD(18, 2) /* index 123 */,
  1772. TILEGX_OPC_CMPEQ, TILEGX_OPC_CMPNE, TILEGX_OPC_MULAX, TILEGX_OPC_MULX,
  1773. BITFIELD(18, 2) /* index 128 */,
  1774. TILEGX_OPC_CMOVEQZ, TILEGX_OPC_CMOVNEZ, TILEGX_OPC_MNZ, TILEGX_OPC_MZ,
  1775. BITFIELD(18, 2) /* index 133 */,
  1776. TILEGX_OPC_AND, TILEGX_OPC_NOR, CHILD(138), TILEGX_OPC_XOR,
  1777. BITFIELD(12, 2) /* index 138 */,
  1778. TILEGX_OPC_OR, TILEGX_OPC_OR, TILEGX_OPC_OR, CHILD(143),
  1779. BITFIELD(14, 2) /* index 143 */,
  1780. TILEGX_OPC_OR, TILEGX_OPC_OR, TILEGX_OPC_OR, CHILD(148),
  1781. BITFIELD(16, 2) /* index 148 */,
  1782. TILEGX_OPC_OR, TILEGX_OPC_OR, TILEGX_OPC_OR, TILEGX_OPC_MOVE,
  1783. BITFIELD(18, 2) /* index 153 */,
  1784. TILEGX_OPC_ROTL, TILEGX_OPC_SHL, TILEGX_OPC_SHRS, TILEGX_OPC_SHRU,
  1785. BITFIELD(18, 2) /* index 158 */,
  1786. TILEGX_OPC_NONE, TILEGX_OPC_SHL1ADDX, TILEGX_OPC_SHL2ADDX,
  1787. TILEGX_OPC_SHL3ADDX,
  1788. BITFIELD(18, 2) /* index 163 */,
  1789. TILEGX_OPC_MUL_HS_HS, TILEGX_OPC_MUL_HU_HU, TILEGX_OPC_MUL_LS_LS,
  1790. TILEGX_OPC_MUL_LU_LU,
  1791. BITFIELD(18, 2) /* index 168 */,
  1792. TILEGX_OPC_MULA_HS_HS, TILEGX_OPC_MULA_HU_HU, TILEGX_OPC_MULA_LS_LS,
  1793. TILEGX_OPC_MULA_LU_LU,
  1794. BITFIELD(18, 2) /* index 173 */,
  1795. TILEGX_OPC_ROTLI, TILEGX_OPC_SHLI, TILEGX_OPC_SHRSI, TILEGX_OPC_SHRUI,
  1796. };
  1797. static const unsigned short decode_Y1_fsm[167] =
  1798. {
  1799. BITFIELD(58, 4) /* index 0 */,
  1800. TILEGX_OPC_NONE, CHILD(17), TILEGX_OPC_ADDXI, CHILD(32), TILEGX_OPC_CMPEQI,
  1801. TILEGX_OPC_CMPLTSI, CHILD(62), CHILD(67), CHILD(117), CHILD(122),
  1802. CHILD(127), CHILD(132), CHILD(152), CHILD(157), CHILD(162), TILEGX_OPC_NONE,
  1803. BITFIELD(37, 2) /* index 17 */,
  1804. TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, CHILD(22),
  1805. BITFIELD(39, 2) /* index 22 */,
  1806. TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, CHILD(27),
  1807. BITFIELD(41, 2) /* index 27 */,
  1808. TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, TILEGX_OPC_ADDI, TILEGX_OPC_MOVEI,
  1809. BITFIELD(31, 2) /* index 32 */,
  1810. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(37),
  1811. BITFIELD(33, 2) /* index 37 */,
  1812. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(42),
  1813. BITFIELD(35, 2) /* index 42 */,
  1814. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(47),
  1815. BITFIELD(37, 2) /* index 47 */,
  1816. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(52),
  1817. BITFIELD(39, 2) /* index 52 */,
  1818. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, CHILD(57),
  1819. BITFIELD(41, 2) /* index 57 */,
  1820. TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_ANDI, TILEGX_OPC_INFO,
  1821. BITFIELD(49, 2) /* index 62 */,
  1822. TILEGX_OPC_ADDX, TILEGX_OPC_ADD, TILEGX_OPC_SUBX, TILEGX_OPC_SUB,
  1823. BITFIELD(47, 4) /* index 67 */,
  1824. TILEGX_OPC_SHL1ADD, TILEGX_OPC_SHL1ADD, TILEGX_OPC_SHL1ADD,
  1825. TILEGX_OPC_SHL1ADD, TILEGX_OPC_SHL2ADD, TILEGX_OPC_SHL2ADD,
  1826. TILEGX_OPC_SHL2ADD, TILEGX_OPC_SHL2ADD, TILEGX_OPC_SHL3ADD,
  1827. TILEGX_OPC_SHL3ADD, TILEGX_OPC_SHL3ADD, TILEGX_OPC_SHL3ADD, CHILD(84),
  1828. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_NONE,
  1829. BITFIELD(43, 3) /* index 84 */,
  1830. CHILD(93), CHILD(96), CHILD(99), CHILD(102), CHILD(105), CHILD(108),
  1831. CHILD(111), CHILD(114),
  1832. BITFIELD(46, 1) /* index 93 */,
  1833. TILEGX_OPC_NONE, TILEGX_OPC_FNOP,
  1834. BITFIELD(46, 1) /* index 96 */,
  1835. TILEGX_OPC_NONE, TILEGX_OPC_ILL,
  1836. BITFIELD(46, 1) /* index 99 */,
  1837. TILEGX_OPC_NONE, TILEGX_OPC_JALRP,
  1838. BITFIELD(46, 1) /* index 102 */,
  1839. TILEGX_OPC_NONE, TILEGX_OPC_JALR,
  1840. BITFIELD(46, 1) /* index 105 */,
  1841. TILEGX_OPC_NONE, TILEGX_OPC_JRP,
  1842. BITFIELD(46, 1) /* index 108 */,
  1843. TILEGX_OPC_NONE, TILEGX_OPC_JR,
  1844. BITFIELD(46, 1) /* index 111 */,
  1845. TILEGX_OPC_NONE, TILEGX_OPC_LNK,
  1846. BITFIELD(46, 1) /* index 114 */,
  1847. TILEGX_OPC_NONE, TILEGX_OPC_NOP,
  1848. BITFIELD(49, 2) /* index 117 */,
  1849. TILEGX_OPC_CMPLES, TILEGX_OPC_CMPLEU, TILEGX_OPC_CMPLTS, TILEGX_OPC_CMPLTU,
  1850. BITFIELD(49, 2) /* index 122 */,
  1851. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_CMPEQ, TILEGX_OPC_CMPNE,
  1852. BITFIELD(49, 2) /* index 127 */,
  1853. TILEGX_OPC_NONE, TILEGX_OPC_NONE, TILEGX_OPC_MNZ, TILEGX_OPC_MZ,
  1854. BITFIELD(49, 2) /* index 132 */,
  1855. TILEGX_OPC_AND, TILEGX_OPC_NOR, CHILD(137), TILEGX_OPC_XOR,
  1856. BITFIELD(43, 2) /* index 137 */,
  1857. TILEGX_OPC_OR, TILEGX_OPC_OR, TILEGX_OPC_OR, CHILD(142),
  1858. BITFIELD(45, 2) /* index 142 */,
  1859. TILEGX_OPC_OR, TILEGX_OPC_OR, TILEGX_OPC_OR, CHILD(147),
  1860. BITFIELD(47, 2) /* index 147 */,
  1861. TILEGX_OPC_OR, TILEGX_OPC_OR, TILEGX_OPC_OR, TILEGX_OPC_MOVE,
  1862. BITFIELD(49, 2) /* index 152 */,
  1863. TILEGX_OPC_ROTL, TILEGX_OPC_SHL, TILEGX_OPC_SHRS, TILEGX_OPC_SHRU,
  1864. BITFIELD(49, 2) /* index 157 */,
  1865. TILEGX_OPC_NONE, TILEGX_OPC_SHL1ADDX, TILEGX_OPC_SHL2ADDX,
  1866. TILEGX_OPC_SHL3ADDX,
  1867. BITFIELD(49, 2) /* index 162 */,
  1868. TILEGX_OPC_ROTLI, TILEGX_OPC_SHLI, TILEGX_OPC_SHRSI, TILEGX_OPC_SHRUI,
  1869. };
  1870. static const unsigned short decode_Y2_fsm[118] =
  1871. {
  1872. BITFIELD(62, 2) /* index 0 */,
  1873. TILEGX_OPC_NONE, CHILD(5), CHILD(66), CHILD(109),
  1874. BITFIELD(55, 3) /* index 5 */,
  1875. CHILD(14), CHILD(14), CHILD(14), CHILD(17), CHILD(40), CHILD(40), CHILD(40),
  1876. CHILD(43),
  1877. BITFIELD(26, 1) /* index 14 */,
  1878. TILEGX_OPC_LD1S, TILEGX_OPC_LD1U,
  1879. BITFIELD(26, 1) /* index 17 */,
  1880. CHILD(20), CHILD(30),
  1881. BITFIELD(51, 2) /* index 20 */,
  1882. TILEGX_OPC_LD1S, TILEGX_OPC_LD1S, TILEGX_OPC_LD1S, CHILD(25),
  1883. BITFIELD(53, 2) /* index 25 */,
  1884. TILEGX_OPC_LD1S, TILEGX_OPC_LD1S, TILEGX_OPC_LD1S,
  1885. TILEGX_OPC_PREFETCH_L1_FAULT,
  1886. BITFIELD(51, 2) /* index 30 */,
  1887. TILEGX_OPC_LD1U, TILEGX_OPC_LD1U, TILEGX_OPC_LD1U, CHILD(35),
  1888. BITFIELD(53, 2) /* index 35 */,
  1889. TILEGX_OPC_LD1U, TILEGX_OPC_LD1U, TILEGX_OPC_LD1U, TILEGX_OPC_PREFETCH,
  1890. BITFIELD(26, 1) /* index 40 */,
  1891. TILEGX_OPC_LD2S, TILEGX_OPC_LD2U,
  1892. BITFIELD(26, 1) /* index 43 */,
  1893. CHILD(46), CHILD(56),
  1894. BITFIELD(51, 2) /* index 46 */,
  1895. TILEGX_OPC_LD2S, TILEGX_OPC_LD2S, TILEGX_OPC_LD2S, CHILD(51),
  1896. BITFIELD(53, 2) /* index 51 */,
  1897. TILEGX_OPC_LD2S, TILEGX_OPC_LD2S, TILEGX_OPC_LD2S,
  1898. TILEGX_OPC_PREFETCH_L2_FAULT,
  1899. BITFIELD(51, 2) /* index 56 */,
  1900. TILEGX_OPC_LD2U, TILEGX_OPC_LD2U, TILEGX_OPC_LD2U, CHILD(61),
  1901. BITFIELD(53, 2) /* index 61 */,
  1902. TILEGX_OPC_LD2U, TILEGX_OPC_LD2U, TILEGX_OPC_LD2U, TILEGX_OPC_PREFETCH_L2,
  1903. BITFIELD(56, 2) /* index 66 */,
  1904. CHILD(71), CHILD(74), CHILD(90), CHILD(93),
  1905. BITFIELD(26, 1) /* index 71 */,
  1906. TILEGX_OPC_NONE, TILEGX_OPC_LD4S,
  1907. BITFIELD(26, 1) /* index 74 */,
  1908. TILEGX_OPC_NONE, CHILD(77),
  1909. BITFIELD(51, 2) /* index 77 */,
  1910. TILEGX_OPC_LD4S, TILEGX_OPC_LD4S, TILEGX_OPC_LD4S, CHILD(82),
  1911. BITFIELD(53, 2) /* index 82 */,
  1912. TILEGX_OPC_LD4S, TILEGX_OPC_LD4S, TILEGX_OPC_LD4S, CHILD(87),
  1913. BITFIELD(55, 1) /* index 87 */,
  1914. TILEGX_OPC_LD4S, TILEGX_OPC_PREFETCH_L3_FAULT,
  1915. BITFIELD(26, 1) /* index 90 */,
  1916. TILEGX_OPC_LD4U, TILEGX_OPC_LD,
  1917. BITFIELD(26, 1) /* index 93 */,
  1918. CHILD(96), TILEGX_OPC_LD,
  1919. BITFIELD(51, 2) /* index 96 */,
  1920. TILEGX_OPC_LD4U, TILEGX_OPC_LD4U, TILEGX_OPC_LD4U, CHILD(101),
  1921. BITFIELD(53, 2) /* index 101 */,
  1922. TILEGX_OPC_LD4U, TILEGX_OPC_LD4U, TILEGX_OPC_LD4U, CHILD(106),
  1923. BITFIELD(55, 1) /* index 106 */,
  1924. TILEGX_OPC_LD4U, TILEGX_OPC_PREFETCH_L3,
  1925. BITFIELD(26, 1) /* index 109 */,
  1926. CHILD(112), CHILD(115),
  1927. BITFIELD(57, 1) /* index 112 */,
  1928. TILEGX_OPC_ST1, TILEGX_OPC_ST4,
  1929. BITFIELD(57, 1) /* index 115 */,
  1930. TILEGX_OPC_ST2, TILEGX_OPC_ST,
  1931. };
  1932. #undef BITFIELD
  1933. #undef CHILD
  1934. const unsigned short * const
  1935. tilegx_bundle_decoder_fsms[TILEGX_NUM_PIPELINE_ENCODINGS] =
  1936. {
  1937. decode_X0_fsm,
  1938. decode_X1_fsm,
  1939. decode_Y0_fsm,
  1940. decode_Y1_fsm,
  1941. decode_Y2_fsm
  1942. };
  1943. const struct tilegx_operand tilegx_operands[35] =
  1944. {
  1945. {
  1946. TILEGX_OP_TYPE_IMMEDIATE, BFD_RELOC(TILEGX_IMM8_X0),
  1947. 8, 1, 0, 0, 0, 0,
  1948. create_Imm8_X0, get_Imm8_X0
  1949. },
  1950. {
  1951. TILEGX_OP_TYPE_IMMEDIATE, BFD_RELOC(TILEGX_IMM8_X1),
  1952. 8, 1, 0, 0, 0, 0,
  1953. create_Imm8_X1, get_Imm8_X1
  1954. },
  1955. {
  1956. TILEGX_OP_TYPE_IMMEDIATE, BFD_RELOC(TILEGX_IMM8_Y0),
  1957. 8, 1, 0, 0, 0, 0,
  1958. create_Imm8_Y0, get_Imm8_Y0
  1959. },
  1960. {
  1961. TILEGX_OP_TYPE_IMMEDIATE, BFD_RELOC(TILEGX_IMM8_Y1),
  1962. 8, 1, 0, 0, 0, 0,
  1963. create_Imm8_Y1, get_Imm8_Y1
  1964. },
  1965. {
  1966. TILEGX_OP_TYPE_IMMEDIATE, BFD_RELOC(TILEGX_IMM16_X0_HW0_LAST),
  1967. 16, 1, 0, 0, 0, 0,
  1968. create_Imm16_X0, get_Imm16_X0
  1969. },
  1970. {
  1971. TILEGX_OP_TYPE_IMMEDIATE, BFD_RELOC(TILEGX_IMM16_X1_HW0_LAST),
  1972. 16, 1, 0, 0, 0, 0,
  1973. create_Imm16_X1, get_Imm16_X1
  1974. },
  1975. {
  1976. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  1977. 6, 0, 0, 1, 0, 0,
  1978. create_Dest_X0, get_Dest_X0
  1979. },
  1980. {
  1981. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  1982. 6, 0, 1, 0, 0, 0,
  1983. create_SrcA_X0, get_SrcA_X0
  1984. },
  1985. {
  1986. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  1987. 6, 0, 0, 1, 0, 0,
  1988. create_Dest_X1, get_Dest_X1
  1989. },
  1990. {
  1991. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  1992. 6, 0, 1, 0, 0, 0,
  1993. create_SrcA_X1, get_SrcA_X1
  1994. },
  1995. {
  1996. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  1997. 6, 0, 0, 1, 0, 0,
  1998. create_Dest_Y0, get_Dest_Y0
  1999. },
  2000. {
  2001. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  2002. 6, 0, 1, 0, 0, 0,
  2003. create_SrcA_Y0, get_SrcA_Y0
  2004. },
  2005. {
  2006. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  2007. 6, 0, 0, 1, 0, 0,
  2008. create_Dest_Y1, get_Dest_Y1
  2009. },
  2010. {
  2011. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  2012. 6, 0, 1, 0, 0, 0,
  2013. create_SrcA_Y1, get_SrcA_Y1
  2014. },
  2015. {
  2016. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  2017. 6, 0, 1, 0, 0, 0,
  2018. create_SrcA_Y2, get_SrcA_Y2
  2019. },
  2020. {
  2021. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  2022. 6, 0, 1, 1, 0, 0,
  2023. create_SrcA_X1, get_SrcA_X1
  2024. },
  2025. {
  2026. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  2027. 6, 0, 1, 0, 0, 0,
  2028. create_SrcB_X0, get_SrcB_X0
  2029. },
  2030. {
  2031. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  2032. 6, 0, 1, 0, 0, 0,
  2033. create_SrcB_X1, get_SrcB_X1
  2034. },
  2035. {
  2036. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  2037. 6, 0, 1, 0, 0, 0,
  2038. create_SrcB_Y0, get_SrcB_Y0
  2039. },
  2040. {
  2041. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  2042. 6, 0, 1, 0, 0, 0,
  2043. create_SrcB_Y1, get_SrcB_Y1
  2044. },
  2045. {
  2046. TILEGX_OP_TYPE_ADDRESS, BFD_RELOC(TILEGX_BROFF_X1),
  2047. 17, 1, 0, 0, 1, TILEGX_LOG2_BUNDLE_ALIGNMENT_IN_BYTES,
  2048. create_BrOff_X1, get_BrOff_X1
  2049. },
  2050. {
  2051. TILEGX_OP_TYPE_IMMEDIATE, BFD_RELOC(TILEGX_MMSTART_X0),
  2052. 6, 0, 0, 0, 0, 0,
  2053. create_BFStart_X0, get_BFStart_X0
  2054. },
  2055. {
  2056. TILEGX_OP_TYPE_IMMEDIATE, BFD_RELOC(TILEGX_MMEND_X0),
  2057. 6, 0, 0, 0, 0, 0,
  2058. create_BFEnd_X0, get_BFEnd_X0
  2059. },
  2060. {
  2061. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  2062. 6, 0, 1, 1, 0, 0,
  2063. create_Dest_X0, get_Dest_X0
  2064. },
  2065. {
  2066. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  2067. 6, 0, 1, 1, 0, 0,
  2068. create_Dest_Y0, get_Dest_Y0
  2069. },
  2070. {
  2071. TILEGX_OP_TYPE_ADDRESS, BFD_RELOC(TILEGX_JUMPOFF_X1),
  2072. 27, 1, 0, 0, 1, TILEGX_LOG2_BUNDLE_ALIGNMENT_IN_BYTES,
  2073. create_JumpOff_X1, get_JumpOff_X1
  2074. },
  2075. {
  2076. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  2077. 6, 0, 0, 1, 0, 0,
  2078. create_SrcBDest_Y2, get_SrcBDest_Y2
  2079. },
  2080. {
  2081. TILEGX_OP_TYPE_SPR, BFD_RELOC(TILEGX_MF_IMM14_X1),
  2082. 14, 0, 0, 0, 0, 0,
  2083. create_MF_Imm14_X1, get_MF_Imm14_X1
  2084. },
  2085. {
  2086. TILEGX_OP_TYPE_SPR, BFD_RELOC(TILEGX_MT_IMM14_X1),
  2087. 14, 0, 0, 0, 0, 0,
  2088. create_MT_Imm14_X1, get_MT_Imm14_X1
  2089. },
  2090. {
  2091. TILEGX_OP_TYPE_IMMEDIATE, BFD_RELOC(TILEGX_SHAMT_X0),
  2092. 6, 0, 0, 0, 0, 0,
  2093. create_ShAmt_X0, get_ShAmt_X0
  2094. },
  2095. {
  2096. TILEGX_OP_TYPE_IMMEDIATE, BFD_RELOC(TILEGX_SHAMT_X1),
  2097. 6, 0, 0, 0, 0, 0,
  2098. create_ShAmt_X1, get_ShAmt_X1
  2099. },
  2100. {
  2101. TILEGX_OP_TYPE_IMMEDIATE, BFD_RELOC(TILEGX_SHAMT_Y0),
  2102. 6, 0, 0, 0, 0, 0,
  2103. create_ShAmt_Y0, get_ShAmt_Y0
  2104. },
  2105. {
  2106. TILEGX_OP_TYPE_IMMEDIATE, BFD_RELOC(TILEGX_SHAMT_Y1),
  2107. 6, 0, 0, 0, 0, 0,
  2108. create_ShAmt_Y1, get_ShAmt_Y1
  2109. },
  2110. {
  2111. TILEGX_OP_TYPE_REGISTER, BFD_RELOC(NONE),
  2112. 6, 0, 1, 0, 0, 0,
  2113. create_SrcBDest_Y2, get_SrcBDest_Y2
  2114. },
  2115. {
  2116. TILEGX_OP_TYPE_IMMEDIATE, BFD_RELOC(TILEGX_DEST_IMM8_X1),
  2117. 8, 1, 0, 0, 0, 0,
  2118. create_Dest_Imm8_X1, get_Dest_Imm8_X1
  2119. }
  2120. };
  2121. /* Given a set of bundle bits and the lookup FSM for a specific pipe,
  2122. * returns which instruction the bundle contains in that pipe.
  2123. */
  2124. static const struct tilegx_opcode *
  2125. find_opcode(tilegx_bundle_bits bits, const unsigned short *table)
  2126. {
  2127. int index = 0;
  2128. while (1)
  2129. {
  2130. unsigned short bitspec = table[index];
  2131. unsigned int bitfield =
  2132. ((unsigned int)(bits >> (bitspec & 63))) & (bitspec >> 6);
  2133. unsigned short next = table[index + 1 + bitfield];
  2134. if (next <= TILEGX_OPC_NONE)
  2135. return &tilegx_opcodes[next];
  2136. index = next - TILEGX_OPC_NONE;
  2137. }
  2138. }
  2139. int
  2140. parse_insn_tilegx(tilegx_bundle_bits bits,
  2141. unsigned long long pc,
  2142. struct tilegx_decoded_instruction
  2143. decoded[TILEGX_MAX_INSTRUCTIONS_PER_BUNDLE])
  2144. {
  2145. int num_instructions = 0;
  2146. int pipe;
  2147. int min_pipe, max_pipe;
  2148. if ((bits & TILEGX_BUNDLE_MODE_MASK) == 0)
  2149. {
  2150. min_pipe = TILEGX_PIPELINE_X0;
  2151. max_pipe = TILEGX_PIPELINE_X1;
  2152. }
  2153. else
  2154. {
  2155. min_pipe = TILEGX_PIPELINE_Y0;
  2156. max_pipe = TILEGX_PIPELINE_Y2;
  2157. }
  2158. /* For each pipe, find an instruction that fits. */
  2159. for (pipe = min_pipe; pipe <= max_pipe; pipe++)
  2160. {
  2161. const struct tilegx_opcode *opc;
  2162. struct tilegx_decoded_instruction *d;
  2163. int i;
  2164. d = &decoded[num_instructions++];
  2165. opc = find_opcode (bits, tilegx_bundle_decoder_fsms[pipe]);
  2166. d->opcode = opc;
  2167. /* Decode each operand, sign extending, etc. as appropriate. */
  2168. for (i = 0; i < opc->num_operands; i++)
  2169. {
  2170. const struct tilegx_operand *op =
  2171. &tilegx_operands[opc->operands[pipe][i]];
  2172. int raw_opval = op->extract (bits);
  2173. long long opval;
  2174. if (op->is_signed)
  2175. {
  2176. /* Sign-extend the operand. */
  2177. int shift = (int)((sizeof(int) * 8) - op->num_bits);
  2178. raw_opval = (raw_opval << shift) >> shift;
  2179. }
  2180. /* Adjust PC-relative scaled branch offsets. */
  2181. if (op->type == TILEGX_OP_TYPE_ADDRESS)
  2182. opval = (raw_opval * TILEGX_BUNDLE_SIZE_IN_BYTES) + pc;
  2183. else
  2184. opval = raw_opval;
  2185. /* Record the final value. */
  2186. d->operands[i] = op;
  2187. d->operand_values[i] = opval;
  2188. }
  2189. }
  2190. return num_instructions;
  2191. }