target-xtensa: raise an exception for invalid and reserved opcodes

This includes opcodes from disabled features and those marked reserved in the ISA.
Also end TB on opcodes that definitely generate an exception: illegal
instructions, syscall and privileged instructions.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
1 file changed
tree: d1af8ed95427686fa25d4939323adc734269c641
  1. audio/
  2. block/
  3. bsd-user/
  4. darwin-user/
  5. default-configs/
  6. docs/
  7. fpu/
  8. fsdev/
  9. gdb-xml/
  10. hw/
  11. libcacard/
  12. linux-headers/
  13. linux-user/
  14. net/
  15. pc-bios/
  16. qapi/
  17. qga/
  18. QMP/
  19. roms/
  20. scripts/
  21. slirp/
  22. sysconfigs/
  23. target-alpha/
  24. target-arm/
  25. target-cris/
  26. target-i386/
  27. target-lm32/
  28. target-m68k/
  29. target-microblaze/
  30. target-mips/
  31. target-ppc/
  32. target-s390x/
  33. target-sh4/
  34. target-sparc/
  35. target-unicore32/
  36. target-xtensa/
  37. tcg/
  38. tests/
  39. trace/
  40. ui/
  41. .gitignore
  42. .gitmodules
  43. a.out.h
  44. acl.c
  45. acl.h
  46. aes.c
  47. aes.h
  48. aio.c
  49. alpha-dis.c
  50. alpha.ld
  51. arch_init.c
  52. arch_init.h
  53. arm-dis.c
  54. arm-semi.c
  55. arm.ld
  56. async.c
  57. balloon.c
  58. balloon.h
  59. bitmap.c
  60. bitmap.h
  61. bitops.c
  62. bitops.h
  63. block-migration.c
  64. block-migration.h
  65. block.c
  66. block.h
  67. block_int.h
  68. blockdev.c
  69. blockdev.h
  70. bswap.h
  71. bt-host.c
  72. bt-host.h
  73. bt-vhci.c
  74. buffered_file.c
  75. buffered_file.h
  76. cache-utils.c
  77. cache-utils.h
  78. Changelog
  79. check-qdict.c
  80. check-qfloat.c
  81. check-qint.c
  82. check-qjson.c
  83. check-qlist.c
  84. check-qstring.c
  85. cmd.c
  86. cmd.h
  87. CODING_STYLE
  88. compatfd.c
  89. compatfd.h
  90. compiler.h
  91. config.h
  92. configure
  93. console.c
  94. console.h
  95. COPYING
  96. COPYING.LIB
  97. coroutine-gthread.c
  98. coroutine-ucontext.c
  99. coroutine-win32.c
  100. cpu-all.h
  101. cpu-common.h
  102. cpu-defs.h
  103. cpu-exec.c
  104. cpus.c
  105. cpus.h
  106. cris-dis.c
  107. cursor.c
  108. cursor_hidden.xpm
  109. cursor_left_ptr.xpm
  110. cutils.c
  111. def-helper.h
  112. device_tree.c
  113. device_tree.h
  114. dis-asm.h
  115. disas.c
  116. disas.h
  117. dma-helpers.c
  118. dma.h
  119. dyngen-exec.h
  120. elf.h
  121. envlist.c
  122. envlist.h
  123. error.c
  124. error.h
  125. error_int.h
  126. event_notifier.c
  127. event_notifier.h
  128. exec-all.h
  129. exec-memory.h
  130. exec.c
  131. gdbstub.c
  132. gdbstub.h
  133. gen-icount.h
  134. HACKING
  135. hmp-commands.hx
  136. hmp.c
  137. hmp.h
  138. host-utils.c
  139. host-utils.h
  140. hppa-dis.c
  141. hppa.ld
  142. i386-dis.c
  143. i386.ld
  144. ia64-dis.c
  145. ia64.ld
  146. input.c
  147. iohandler.c
  148. ioport-user.c
  149. ioport.c
  150. ioport.h
  151. iorange.h
  152. iov.c
  153. iov.h
  154. json-lexer.c
  155. json-lexer.h
  156. json-parser.c
  157. json-parser.h
  158. json-streamer.c
  159. json-streamer.h
  160. kvm-all.c
  161. kvm-stub.c
  162. kvm.h
  163. libfdt_env.h
  164. LICENSE
  165. linux-aio.c
  166. m68k-dis.c
  167. m68k-semi.c
  168. m68k.ld
  169. main-loop.c
  170. main-loop.h
  171. MAINTAINERS
  172. Makefile
  173. Makefile.dis
  174. Makefile.hw
  175. Makefile.objs
  176. Makefile.target
  177. Makefile.user
  178. memory.c
  179. memory.h
  180. microblaze-dis.c
  181. migration-exec.c
  182. migration-fd.c
  183. migration-tcp.c
  184. migration-unix.c
  185. migration.c
  186. migration.h
  187. mips-dis.c
  188. mips.ld
  189. module.c
  190. module.h
  191. monitor.c
  192. monitor.h
  193. nbd.c
  194. nbd.h
  195. net.c
  196. net.h
  197. notify.c
  198. notify.h
  199. os-posix.c
  200. os-win32.c
  201. osdep.c
  202. osdep.h
  203. oslib-posix.c
  204. oslib-win32.c
  205. path.c
  206. pci-ids.txt
  207. pflib.c
  208. pflib.h
  209. poison.h
  210. posix-aio-compat.c
  211. ppc-dis.c
  212. ppc.ld
  213. ppc64.ld
  214. qapi-schema-guest.json
  215. qapi-schema-test.json
  216. qapi-schema.json
  217. qbool.c
  218. qbool.h
  219. qdict-test-data.txt
  220. qdict.c
  221. qdict.h
  222. qemu-aio.h
  223. qemu-barrier.h
  224. qemu-char.c
  225. qemu-char.h
  226. qemu-common.h
  227. qemu-config.c
  228. qemu-config.h
  229. qemu-coroutine-int.h
  230. qemu-coroutine-lock.c
  231. qemu-coroutine.c
  232. qemu-coroutine.h
  233. qemu-doc.texi
  234. qemu-error.c
  235. qemu-error.h
  236. qemu-ga.c
  237. qemu-img-cmds.hx
  238. qemu-img.c
  239. qemu-img.texi
  240. qemu-io.c
  241. qemu-lock.h
  242. qemu-log.h
  243. qemu-nbd.c
  244. qemu-nbd.texi
  245. qemu-objects.h
  246. qemu-option.c
  247. qemu-option.h
  248. qemu-options.h
  249. qemu-options.hx
  250. qemu-os-posix.h
  251. qemu-os-win32.h
  252. qemu-progress.c
  253. qemu-queue.h
  254. qemu-sockets.c
  255. qemu-tech.texi
  256. qemu-thread-posix.c
  257. qemu-thread-posix.h
  258. qemu-thread-win32.c
  259. qemu-thread-win32.h
  260. qemu-thread.h
  261. qemu-timer-common.c
  262. qemu-timer.c
  263. qemu-timer.h
  264. qemu-tls.h
  265. qemu-tool.c
  266. qemu-x509.h
  267. qemu.sasl
  268. qemu_socket.h
  269. qerror.c
  270. qerror.h
  271. qfloat.c
  272. qfloat.h
  273. qint.c
  274. qint.h
  275. qjson.c
  276. qjson.h
  277. qlist.c
  278. qlist.h
  279. qmp-commands.hx
  280. qmp.c
  281. qobject.h
  282. qstring.c
  283. qstring.h
  284. range.h
  285. readline.c
  286. readline.h
  287. README
  288. rules.mak
  289. s390-dis.c
  290. s390.ld
  291. savevm.c
  292. sh4-dis.c
  293. softmmu-semi.h
  294. softmmu_defs.h
  295. softmmu_exec.h
  296. softmmu_header.h
  297. softmmu_template.h
  298. sparc-dis.c
  299. sparc.ld
  300. sparc64.ld
  301. spice-qemu-char.c
  302. sysemu.h
  303. targphys.h
  304. tcg-runtime.c
  305. test-coroutine.c
  306. test-qmp-commands.c
  307. test-visitor.c
  308. thunk.c
  309. thunk.h
  310. TODO
  311. trace-events
  312. translate-all.c
  313. uboot_image.h
  314. usb-bsd.c
  315. usb-linux.c
  316. usb-redir.c
  317. usb-stub.c
  318. user-exec.c
  319. VERSION
  320. version.rc
  321. vgafont.h
  322. vl.c
  323. x86_64.ld
  324. xen-all.c
  325. xen-mapcache.c
  326. xen-mapcache.h
  327. xen-stub.c
  328. xtensa-semi.c