unicorn/qemu/tcg/mips
James Hogan 9dac598855
tcg/mips: Support r6 JR encoding
MIPSr6 encodes JR as JALR with zero as the link register, and the pre-r6
JR encoding is removed. Update TCG to use the new encoding when built
for r6.

We still use the old encoding for pre-r6, so as not to confuse return
prediction stack hardware which may detect only particular encodings of
the return instruction.

Backports commit 6e0d096989be52c2b945fc83a9bd15d887bbdb47 from qemu
2018-02-17 15:24:04 -05:00
..
tcg-target.c tcg/mips: Support r6 JR encoding 2018-02-17 15:24:04 -05:00
tcg-target.h tcg/mips: Add use_mips32r6_instructions definition 2018-02-17 15:24:04 -05:00