target/ppc: add byte-reverse br[dwh] instructions
commit9d69cfa2faa7782ec91b9e42de3abb0a442afca8
authorLijun Pan <ljp@linux.ibm.com>
Wed, 1 Jul 2020 23:43:38 +0000 (1 18:43 -0500)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 12 Aug 2020 03:16:27 +0000 (12 13:16 +1000)
tree8ad1329b8be0f759079a3472f9be46d407f8850d
parent9495edb08d9d7cd5674a237d95dbabfa7b355340
target/ppc: add byte-reverse br[dwh] instructions

POWER ISA 3.1 introduces following byte-reverse instructions:
brd: Byte-Reverse Doubleword X-form
brw: Byte-Reverse Word X-form
brh: Byte-Reverse Halfword X-form

Signed-off-by: Lijun Pan <ljp@linux.ibm.com>
Message-Id: <20200701234344.91843-4-ljp@linux.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate.c