PPC: Enable hint bits for lwarx/ldarx
authorAlexander Graf <agraf@suse.de>
Fri, 10 Sep 2010 15:08:33 +0000 (15:08 +0000)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Wed, 15 Sep 2010 14:18:27 +0000 (16:18 +0200)
commitf844c817d726cd2bdb431aa41c8217891ede2eaf
tree714afeffdc4e02dbdc91a8a9ceee833363212eed
parent9a7c4878427dba2fbbd080fb21ba66d5daf21b8e
PPC: Enable hint bits for lwarx/ldarx

The lwarx and ldarx instructions have a bit to give some hint to the
CPU which is safe to ignore. We currently refuse to accept any instruction
with that bit set, as it used to be declared MBZ.

Let's remove the reserved bit and make the instruction work as expected.
This fixes Linux boot for ppc64.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
target-ppc/translate.c