as_table 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. addd2 src, dst ==>
  2. @text1( 0x60);
  3. gen_operand( src);
  4. gen_operand( dst).
  5. addf2 src, dst ==>
  6. @text1( 0x40);
  7. gen_operand( src);
  8. gen_operand( dst).
  9. addl2 src, dst ==>
  10. @text1( 0xc0);
  11. gen_operand( src);
  12. gen_operand( dst).
  13. addl3 src1, src2, dst ==>
  14. @text1( 0xc1);
  15. gen_operand( src1);
  16. gen_operand( src2);
  17. gen_operand( dst).
  18. ashl src1, src2, dst ==>
  19. @text1( 0x78);
  20. gen_operand( src1);
  21. gen_operand( src2);
  22. gen_operand( dst).
  23. beql l_ilb ==>
  24. @text1( 0x13);
  25. gen_operand( l_ilb).
  26. jeql ilb ==>
  27. @text1( 0x12);
  28. @text1( 0x06);
  29. @text1( 0x17);
  30. gen_operand( ilb).
  31. bgeq l_ilb ==>
  32. @text1( 0x18);
  33. gen_operand( l_ilb).
  34. jgeq ilb ==>
  35. @text1( 0x19);
  36. @text1( 0x06);
  37. @text1( 0x17);
  38. gen_operand( ilb).
  39. bgtr l_ilb ==>
  40. @text1( 0x14);
  41. gen_operand( l_ilb).
  42. bgtru l_ilb ==>
  43. @text1( 0x1a);
  44. gen_operand( l_ilb).
  45. jgtr ilb ==>
  46. @text1( 0x15);
  47. @text1( 0x06);
  48. @text1( 0x17);
  49. gen_operand( ilb).
  50. bicl2 src, dst ==>
  51. @text1( 0xca);
  52. gen_operand( src);
  53. gen_operand( dst).
  54. bisl2 src, dst ==>
  55. @text1( 0xc8);
  56. gen_operand( src);
  57. gen_operand( dst).
  58. bleq l_ilb ==>
  59. @text1( 0x15);
  60. gen_operand( l_ilb).
  61. jleq ilb ==>
  62. @text1( 0x14);
  63. @text1( 0x06);
  64. @text1( 0x17);
  65. gen_operand( ilb).
  66. blss l_ilb ==>
  67. @text1( 0x19);
  68. gen_operand( l_ilb).
  69. blssu l_ilb ==>
  70. @text1( 0x1f);
  71. gen_operand( l_ilb).
  72. jlss ilb ==>
  73. @text1( 0x18);
  74. @text1( 0x06);
  75. @text1( 0x17);
  76. gen_operand( ilb).
  77. bneq l_ilb ==>
  78. @text1( 0x12);
  79. gen_operand( l_ilb).
  80. jneq ilb ==>
  81. @text1( 0x13);
  82. @text1( 0x06);
  83. @text1( 0x17);
  84. gen_operand( ilb).
  85. br l_ilb ==>
  86. @text1( 0x11);
  87. gen_operand( l_ilb).
  88. calls n : cst , pro ==>
  89. @text1( 0xfb);
  90. @text1( %$(n->cst));
  91. gen_operand( pro).
  92. clrl src ==>
  93. @text1( 0xd4);
  94. gen_operand( src).
  95. clrq src ==>
  96. @text1( 0x7c);
  97. gen_operand( src).
  98. cmpf src, dest ==>
  99. @text1( 0x51);
  100. gen_operand( src);
  101. gen_operand( dest).
  102. cmpd src, dest ==>
  103. @text1( 0x71);
  104. gen_operand( src);
  105. gen_operand( dest).
  106. cmpl src, dest ==>
  107. @text1( 0xd1);
  108. gen_operand( src);
  109. gen_operand( dest).
  110. cvtlb src, dst ==>
  111. @text1( 0xf6);
  112. gen_operand( src);
  113. gen_operand( dst).
  114. decl src ==>
  115. @text1( 0xd7);
  116. gen_operand( src).
  117. divf2 src, dst ==>
  118. @text1( 0x46);
  119. gen_operand( src);
  120. gen_operand( dst).
  121. divd2 src, dst ==>
  122. @text1( 0x66);
  123. gen_operand( src);
  124. gen_operand( dst).
  125. divl2 src, dst ==>
  126. @text1( 0xc6);
  127. gen_operand( src);
  128. gen_operand( dst).
  129. divl3 src1, src2, dst ==>
  130. @text1( 0xc7);
  131. gen_operand( src1);
  132. gen_operand( src2);
  133. gen_operand( dst).
  134. incl src ==>
  135. @text1( 0xd6);
  136. gen_operand( src).
  137. jmp ilb4 ==>
  138. @text1( 0x17);
  139. gen_operand( ilb4).
  140. jsb lab ==>
  141. @text1( 0x16);
  142. gen_operand( lab).
  143. mcoml src, dst ==>
  144. @text1( 0xd2);
  145. gen_operand( src);
  146. gen_operand( dst).
  147. mnegf src, dst ==>
  148. @text1( 0x52);
  149. gen_operand( src);
  150. gen_operand( dst).
  151. mnegd src, dst ==>
  152. @text1( 0x72);
  153. gen_operand( src);
  154. gen_operand( dst).
  155. mnegl src, dst ==>
  156. @text1( 0xce);
  157. gen_operand( src);
  158. gen_operand( dst).
  159. moval src, dst ==>
  160. @text1( 0xde);
  161. gen_operand( src);
  162. gen_operand( dst).
  163. movb src, dst ==>
  164. @text1( 0x90);
  165. gen_operand( src);
  166. gen_operand( dst).
  167. movw src, dst ==>
  168. @text1( 0xb0);
  169. gen_operand( src);
  170. gen_operand( dst).
  171. movl src, dst ==>
  172. @text1( 0xd0);
  173. gen_operand( src);
  174. gen_operand( dst).
  175. movq src : cst, dst ==>
  176. @text1( 0x7d);
  177. gen_operand( src);
  178. @text4( 0);
  179. gen_operand( dst).
  180. ... src , dst ==>
  181. @text1( 0x7d);
  182. gen_operand( src);
  183. gen_operand( dst).
  184. mulf2 src, dst ==>
  185. @text1( 0x44);
  186. gen_operand( src);
  187. gen_operand( dst).
  188. muld2 src, dst ==>
  189. @text1( 0x64);
  190. gen_operand( src);
  191. gen_operand( dst).
  192. mull2 src, dst ==>
  193. @text1( 0xc4);
  194. gen_operand( src);
  195. gen_operand( dst).
  196. pushl src ==>
  197. @text1( 0xdd);
  198. gen_operand( src).
  199. pushal src ==>
  200. @text1( 0xdf);
  201. gen_operand( src).
  202. ret ==>
  203. @text1( 0x04).
  204. rotl src1, src2, dst ==>
  205. @text1( 0x9c);
  206. gen_operand( src1);
  207. gen_operand( src2);
  208. gen_operand( dst).
  209. sobgtr tel, ilb ==>
  210. @text1( 0xf5);
  211. gen_operand( tel);
  212. gen_operand( ilb).
  213. subf2 src, dst ==>
  214. @text1( 0x42);
  215. gen_operand( src);
  216. gen_operand( dst).
  217. subd2 src, dst ==>
  218. @text1( 0x62);
  219. gen_operand( src);
  220. gen_operand( dst).
  221. subl2 src, dst ==>
  222. @text1( 0xc2);
  223. gen_operand( src);
  224. gen_operand( dst).
  225. tstl src ==>
  226. @text1( 0xd5);
  227. gen_operand( src).
  228. xorl2 src, dst ==>
  229. @text1( 0xcc);
  230. gen_operand( src);
  231. gen_operand( dst).