mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 11:39:53 +00:00
tcg: Don't declare TCG_TARGET_REG_BITS in tcg-target.h
It is now declared for all tcg targets in tcg.h, so the tcg target specific declarations are redundant. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
817b838e3c
commit
840f58617b
@ -24,7 +24,6 @@
|
||||
*/
|
||||
#define TCG_TARGET_ARM 1
|
||||
|
||||
#define TCG_TARGET_REG_BITS 32
|
||||
#undef TCG_TARGET_WORDS_BIGENDIAN
|
||||
#undef TCG_TARGET_STACK_GROWSUP
|
||||
|
||||
|
@ -24,9 +24,7 @@
|
||||
|
||||
#define TCG_TARGET_HPPA 1
|
||||
|
||||
#if defined(_PA_RISC1_1)
|
||||
#define TCG_TARGET_REG_BITS 32
|
||||
#else
|
||||
#if TCG_TARGET_REG_BITS != 32
|
||||
#error unsupported
|
||||
#endif
|
||||
|
||||
|
@ -24,8 +24,6 @@
|
||||
*/
|
||||
#define TCG_TARGET_IA64 1
|
||||
|
||||
#define TCG_TARGET_REG_BITS 64
|
||||
|
||||
/* We only map the first 64 registers */
|
||||
#define TCG_TARGET_NB_REGS 64
|
||||
enum {
|
||||
|
@ -25,7 +25,6 @@
|
||||
*/
|
||||
#define TCG_TARGET_MIPS 1
|
||||
|
||||
#define TCG_TARGET_REG_BITS 32
|
||||
#ifdef __MIPSEB__
|
||||
# define TCG_TARGET_WORDS_BIGENDIAN
|
||||
#endif
|
||||
|
@ -23,7 +23,6 @@
|
||||
*/
|
||||
#define TCG_TARGET_PPC 1
|
||||
|
||||
#define TCG_TARGET_REG_BITS 32
|
||||
#define TCG_TARGET_WORDS_BIGENDIAN
|
||||
#define TCG_TARGET_NB_REGS 32
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
*/
|
||||
#define TCG_TARGET_PPC64 1
|
||||
|
||||
#define TCG_TARGET_REG_BITS 64
|
||||
#define TCG_TARGET_WORDS_BIGENDIAN
|
||||
#define TCG_TARGET_NB_REGS 32
|
||||
|
||||
|
@ -23,12 +23,6 @@
|
||||
*/
|
||||
#define TCG_TARGET_S390 1
|
||||
|
||||
#ifdef __s390x__
|
||||
#define TCG_TARGET_REG_BITS 64
|
||||
#else
|
||||
#define TCG_TARGET_REG_BITS 32
|
||||
#endif
|
||||
|
||||
#define TCG_TARGET_WORDS_BIGENDIAN
|
||||
|
||||
typedef enum TCGReg {
|
||||
|
@ -23,12 +23,6 @@
|
||||
*/
|
||||
#define TCG_TARGET_SPARC 1
|
||||
|
||||
#if defined(__sparc_v9__) && !defined(__sparc_v8plus__)
|
||||
#define TCG_TARGET_REG_BITS 64
|
||||
#else
|
||||
#define TCG_TARGET_REG_BITS 32
|
||||
#endif
|
||||
|
||||
#define TCG_TARGET_WORDS_BIGENDIAN
|
||||
|
||||
#define TCG_TARGET_NB_REGS 32
|
||||
|
Loading…
Reference in New Issue
Block a user