• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révision1b2af6a41e68e6deac7c54183131e01cf34584b5 (tree)
l'heure2022-11-05 12:04:23
AuteurMike Frysinger <vapier@gent...>
CommiterMike Frysinger

Message de Log

sim: ppc: delete unused host bitsize settings

Nothing checks this define anywhere, so drop all the logic. We don't
want this to be a configure option in the first place as all such usage
should be automatic & following proper types.

Change Summary

Modification

--- a/sim/ppc/configure
+++ b/sim/ppc/configure
@@ -717,7 +717,6 @@ enable_sim_duplicate
717717 enable_sim_filter
718718 enable_sim_float
719719 enable_sim_hardware
720-enable_sim_hostbitsize
721720 enable_sim_icache
722721 enable_sim_jump
723722 enable_sim_line_nr
@@ -1358,7 +1357,6 @@ Optional Features:
13581357 --enable-sim-filter=rule Specify filter rules.
13591358 --enable-sim-float Specify whether the target has hard, soft, altivec or e500 floating point.
13601359 --enable-sim-hardware=list Specify the hardware to be included in the build.
1361- --enable-sim-hostbitsize=32|64 Specify host bitsize (32 or 64).
13621360 --enable-sim-icache=size Specify instruction-decode cache size and type.
13631361 --enable-sim-jump Jump between semantic code (instead of call/return).
13641362 --enable-sim-line-nr=opts Generate extra CPP code that references source rather than generated code
@@ -3346,19 +3344,6 @@ if test x"$silent" != x"yes"; then
33463344 fi
33473345 fi
33483346
3349-# Check whether --enable-sim-hostbitsize was given.
3350-if test "${enable_sim_hostbitsize+set}" = set; then :
3351- enableval=$enable_sim_hostbitsize; case "${enableval}" in
3352- 32|64) sim_hostbitsize="-DWITH_HOST_WORD_BITSIZE=$enableval";;
3353- *) as_fn_error $? "\"--enable-sim-hostbitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5; sim_hostbitsize="";;
3354-esac
3355-if test x"$silent" != x"yes" && test x"$sim_hostbitsize" != x""; then
3356- echo "Setting hostbitsize flags = $sim_hostbitsize" 6>&1
3357-fi
3358-else
3359- sim_hostbitsize=""
3360-fi
3361-
33623347
33633348 # Check whether --enable-sim-icache was given.
33643349 if test "${enable_sim_icache+set}" = set; then :
--- a/sim/ppc/configure.ac
+++ b/sim/ppc/configure.ac
@@ -214,16 +214,6 @@ if test x"$silent" != x"yes"; then
214214 echo "Setting hardware to $sim_hw_src, $sim_hw_obj"
215215 fi])dnl
216216
217-AC_ARG_ENABLE(sim-hostbitsize,
218-[ --enable-sim-hostbitsize=32|64 Specify host bitsize (32 or 64).],
219-[case "${enableval}" in
220- 32|64) sim_hostbitsize="-DWITH_HOST_WORD_BITSIZE=$enableval";;
221- *) AC_MSG_ERROR("--enable-sim-hostbitsize was given $enableval. Expected 32 or 64"); sim_hostbitsize="";;
222-esac
223-if test x"$silent" != x"yes" && test x"$sim_hostbitsize" != x""; then
224- echo "Setting hostbitsize flags = $sim_hostbitsize" 6>&1
225-fi],[sim_hostbitsize=""])dnl
226-
227217
228218 AC_ARG_ENABLE(sim-icache,
229219 [ --enable-sim-icache=size Specify instruction-decode cache size and type.],
--- a/sim/ppc/options.c
+++ b/sim/ppc/options.c
@@ -114,7 +114,6 @@ print_options (void)
114114 printf_filtered ("WITH_TARGET_BYTE_ORDER = %s\n", options_byte_order (WITH_TARGET_BYTE_ORDER));
115115 printf_filtered ("WITH_XOR_ENDIAN = %d\n", WITH_XOR_ENDIAN);
116116 printf_filtered ("WITH_SMP = %d\n", WITH_SMP);
117- printf_filtered ("WITH_HOST_WORD_BITSIZE = %d\n", WITH_HOST_WORD_BITSIZE);
118117 printf_filtered ("WITH_TARGET_WORD_BITSIZE = %d\n", WITH_TARGET_WORD_BITSIZE);
119118 printf_filtered ("WITH_ENVIRONMENT = %s\n", options_env(WITH_ENVIRONMENT));
120119 printf_filtered ("WITH_EVENTS = %d\n", WITH_EVENTS);
--- a/sim/ppc/std-config.h
+++ b/sim/ppc/std-config.h
@@ -79,9 +79,9 @@ extern enum bfd_endian current_target_byte_order;
7979 #endif
8080
8181
82-/* Word size of host/target:
82+/* Word size of target:
8383
84- Set these according to your host and target requirements. At this
84+ Set these according to your target requirements. At this
8585 point in time, I've only compiled (not run) for a 64bit and never
8686 built for a 64bit host. This will always remain a compile time
8787 option */
@@ -90,10 +90,6 @@ extern enum bfd_endian current_target_byte_order;
9090 #define WITH_TARGET_WORD_BITSIZE 32 /* compiled only */
9191 #endif
9292
93-#ifndef WITH_HOST_WORD_BITSIZE
94-#define WITH_HOST_WORD_BITSIZE 32 /* 64bit ready? */
95-#endif
96-
9793
9894 /* Program environment:
9995