Workaround ARMv7 emulation issues.

This patch is used to disable the code generator's liveness analysis pass when we
emulate an ARMv7 CPU. This is required to properly run the dex preoptimization pass
during the build of -user system images.

Also includes:
- a fix for a sad typo in target-arm/translate.c related to NEON instruction emulation
- upstream improvements to the x86 and x86_64 backends to generate better goto branches at runtime
- upstream fixes for 64-bit swap and shift operations in TCG

After this patch is applied, re-enabling the ARMv7 memcpy should allow to run the dex preopt
pass succesfully. Anything else is untested though. WE STILL NEED TO FIX THE CODE GENERATOR.
7 files changed
tree: 94f840eab7a00cb543b37e1ab9086bc26df5245e
  1. android/
  2. audio/
  3. block/
  4. distrib/
  5. docs/
  6. fpu/
  7. gdb-xml/
  8. hw/
  9. images/
  10. proxy/
  11. slirp/
  12. slirp-android/
  13. target-arm/
  14. tcg/
  15. telephony/
  16. .gitignore
  17. a.out.h
  18. acl.c
  19. acl.h
  20. aes.c
  21. aes.h
  22. aio-android.c
  23. aio.c
  24. alpha.ld
  25. android-configure.sh
  26. android-rebuild.sh
  27. Android.mk
  28. arm-dis.c
  29. arm-semi.c
  30. arm.ld
  31. balloon.h
  32. block.c
  33. block.h
  34. block_int.h
  35. bswap.h
  36. bt-host.c
  37. bt-host.h
  38. bt-vhci.c
  39. buffered_file.c
  40. buffered_file.h
  41. cache-utils.c
  42. cache-utils.h
  43. cbuffer.c
  44. cbuffer.h
  45. Changelog
  46. CHANGES.TXT
  47. charpipe.c
  48. charpipe.h
  49. compatfd.c
  50. compatfd.h
  51. console.c
  52. console.h
  53. COPYING
  54. COPYING.LIB
  55. cpu-all.h
  56. cpu-common.h
  57. cpu-defs.h
  58. cpu-exec.c
  59. curses.c
  60. curses_keys.h
  61. cutils.c
  62. d3des.c
  63. d3des.h
  64. dcache.c
  65. dcache.h
  66. def-helper.h
  67. device_tree.c
  68. device_tree.h
  69. dis-asm.h
  70. disas.c
  71. disas.h
  72. dma-helpers.c
  73. dma.h
  74. dyngen-exec.h
  75. dynlink.h
  76. elf.h
  77. elf_ops.h
  78. exec-all.h
  79. exec.c
  80. feature_to_c.sh
  81. framebuffer.c
  82. framebuffer.h
  83. gdbstub.c
  84. gdbstub.h
  85. gen-charmap.py
  86. gen-icount.h
  87. gen-skin.py
  88. host-defs.h
  89. host-utils.c
  90. host-utils.h
  91. hostregs_helper.h
  92. hpet.h
  93. hxtool
  94. i386-dis.c
  95. i386-vl.ld
  96. i386.ld
  97. ia64.ld
  98. INSTALL
  99. iolooper-select.c
  100. iolooper.h
  101. keymaps.c
  102. keymaps.h
  103. kqemu.c
  104. kqemu.h
  105. kvm.h
  106. LICENSE
  107. linux_keycodes.h
  108. loader.c
  109. loadpng.c
  110. m68k.ld
  111. Makefile
  112. Makefile.android
  113. migration-dummy-android.c
  114. migration-exec.c
  115. migration-tcp-android.c
  116. migration-tcp.c
  117. migration.c
  118. migration.h
  119. module.c
  120. module.h
  121. MODULE_LICENSE_GPL
  122. monitor.c
  123. monitor.h
  124. net-android.c
  125. net-checksum.c
  126. net.c
  127. net.h
  128. NOTICE
  129. offset_layout.py
  130. osdep.c
  131. osdep.h
  132. ppc-dis.c
  133. ppc.ld
  134. qemu-aio.h
  135. qemu-char-android.c
  136. qemu-char.c
  137. qemu-char.h
  138. qemu-common.h
  139. qemu-io.c
  140. qemu-lock.h
  141. qemu-log.h
  142. qemu-malloc.c
  143. qemu-monitor.hx
  144. qemu-option.c
  145. qemu-option.h
  146. qemu-options.hx
  147. qemu-sockets-android.c
  148. qemu-sockets.c
  149. qemu-thread.c
  150. qemu-thread.h
  151. qemu-timer.h
  152. qemu_debug.h
  153. qemu_file.h
  154. qemu_socket.h
  155. qemu_timers.h
  156. readline.c
  157. readline.h
  158. README
  159. savevm.c
  160. sdl_keysym.h
  161. shaper.c
  162. shaper.h
  163. sockets.c
  164. sockets.h
  165. softmmu-semi.h
  166. softmmu_defs.h
  167. softmmu_exec.h
  168. softmmu_header.h
  169. softmmu_template.h
  170. sparc.ld
  171. sys-queue.h
  172. sysemu.h
  173. tap-win32.c
  174. targphys.h
  175. tcpdump.c
  176. tcpdump.h
  177. thunk.c
  178. thunk.h
  179. trace.c
  180. trace.h
  181. trace_common.h
  182. translate-all.c
  183. translate-op.c
  184. translate.make
  185. uboot_image.h
  186. usb-dummy-android.c
  187. usb-linux.c
  188. varint.c
  189. varint.h
  190. vgafont.h
  191. vl-android.c
  192. vl.c
  193. vnc-android.c
  194. vnc-tls.h
  195. vnc.c
  196. vnc.h
  197. vnc_keysym.h
  198. vnchextile.h
  199. x86_64.ld