Reland r23732: ARM64: Fix and improve --trace-sim register trace.
authorJacob.Bramley@arm.com <Jacob.Bramley@arm.com>
Tue, 9 Sep 2014 12:43:43 +0000 (12:43 +0000)
committerJacob.Bramley@arm.com <Jacob.Bramley@arm.com>
Tue, 9 Sep 2014 12:43:43 +0000 (12:43 +0000)
commit3dbb3c39d5b3550f992ea7d52a952113433eebb5
tree2ee0c9c17d943438edfdfd8d283fad5acecea4e0
parentf3e033888275174c58c0bd9e1397a149ca754bb1
Reland r23732: ARM64: Fix and improve --trace-sim register trace.

- Use standard names (except that our GREY is the standard BLACK).
- Make non-bold colours explicit, otherwise the boldness can carry over
  into subsequent colour declarations.
- I've moved some colours around to make them consistent. Register value
  updates (which are very common) now stand out less than they did,
  making the less-common (and arguably more important) debug
  announcements appear brighter.
  - FP registers and values are now magenta.
  - Integer registers and values are now cyan.
  - Memory accesses are now blue.
- LOG_WRITE prints the source register for stores.
- Loads are logged with a format similar to that used for stores.
  Specifically, the memory address is printed alongside the new register
  value.
- Updates to D registers print the raw bits as well as the double value.
  Updates to S registers print the raw bits as well as the float value.
  (Previously, we printed both double and float interpretations of the
  bits, which was a bit cluttered.)

BUG=
R=svenpanne@chromium.org

Review URL: https://codereview.chromium.org/551823004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23802 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm64/disasm-arm64.cc
src/arm64/instructions-arm64.h
src/arm64/simulator-arm64.cc
src/arm64/simulator-arm64.h