target/*: Remove TARGET_LONG_BITS from cpu-param.h
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 31 Jan 2025 17:53:57 +0000 (09:53 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 8 Feb 2025 20:41:33 +0000 (12:41 -0800)
This is now handled by the configs/targets/*.mak fragment.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
19 files changed:
target/alpha/cpu-param.h
target/arm/cpu-param.h
target/avr/cpu-param.h
target/hexagon/cpu-param.h
target/hppa/cpu-param.h
target/i386/cpu-param.h
target/loongarch/cpu-param.h
target/m68k/cpu-param.h
target/microblaze/cpu-param.h
target/mips/cpu-param.h
target/openrisc/cpu-param.h
target/ppc/cpu-param.h
target/riscv/cpu-param.h
target/rx/cpu-param.h
target/s390x/cpu-param.h
target/sh4/cpu-param.h
target/sparc/cpu-param.h
target/tricore/cpu-param.h
target/xtensa/cpu-param.h

index c21ddf1afd02857346f0db2ce841210fb8266b94..ff06e41497a49f26eb7ed422fa5df422418f6cbf 100644 (file)
@@ -8,8 +8,6 @@
 #ifndef ALPHA_CPU_PARAM_H
 #define ALPHA_CPU_PARAM_H
 
-#define TARGET_LONG_BITS 64
-
 /* ??? EV4 has 34 phys addr bits, EV5 has 40, EV6 has 44.  */
 #define TARGET_PHYS_ADDR_SPACE_BITS  44
 
index bed29613c834a3580cfa15e910fa599fbb239e99..896b35bd6d56fca9de19c925b7ca138e41297855 100644 (file)
@@ -9,11 +9,9 @@
 #define ARM_CPU_PARAM_H
 
 #ifdef TARGET_AARCH64
-# define TARGET_LONG_BITS             64
 # define TARGET_PHYS_ADDR_SPACE_BITS  52
 # define TARGET_VIRT_ADDR_SPACE_BITS  52
 #else
-# define TARGET_LONG_BITS             32
 # define TARGET_PHYS_ADDR_SPACE_BITS  40
 # define TARGET_VIRT_ADDR_SPACE_BITS  32
 #endif
index 93c2f470d07ed8b8fbd3f8984c7d0e5624230fb3..81f3f49ee1fe0ee67837e3c1dd8e74274e3c1492 100644 (file)
@@ -21,7 +21,6 @@
 #ifndef AVR_CPU_PARAM_H
 #define AVR_CPU_PARAM_H
 
-#define TARGET_LONG_BITS 32
 /*
  * TARGET_PAGE_BITS cannot be more than 8 bits because
  * 1.  all IO registers occupy [0x0000 .. 0x00ff] address range, and they
index 71b4a9b83ec27a086fa67dacf07fef0cac09c36c..45ee7b46409c7a68b1fbb0d92f09fc2636be005a 100644 (file)
@@ -19,7 +19,6 @@
 #define HEXAGON_CPU_PARAM_H
 
 #define TARGET_PAGE_BITS 16     /* 64K pages */
-#define TARGET_LONG_BITS 32
 
 #define TARGET_PHYS_ADDR_SPACE_BITS 36
 #define TARGET_VIRT_ADDR_SPACE_BITS 32
index ef3200f0f3e1860495792c094e97bb0447bca513..7ed6b5741e7b1b56f73cba98da9d01fde3dca8c2 100644 (file)
@@ -8,8 +8,6 @@
 #ifndef HPPA_CPU_PARAM_H
 #define HPPA_CPU_PARAM_H
 
-#define TARGET_LONG_BITS              64
-
 #if defined(CONFIG_USER_ONLY) && defined(TARGET_ABI32)
 # define TARGET_PHYS_ADDR_SPACE_BITS  32
 # define TARGET_VIRT_ADDR_SPACE_BITS  32
index 8c75abe141192d203f4fdc9d3612d9e1490cee75..b0e884c5d704ab0197f1dd1d9db20bce029ac972 100644 (file)
@@ -9,7 +9,6 @@
 #define I386_CPU_PARAM_H
 
 #ifdef TARGET_X86_64
-# define TARGET_LONG_BITS             64
 # define TARGET_PHYS_ADDR_SPACE_BITS  52
 /*
  * ??? This is really 48 bits, sign-extended, but the only thing
@@ -18,7 +17,6 @@
  */
 # define TARGET_VIRT_ADDR_SPACE_BITS  47
 #else
-# define TARGET_LONG_BITS             32
 # define TARGET_PHYS_ADDR_SPACE_BITS  36
 # define TARGET_VIRT_ADDR_SPACE_BITS  32
 #endif
index db5ad1c69fafaf368ad7f0c960afecb5a96ddcf2..52437946e56ca566cb69415a2e8b975b2cdfd215 100644 (file)
@@ -8,7 +8,6 @@
 #ifndef LOONGARCH_CPU_PARAM_H
 #define LOONGARCH_CPU_PARAM_H
 
-#define TARGET_LONG_BITS 64
 #define TARGET_PHYS_ADDR_SPACE_BITS 48
 #define TARGET_VIRT_ADDR_SPACE_BITS 48
 
index 5bbe623ba74812be7547667868cf3e266b3a2338..7afbf6d302dd2708ce5ffdda93a395128ed9a706 100644 (file)
@@ -8,7 +8,6 @@
 #ifndef M68K_CPU_PARAM_H
 #define M68K_CPU_PARAM_H
 
-#define TARGET_LONG_BITS 32
 /*
  * Coldfire Linux uses 8k pages
  * and m68k linux uses 4k pages
index 00efb509e3db3b626608fba15ee787a6d990a31c..c866ec6c1495e80d88d0417561fb5f954982968b 100644 (file)
  * of address space.
  */
 #ifdef CONFIG_USER_ONLY
-#define TARGET_LONG_BITS 32
 #define TARGET_PHYS_ADDR_SPACE_BITS 32
 #define TARGET_VIRT_ADDR_SPACE_BITS 32
 #else
-#define TARGET_LONG_BITS 64
 #define TARGET_PHYS_ADDR_SPACE_BITS 64
 #define TARGET_VIRT_ADDR_SPACE_BITS 64
 #endif
index f3a37e2dbe92bb20e4deeae4bad709e4a499fbf7..11b3ac0ac630cfa4ec2346d8ff153daf6dfc6125 100644 (file)
@@ -7,11 +7,6 @@
 #ifndef MIPS_CPU_PARAM_H
 #define MIPS_CPU_PARAM_H
 
-#ifdef TARGET_MIPS64
-# define TARGET_LONG_BITS 64
-#else
-# define TARGET_LONG_BITS 32
-#endif
 #ifdef TARGET_ABI_MIPSN64
 #define TARGET_PHYS_ADDR_SPACE_BITS 48
 #define TARGET_VIRT_ADDR_SPACE_BITS 48
index 6169ed9f554222fadf98de3f210ce72697e33027..37627f2c394ffaac4c333e248abb3f585c14be0c 100644 (file)
@@ -8,7 +8,6 @@
 #ifndef OPENRISC_CPU_PARAM_H
 #define OPENRISC_CPU_PARAM_H
 
-#define TARGET_LONG_BITS 32
 #define TARGET_PAGE_BITS 13
 #define TARGET_PHYS_ADDR_SPACE_BITS 32
 #define TARGET_VIRT_ADDR_SPACE_BITS 32
index 9c481b9f6cf0996d8fe74f43778f7fbe779051ca..6c4525fdf3c44af2672ac36424876a09232c0b12 100644 (file)
@@ -9,7 +9,6 @@
 #define PPC_CPU_PARAM_H
 
 #ifdef TARGET_PPC64
-# define TARGET_LONG_BITS 64
 /*
  * Note that the official physical address space bits is 62-M where M
  * is implementation dependent.  I've not looked up M for the set of
@@ -27,7 +26,6 @@
 #  define TARGET_VIRT_ADDR_SPACE_BITS 64
 # endif
 #else
-# define TARGET_LONG_BITS 32
 # define TARGET_PHYS_ADDR_SPACE_BITS 36
 # define TARGET_VIRT_ADDR_SPACE_BITS 32
 #endif
index 25686192c097984d58baa938e5be4d28a294ecca..fba30e966a824742eedeb0c03de6356d3a11d246 100644 (file)
@@ -9,11 +9,9 @@
 #define RISCV_CPU_PARAM_H
 
 #if defined(TARGET_RISCV64)
-# define TARGET_LONG_BITS 64
 # define TARGET_PHYS_ADDR_SPACE_BITS 56 /* 44-bit PPN */
 # define TARGET_VIRT_ADDR_SPACE_BITS 48 /* sv48 */
 #elif defined(TARGET_RISCV32)
-# define TARGET_LONG_BITS 32
 # define TARGET_PHYS_ADDR_SPACE_BITS 34 /* 22-bit PPN */
 # define TARGET_VIRT_ADDR_SPACE_BITS 32 /* sv32 */
 #endif
index 521d669bdf79ff30ea7d508f71bd301931bed2ab..ef1970a09e93e4d702ed0ccd2da51f7a8f1dad4c 100644 (file)
@@ -19,7 +19,6 @@
 #ifndef RX_CPU_PARAM_H
 #define RX_CPU_PARAM_H
 
-#define TARGET_LONG_BITS 32
 #define TARGET_PAGE_BITS 12
 
 #define TARGET_PHYS_ADDR_SPACE_BITS 32
index a05ffcf78d4911470df2e8b8e95820a4a6dd0f93..5c331ec424c11cce92ca83d418dc6c67d8a9429d 100644 (file)
@@ -8,7 +8,6 @@
 #ifndef S390_CPU_PARAM_H
 #define S390_CPU_PARAM_H
 
-#define TARGET_LONG_BITS 64
 #define TARGET_PAGE_BITS 12
 #define TARGET_PHYS_ADDR_SPACE_BITS 64
 #define TARGET_VIRT_ADDR_SPACE_BITS 64
index a30ba992b37c243ef43c5f451f51ea9487866ed3..2b6e11dd0acab6dcf549fed157775ca2d9ca9806 100644 (file)
@@ -8,7 +8,6 @@
 #ifndef SH4_CPU_PARAM_H
 #define SH4_CPU_PARAM_H
 
-#define TARGET_LONG_BITS 32
 #define TARGET_PAGE_BITS 12  /* 4k */
 #define TARGET_PHYS_ADDR_SPACE_BITS  32
 #ifdef CONFIG_USER_ONLY
index 14105dc18b4e9e894e1ee3b1375db39103ff3082..6952ee2b82663705961a1c2bca92f916ef81d0e9 100644 (file)
@@ -8,7 +8,6 @@
 #define SPARC_CPU_PARAM_H
 
 #ifdef TARGET_SPARC64
-# define TARGET_LONG_BITS 64
 # define TARGET_PAGE_BITS 13 /* 8k */
 # define TARGET_PHYS_ADDR_SPACE_BITS  41
 # ifdef TARGET_ABI32
@@ -17,7 +16,6 @@
 #  define TARGET_VIRT_ADDR_SPACE_BITS 44
 # endif
 #else
-# define TARGET_LONG_BITS 32
 # define TARGET_PAGE_BITS 12 /* 4k */
 # define TARGET_PHYS_ADDR_SPACE_BITS 36
 # define TARGET_VIRT_ADDR_SPACE_BITS 32
index e29d551dd6763afda4bdeecd903bec6ec8481506..790242ef3d222295816638f5343e84756dd14e71 100644 (file)
@@ -8,7 +8,6 @@
 #ifndef TRICORE_CPU_PARAM_H
 #define TRICORE_CPU_PARAM_H
 
-#define TARGET_LONG_BITS 32
 #define TARGET_PAGE_BITS 14
 #define TARGET_PHYS_ADDR_SPACE_BITS 32
 #define TARGET_VIRT_ADDR_SPACE_BITS 32
index 0000725f2f9009e4aff7eef111455bf832c3a891..5e4848ad059c6eea2dfc1a4e5d05c96f2b1c8325 100644 (file)
@@ -8,7 +8,6 @@
 #ifndef XTENSA_CPU_PARAM_H
 #define XTENSA_CPU_PARAM_H
 
-#define TARGET_LONG_BITS 32
 #define TARGET_PAGE_BITS 12
 #define TARGET_PHYS_ADDR_SPACE_BITS 32
 #ifdef CONFIG_USER_ONLY