Add reg.chcr warning check.
Merge pull request #355 from Asmodean-/master

Add reg.chcr warning check.
linux/threads: simplify timer code

Possibly also changes the semantics. According to the docs, it should now be
equal to the Windows code (up to accuracy issues, of course).

v2: done by gregory38

Fix miscalculation of time. Unit must be in 1s/GetThreadTicksPerSeconds(). (now us)

Factorize a bit GetCpuTime/GetThreadCpuTime

Note: results seems reasonables and mostly equivalent as before.
gsdx-linux: Fix GSdx internal counter on linux

The issue is that clock gives the total cpu time of the process whereas
we want the cpu time of the rendering thread
pcsx2: interpreter: add an exception for tlb miss

When a tlb miss is detected current instruction must be skipped. We need
to immediately switch to the handler

Typical instruction bug case:
 lw a0, 0x8(a0)

a0 mustn't be loaded if we have a miss

v2: create a dedicated exception for tlb miss

v3:
* rename exception to CancelInstruction
* add a basic state machine on the exec loop so we keep same behavior
  for eeloadReplaceOSDSYS and eeGameStarting
pcsx2: interpreter: increment pc before reading pc content

memRead32 could throw a TLB miss exception, however TLB handler expects pc counter to be incremented

Goemon is now really "playable" with the interpreter (disable automatic gamefix)
pcsx2: interpreter: add a typical example to disassemble R5900

Previous examples don't work anymore

v2: merge the cpu dump example
core: EE interpreter major speed boost

Disable the debugger and an useless debugI function

* x2 on dbg build :)
* x2.5 on dev build :)

Note: debugger doesn't work yet with the interpreter so no real drawback.