diff options
author | Cédric Le Goater <clg@kaod.org> | 2022-01-24 18:41:30 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2022-01-28 21:38:17 +0100 |
commit | 4537d62dcece45183632298272abfb4859418cc0 (patch) | |
tree | 09a4d3c57be472ba26c4da0028ede6b64e6ade96 /target/ppc/int_helper.c | |
parent | f82db77761806613a62f622db9c1ca613ae1e6ed (diff) | |
download | qemu-4537d62dcece45183632298272abfb4859418cc0.zip qemu-4537d62dcece45183632298272abfb4859418cc0.tar.gz qemu-4537d62dcece45183632298272abfb4859418cc0.tar.bz2 |
target/ppc: Remove support for the PowerPC 602 CPU
The 602 was derived from the PowerPC 603, for the gaming market it
seems. It was hardly used and no firmware supporting the CPU could be
found. Drop support.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'target/ppc/int_helper.c')
-rw-r--r-- | target/ppc/int_helper.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/target/ppc/int_helper.c b/target/ppc/int_helper.c index 9bc327b..d7765fd 100644 --- a/target/ppc/int_helper.c +++ b/target/ppc/int_helper.c @@ -489,27 +489,6 @@ target_ulong helper_divso(CPUPPCState *env, target_ulong arg1, } /*****************************************************************************/ -/* 602 specific instructions */ -/* mfrom is the most crazy instruction ever seen, imho ! */ -/* Real implementation uses a ROM table. Do the same */ -/* - * Extremely decomposed: - * -arg / 256 - * return 256 * log10(10 + 1.0) + 0.5 - */ -#if !defined(CONFIG_USER_ONLY) -target_ulong helper_602_mfrom(target_ulong arg) -{ - if (likely(arg < 602)) { -#include "mfrom_table.c.inc" - return mfrom_ROM_table[arg]; - } else { - return 0; - } -} -#endif - -/*****************************************************************************/ /* Altivec extension helpers */ #if defined(HOST_WORDS_BIGENDIAN) #define VECTOR_FOR_INORDER_I(index, element) \ |