aboutsummaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-17 12:01:45 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-17 12:01:45 +0000
commitf610349f36a78231a843ab57499b23ed9ea5ce1e (patch)
tree2677c65b009353a10e2278288f1eaca0187f774d /target-ppc
parent05ee37ebf630fa970feb362671a5aee22bcb529f (diff)
Fix collision in PowerPC instructions definitions.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3668 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/translate.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/target-ppc/translate.c b/target-ppc/translate.c
index 072eb914b3..f758df7af3 100644
--- a/target-ppc/translate.c
+++ b/target-ppc/translate.c
@@ -441,29 +441,29 @@ enum {
#define PPC_MISC PPC_INSNS_BASE
/* Deprecated instruction sets */
/* Original POWER instruction set */
- PPC_POWER = 0x0000000000000001ULL,
+ PPC_POWER = 0x0000000000000002ULL,
/* POWER2 instruction set extension */
- PPC_POWER2 = 0x0000000000000002ULL,
+ PPC_POWER2 = 0x0000000000000004ULL,
/* Power RTC support */
- PPC_POWER_RTC = 0x0000000000000004ULL,
+ PPC_POWER_RTC = 0x0000000000000008ULL,
/* Power-to-PowerPC bridge (601) */
- PPC_POWER_BR = 0x0000000000000008ULL,
+ PPC_POWER_BR = 0x0000000000000010ULL,
/* 64 bits PowerPC instruction set */
- PPC_64B = 0x0000000000000010ULL,
+ PPC_64B = 0x0000000000000020ULL,
/* New 64 bits extensions (PowerPC 2.0x) */
- PPC_64BX = 0x0000000000000020ULL,
+ PPC_64BX = 0x0000000000000040ULL,
/* 64 bits hypervisor extensions */
- PPC_64H = 0x0000000000000040ULL,
+ PPC_64H = 0x0000000000000080ULL,
/* New wait instruction (PowerPC 2.0x) */
- PPC_WAIT = 0x0000000000000080ULL,
+ PPC_WAIT = 0x0000000000000100ULL,
/* Time base mftb instruction */
- PPC_MFTB = 0x0000000000000100ULL,
+ PPC_MFTB = 0x0000000000000200ULL,
/* Fixed-point unit extensions */
/* PowerPC 602 specific */
- PPC_602_SPEC = 0x0000000000000200ULL,
+ PPC_602_SPEC = 0x0000000000000400ULL,
/* PowerPC 2.03 specification extensions */
- PPC_203 = 0x0000000000000400ULL,
+ PPC_203 = 0x0000000000000800ULL,
/* Floating-point unit extensions */
/* Optional floating point instructions */