aboutsummaryrefslogtreecommitdiff
path: root/disas.c
diff options
context:
space:
mode:
authorSebastian Macke <sebastian@macke.de>2013-10-22 02:12:37 +0200
committerJia Liu <proljc@gmail.com>2013-11-20 21:40:07 +0800
commit352367e8bb53bd4e16abaecbcb9fc0bcadf5881b (patch)
tree72023dae654c9d8d74fca9022c35edeb91ce4a22 /disas.c
parent394cfa39ba24dd838ace1308ae24961243947fb8 (diff)
downloadqemu-352367e8bb53bd4e16abaecbcb9fc0bcadf5881b.zip
qemu-352367e8bb53bd4e16abaecbcb9fc0bcadf5881b.tar.gz
qemu-352367e8bb53bd4e16abaecbcb9fc0bcadf5881b.tar.bz2
target-openrisc: Speed up move instruction
The OpenRISC architecture does not have its own move register instruction. Instead it uses either "l.addi rd, r0, x" or "l.ori rd, rs, 0" or "l.or rd, rx, r0" The l.ori instruction is automatically optimized but not the l.addi instruction. This patch optimizes for this special case. Signed-off-by: Sebastian Macke <sebastian@macke.de> Reviewed-by: Jia Liu <proljc@gmail.com> Signed-off-by: Jia Liu <proljc@gmail.com>
Diffstat (limited to 'disas.c')
0 files changed, 0 insertions, 0 deletions