target/xtensa: implement const16
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 2 Nov 2017 22:05:56 +0000 (15:05 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 9 Jan 2018 17:55:39 +0000 (09:55 -0800)
commitc5ac936e5e8356cf6bba8e39519a273ab0fc6fed
treef84c78f121bf4db1e0c3c97329c5936b95bb1ff7
parente98727417aa639024af9d17650f8811dc408885c
target/xtensa: implement const16

const16 is an opcode that shifts 16 lower bits of an address register
to the 16 upper bits and puts its immediate operand into the lower 16
bits. It is not controlled by an Xtensa option and doesn't have a fixed
opcode.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
target/xtensa/translate.c