]> git.proxmox.com Git - qemu.git/commit - target-xtensa/translate.c
target-xtensa: fix big-endian BBS/BBC implementation
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 17 Jul 2012 19:45:23 +0000 (23:45 +0400)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 28 Jul 2012 09:06:40 +0000 (09:06 +0000)
commit7ff7563fc1c3c57914aafec1753219604346fe18
tree311cbec827720856a26a40e396688e8a87911d1b
parentd901eff3e6da96d34be33b307aa6cea75098c180
target-xtensa: fix big-endian BBS/BBC implementation

Quote from ISA, 2.1:

For most Xtensa instructions, bit numbering is irrelevant; only the BBC
and BBS instructions assign bit numbers to values on which the processor
operates. The BBC/BBS instructions use big-endian bit ordering (0 is the
most-significant bit) on a big-endian processor configuration.

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