diff options
Diffstat (limited to 'sim/ppc/configure')
-rwxr-xr-x | sim/ppc/configure | 447 |
1 files changed, 225 insertions, 222 deletions
diff --git a/sim/ppc/configure b/sim/ppc/configure index 2c20e13..2eaa70a 100755 --- a/sim/ppc/configure +++ b/sim/ppc/configure @@ -584,26 +584,26 @@ PACKAGE_URL= ac_unique_file="Makefile.in" ac_subst_vars='LTLIBOBJS LIBOBJS -sim_model_issue -sim_default_model -sim_model -sim_monitor -sim_float -sim_timebase -sim_bitsize -sim_igen_smp -sim_smp -sim_xor_endian -sim_hw_obj -sim_hw_src -sim_icache -sim_filter -sim_jump -sim_decode_mechanism -sim_dup -sim_switch -sim_opcode -sim_line_nr +sim_ppc_model_issue +sim_ppc_default_model +sim_ppc_model +sim_ppc_monitor +sim_ppc_float +sim_ppc_timebase +sim_ppc_bitsize +sim_ppc_igen_smp +sim_ppc_smp +sim_ppc_xor_endian +sim_ppc_hw_obj +sim_ppc_hw_src +sim_ppc_icache +sim_ppc_filter +sim_ppc_jump +sim_ppc_decode_mechanism +sim_ppc_dup +sim_ppc_switch +sim_ppc_opcode +sim_ppc_line_nr target_alias host_alias build_alias @@ -645,24 +645,24 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking -enable_sim_bitsize -enable_sim_decode_mechanism -enable_sim_default_model -enable_sim_duplicate -enable_sim_filter -enable_sim_float -enable_sim_hardware -enable_sim_icache -enable_sim_jump -enable_sim_line_nr -enable_sim_model -enable_sim_model_issue -enable_sim_monitor -enable_sim_opcode -enable_sim_smp -enable_sim_switch -enable_sim_timebase -enable_sim_xor_endian +enable_sim_ppc_bitsize +enable_sim_ppc_decode_mechanism +enable_sim_ppc_default_model +enable_sim_ppc_duplicate +enable_sim_ppc_filter +enable_sim_ppc_float +enable_sim_ppc_hardware +enable_sim_ppc_icache +enable_sim_ppc_jump +enable_sim_ppc_line_nr +enable_sim_ppc_model +enable_sim_ppc_model_issue +enable_sim_ppc_monitor +enable_sim_ppc_opcode +enable_sim_ppc_smp +enable_sim_ppc_switch +enable_sim_ppc_timebase +enable_sim_ppc_xor_endian ' ac_precious_vars='build_alias host_alias @@ -1274,37 +1274,40 @@ Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --enable-sim-bitsize=n Specify target bitsize (32 or 64). - --enable-sim-decode-mechanism=which + --enable-sim-ppc-bitsize=n + Specify target bitsize (32 or 64). + --enable-sim-ppc-decode-mechanism=which Specify the instruction decode mechanism. - --enable-sim-default-model=which + --enable-sim-ppc-default-model=which Specify default PowerPC to model. - --enable-sim-duplicate Expand (duplicate) semantic functions. - --enable-sim-filter=rule + --enable-sim-ppc-duplicate + Expand (duplicate) semantic functions. + --enable-sim-ppc-filter=rule Specify filter rules. - --enable-sim-float Specify whether the target has hard, soft, altivec + --enable-sim-ppc-float Specify whether the target has hard, soft, altivec or e500 floating point. - --enable-sim-hardware=list + --enable-sim-ppc-hardware=list Specify the hardware to be included in the build. - --enable-sim-icache=size + --enable-sim-ppc-icache=size Specify instruction-decode cache size and type. - --enable-sim-jump Jump between semantic code (instead of call/return). - --enable-sim-line-nr=opts + --enable-sim-ppc-jump Jump between semantic code (instead of call/return). + --enable-sim-ppc-line-nr=opts Generate extra CPP code that references source rather than generated code - --enable-sim-model=which + --enable-sim-ppc-model=which Specify PowerPC to model. - --enable-sim-model-issue + --enable-sim-ppc-model-issue Specify whether to simulate model specific actions - --enable-sim-monitor=mon + --enable-sim-ppc-monitor=mon Specify whether to enable monitoring events. - --enable-sim-opcode=which + --enable-sim-ppc-opcode=which Override default opcode lookup. - --enable-sim-smp=n Specify number of processors to configure for. - --enable-sim-switch Use a switch instead of a table for instruction + --enable-sim-ppc-smp=n Specify number of processors to configure for. + --enable-sim-ppc-switch Use a switch instead of a table for instruction call. - --enable-sim-timebase Specify whether the PPC timebase is supported. - --enable-sim-xor-endian=n + --enable-sim-ppc-timebase + Specify whether the PPC timebase is supported. + --enable-sim-ppc-xor-endian=n Specify number bytes involved in PowerPC XOR bi-endian mode (default 8). @@ -1740,316 +1743,316 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc bitsize settings" >&5 $as_echo_n "checking for sim ppc bitsize settings... " >&6; } -# Check whether --enable-sim-bitsize was given. -if test "${enable_sim_bitsize+set}" = set; then : - enableval=$enable_sim_bitsize; case "${enableval}" in - 32|64) sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=$enableval";; - *) as_fn_error $? "\"--enable-sim-bitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5;; +# Check whether --enable-sim-ppc-bitsize was given. +if test "${enable_sim_ppc_bitsize+set}" = set; then : + enableval=$enable_sim_ppc_bitsize; case "${enableval}" in + 32|64) sim_ppc_bitsize="-DWITH_TARGET_WORD_BITSIZE=$enableval";; + *) as_fn_error $? "\"--enable-sim-ppc-bitsize was given $enableval. Expected 32 or 64\"" "$LINENO" 5;; esac else - sim_bitsize="" + sim_ppc_bitsize="" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_bitsize" >&5 -$as_echo "$sim_bitsize" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_bitsize" >&5 +$as_echo "$sim_ppc_bitsize" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc decode mechanism" >&5 $as_echo_n "checking for sim ppc decode mechanism... " >&6; } -# Check whether --enable-sim-decode-mechanism was given. -if test "${enable_sim_decode_mechanism+set}" = set; then : - enableval=$enable_sim_decode_mechanism; case "${enableval}" in - yes|no) as_fn_error $? "\"No value supplied for --enable-sim-decode-mechanism=file\"" "$LINENO" 5;; - array|switch|padded-switch|goto-switch) sim_decode_mechanism="-T ${enableval}";; +# Check whether --enable-sim-ppc-decode-mechanism was given. +if test "${enable_sim_ppc_decode_mechanism+set}" = set; then : + enableval=$enable_sim_ppc_decode_mechanism; case "${enableval}" in + yes|no) as_fn_error $? "\"No value supplied for --enable-sim-ppc-decode-mechanism=file\"" "$LINENO" 5;; + array|switch|padded-switch|goto-switch) sim_ppc_decode_mechanism="-T ${enableval}";; *) as_fn_error $? "\"File $enableval is not an opcode rules file\"" "$LINENO" 5;; esac else - sim_decode_mechanism="" + sim_ppc_decode_mechanism="" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_decode_mechanism" >&5 -$as_echo "$sim_decode_mechanism" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_decode_mechanism" >&5 +$as_echo "$sim_ppc_decode_mechanism" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc default model" >&5 $as_echo_n "checking for sim ppc default model... " >&6; } -# Check whether --enable-sim-default-model was given. -if test "${enable_sim_default_model+set}" = set; then : - enableval=$enable_sim_default_model; case "${enableval}" in - yes|no) as_fn_error $? "\"No value supplied for --enable-sim-default-model=model\"" "$LINENO" 5;; - *) sim_default_model="-DWITH_DEFAULT_MODEL=${enableval}";; +# Check whether --enable-sim-ppc-default-model was given. +if test "${enable_sim_ppc_default_model+set}" = set; then : + enableval=$enable_sim_ppc_default_model; case "${enableval}" in + yes|no) as_fn_error $? "\"No value supplied for --enable-sim-ppc-default-model=model\"" "$LINENO" 5;; + *) sim_ppc_default_model="-DWITH_DEFAULT_MODEL=${enableval}";; esac else - sim_default_model="" + sim_ppc_default_model="" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_default_model" >&5 -$as_echo "$sim_default_model" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_default_model" >&5 +$as_echo "$sim_ppc_default_model" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc duplicate settings" >&5 $as_echo_n "checking for sim ppc duplicate settings... " >&6; } -# Check whether --enable-sim-duplicate was given. -if test "${enable_sim_duplicate+set}" = set; then : - enableval=$enable_sim_duplicate; case "${enableval}" in - yes) sim_dup="-E";; - no) sim_dup="";; - *) as_fn_error $? "\"--enable-sim-duplicate does not take a value\"" "$LINENO" 5;; +# Check whether --enable-sim-ppc-duplicate was given. +if test "${enable_sim_ppc_duplicate+set}" = set; then : + enableval=$enable_sim_ppc_duplicate; case "${enableval}" in + yes) sim_ppc_dup="-E";; + no) sim_ppc_dup="";; + *) as_fn_error $? "\"--enable-sim-ppc-duplicate does not take a value\"" "$LINENO" 5;; esac else - sim_dup="-E" + sim_ppc_dup="-E" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_dup" >&5 -$as_echo "$sim_dup" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_dup" >&5 +$as_echo "$sim_ppc_dup" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc filter rules" >&5 $as_echo_n "checking for sim ppc filter rules... " >&6; } -# Check whether --enable-sim-filter was given. -if test "${enable_sim_filter+set}" = set; then : - enableval=$enable_sim_filter; case "${enableval}" in - yes) as_fn_error $? "\"--enable-sim-filter must be specified with a rule to filter or no\"" "$LINENO" 5;; - no) sim_filter="";; - *) sim_filter="-F $enableval";; +# Check whether --enable-sim-ppc-filter was given. +if test "${enable_sim_ppc_filter+set}" = set; then : + enableval=$enable_sim_ppc_filter; case "${enableval}" in + yes) as_fn_error $? "\"--enable-sim-ppc-filter must be specified with a rule to filter or no\"" "$LINENO" 5;; + no) sim_ppc_filter="";; + *) sim_ppc_filter="-F $enableval";; esac else - sim_filter="-F 32,f,o" + sim_ppc_filter="-F 32,f,o" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_filter" >&5 -$as_echo "$sim_filter" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_filter" >&5 +$as_echo "$sim_ppc_filter" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc float settings" >&5 $as_echo_n "checking for sim ppc float settings... " >&6; } -# Check whether --enable-sim-float was given. -if test "${enable_sim_float+set}" = set; then : - enableval=$enable_sim_float; case "${enableval}" in - yes | hard) sim_float="-DWITH_FLOATING_POINT=HARD_FLOATING_POINT";; - no | soft) sim_float="-DWITH_FLOATING_POINT=SOFT_FLOATING_POINT";; - altivec) sim_float="-DWITH_ALTIVEC" ; sim_filter="${sim_filter},av" ;; - *spe*|*simd*) sim_float="-DWITH_E500" ; sim_filter="${sim_filter},e500" ;; - *) as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-float\"" "$LINENO" 5;; +# Check whether --enable-sim-ppc-float was given. +if test "${enable_sim_ppc_float+set}" = set; then : + enableval=$enable_sim_ppc_float; case "${enableval}" in + yes | hard) sim_ppc_float="-DWITH_FLOATING_POINT=HARD_FLOATING_POINT";; + no | soft) sim_ppc_float="-DWITH_FLOATING_POINT=SOFT_FLOATING_POINT";; + altivec) sim_ppc_float="-DWITH_ALTIVEC" ; sim_ppc_filter="${sim_ppc_filter},av" ;; + *spe*|*simd*) sim_ppc_float="-DWITH_E500" ; sim_ppc_filter="${sim_ppc_filter},e500" ;; + *) as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-ppc-float\"" "$LINENO" 5;; esac else case "${target}" in - *altivec*) sim_float="-DWITH_ALTIVEC" ; sim_filter="${sim_filter},av" ;; - *spe*|*simd*) sim_float="-DWITH_E500" ; sim_filter="${sim_filter},e500" ;; - *) sim_float="" + *altivec*) sim_ppc_float="-DWITH_ALTIVEC" ; sim_ppc_filter="${sim_ppc_filter},av" ;; + *spe*|*simd*) sim_ppc_float="-DWITH_E500" ; sim_ppc_filter="${sim_ppc_filter},e500" ;; + *) sim_ppc_float="" esac fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_float" >&5 -$as_echo "$sim_float" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_float" >&5 +$as_echo "$sim_ppc_float" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc hardware settings" >&5 $as_echo_n "checking for sim ppc hardware settings... " >&6; } hardware="cpu,memory,nvram,iobus,htab,disk,trace,register,vm,init,core,pal,com,eeprom,opic,glue,phb,ide,sem,shm" -# Check whether --enable-sim-hardware was given. -if test "${enable_sim_hardware+set}" = set; then : - enableval=$enable_sim_hardware; case "${enableval}" in +# Check whether --enable-sim-ppc-hardware was given. +if test "${enable_sim_ppc_hardware+set}" = set; then : + enableval=$enable_sim_ppc_hardware; case "${enableval}" in yes) ;; - no) as_fn_error $? "\"List of hardware must be specified for --enable-sim-hardware\"" "$LINENO" 5;; + no) as_fn_error $? "\"List of hardware must be specified for --enable-sim-ppc-hardware\"" "$LINENO" 5;; ,*) hardware="${hardware}${enableval}";; *,) hardware="${enableval}${hardware}";; *) hardware="${enableval}"'';; esac fi -sim_hw_src=`echo $hardware | sed -e 's/,/.c hw_/g' -e 's/^/hw_/' -e s'/$/.c/'` -sim_hw_obj=`echo $sim_hw_src | sed -e 's/\.c/.o/g'` +sim_ppc_hw_src=`echo $hardware | sed -e 's/,/.c hw_/g' -e 's/^/hw_/' -e s'/$/.c/'` +sim_ppc_hw_obj=`echo $sim_ppc_hw_src | sed -e 's/\.c/.o/g'` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardware" >&5 $as_echo "$hardware" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc icache settings" >&5 $as_echo_n "checking for sim ppc icache settings... " >&6; } -# Check whether --enable-sim-icache was given. -if test "${enable_sim_icache+set}" = set; then : - enableval=$enable_sim_icache; icache="-R" +# Check whether --enable-sim-ppc-icache was given. +if test "${enable_sim_ppc_icache+set}" = set; then : + enableval=$enable_sim_ppc_icache; icache="-R" case "${enableval}" in - yes) icache="1024"; sim_icache="-I $icache";; - no) sim_icache="-R";; + yes) icache="1024"; sim_ppc_icache="-I $icache";; + no) sim_ppc_icache="-R";; *) icache=1024 - sim_icache="-" + sim_ppc_icache="-" for x in `echo "${enableval}" | sed -e "s/,/ /g"`; do case "$x" in - define) sim_icache="${sim_icache}R";; - semantic) sim_icache="${sim_icache}C";; - insn) sim_icache="${sim_icache}S";; + define) sim_ppc_icache="${sim_ppc_icache}R";; + semantic) sim_ppc_icache="${sim_ppc_icache}C";; + insn) sim_ppc_icache="${sim_ppc_icache}S";; 0*|1*|2*|3*|4*|5*|6*|7*|8*|9*) icache=$x;; - *) as_fn_error $? "\"Unknown value $x for --enable-sim-icache\"" "$LINENO" 5;; + *) as_fn_error $? "\"Unknown value $x for --enable-sim-ppc-icache\"" "$LINENO" 5;; esac done - sim_icache="${sim_icache}I $icache";; + sim_ppc_icache="${sim_ppc_icache}I $icache";; esac else - sim_icache="-CSRI 1024" + sim_ppc_icache="-CSRI 1024" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_icache" >&5 -$as_echo "$sim_icache" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_icache" >&5 +$as_echo "$sim_ppc_icache" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc jump settings" >&5 $as_echo_n "checking for sim ppc jump settings... " >&6; } -# Check whether --enable-sim-jump was given. -if test "${enable_sim_jump+set}" = set; then : - enableval=$enable_sim_jump; case "${enableval}" in - yes) sim_jump="-J";; - no) sim_jump="";; - *) as_fn_error $? "\"--enable-sim-jump does not take a value\"" "$LINENO" 5;; +# Check whether --enable-sim-ppc-jump was given. +if test "${enable_sim_ppc_jump+set}" = set; then : + enableval=$enable_sim_ppc_jump; case "${enableval}" in + yes) sim_ppc_jump="-J";; + no) sim_ppc_jump="";; + *) as_fn_error $? "\"--enable-sim-ppc-jump does not take a value\"" "$LINENO" 5;; esac else - sim_jump="" + sim_ppc_jump="" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_jump" >&5 -$as_echo "$sim_jump" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_jump" >&5 +$as_echo "$sim_ppc_jump" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc source debug line numbers" >&5 $as_echo_n "checking for sim ppc source debug line numbers... " >&6; } -# Check whether --enable-sim-line-nr was given. -if test "${enable_sim_line_nr+set}" = set; then : - enableval=$enable_sim_line_nr; case "${enableval}" in - yes) sim_line_nr="";; - no) sim_line_nr="-L";; - *) as_fn_error $? "\"--enable-sim-line-nr does not take a value\"" "$LINENO" 5;; +# Check whether --enable-sim-ppc-line-nr was given. +if test "${enable_sim_ppc_line_nr+set}" = set; then : + enableval=$enable_sim_ppc_line_nr; case "${enableval}" in + yes) sim_ppc_line_nr="";; + no) sim_ppc_line_nr="-L";; + *) as_fn_error $? "\"--enable-sim-ppc-line-nr does not take a value\"" "$LINENO" 5;; esac else - sim_line_nr="" + sim_ppc_line_nr="" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_line_nr" >&5 -$as_echo "$sim_line_nr" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_line_nr" >&5 +$as_echo "$sim_ppc_line_nr" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc model" >&5 $as_echo_n "checking for sim ppc model... " >&6; } -# Check whether --enable-sim-model was given. -if test "${enable_sim_model+set}" = set; then : - enableval=$enable_sim_model; case "${enableval}" in - yes|no) as_fn_error $? "\"No value supplied for --enable-sim-model=model\"" "$LINENO" 5;; - *) sim_model="-DWITH_MODEL=${enableval}";; +# Check whether --enable-sim-ppc-model was given. +if test "${enable_sim_ppc_model+set}" = set; then : + enableval=$enable_sim_ppc_model; case "${enableval}" in + yes|no) as_fn_error $? "\"No value supplied for --enable-sim-ppc-model=model\"" "$LINENO" 5;; + *) sim_ppc_model="-DWITH_MODEL=${enableval}";; esac else - sim_model="" + sim_ppc_model="" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_model" >&5 -$as_echo "$sim_model" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_model" >&5 +$as_echo "$sim_ppc_model" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc model issue" >&5 $as_echo_n "checking for sim ppc model issue... " >&6; } -# Check whether --enable-sim-model-issue was given. -if test "${enable_sim_model_issue+set}" = set; then : - enableval=$enable_sim_model_issue; case "${enableval}" in - yes) sim_model_issue="-DWITH_MODEL_ISSUE=MODEL_ISSUE_PROCESS";; - no) sim_model_issue="-DWITH_MODEL_ISSUE=MODEL_ISSUE_IGNORE";; - *) as_fn_error $? "\"--enable-sim-model-issue does not take a value\"" "$LINENO" 5;; +# Check whether --enable-sim-ppc-model-issue was given. +if test "${enable_sim_ppc_model_issue+set}" = set; then : + enableval=$enable_sim_ppc_model_issue; case "${enableval}" in + yes) sim_ppc_model_issue="-DWITH_MODEL_ISSUE=MODEL_ISSUE_PROCESS";; + no) sim_ppc_model_issue="-DWITH_MODEL_ISSUE=MODEL_ISSUE_IGNORE";; + *) as_fn_error $? "\"--enable-sim-ppc-model-issue does not take a value\"" "$LINENO" 5;; esac else - sim_model_issue="" + sim_ppc_model_issue="" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_model_issue" >&5 -$as_echo "$sim_model_issue" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_model_issue" >&5 +$as_echo "$sim_ppc_model_issue" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc event monitoring" >&5 $as_echo_n "checking for sim ppc event monitoring... " >&6; } -# Check whether --enable-sim-monitor was given. -if test "${enable_sim_monitor+set}" = set; then : - enableval=$enable_sim_monitor; case "${enableval}" in - yes) sim_monitor="-DWITH_MON='MONITOR_INSTRUCTION_ISSUE | MONITOR_LOAD_STORE_UNIT'";; - no) sim_monitor="-DWITH_MON=0";; - instruction) sim_monitor="-DWITH_MON=MONITOR_INSTRUCTION_ISSUE";; - memory) sim_monitor="-DWITH_MON=MONITOR_LOAD_STORE_UNIT";; - *) as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-mon\"" "$LINENO" 5;; +# Check whether --enable-sim-ppc-monitor was given. +if test "${enable_sim_ppc_monitor+set}" = set; then : + enableval=$enable_sim_ppc_monitor; case "${enableval}" in + yes) sim_ppc_monitor="-DWITH_MON='MONITOR_INSTRUCTION_ISSUE | MONITOR_LOAD_STORE_UNIT'";; + no) sim_ppc_monitor="-DWITH_MON=0";; + instruction) sim_ppc_monitor="-DWITH_MON=MONITOR_INSTRUCTION_ISSUE";; + memory) sim_ppc_monitor="-DWITH_MON=MONITOR_LOAD_STORE_UNIT";; + *) as_fn_error $? "\"Unknown value $enableval passed to --enable-sim-ppc-mon\"" "$LINENO" 5;; esac else - sim_monitor="" + sim_ppc_monitor="" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_monitor" >&5 -$as_echo "$sim_monitor" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_monitor" >&5 +$as_echo "$sim_ppc_monitor" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc opcode lookup settings" >&5 $as_echo_n "checking for sim ppc opcode lookup settings... " >&6; } -# Check whether --enable-sim-opcode was given. -if test "${enable_sim_opcode+set}" = set; then : - enableval=$enable_sim_opcode; case "${enableval}" in - yes|no) as_fn_error $? "\"No value supplied for --enable-sim-opcode=file\"" "$LINENO" 5;; +# Check whether --enable-sim-ppc-opcode was given. +if test "${enable_sim_ppc_opcode+set}" = set; then : + enableval=$enable_sim_ppc_opcode; case "${enableval}" in + yes|no) as_fn_error $? "\"No value supplied for --enable-sim-ppc-opcode=file\"" "$LINENO" 5;; *) if test -f "${srcdir}/${enableval}"; then - sim_opcode="${enableval}" + sim_ppc_opcode="${enableval}" elif test -f "${srcdir}/dc-${enableval}"; then - sim_opcode="dc-${enableval}" + sim_ppc_opcode="dc-${enableval}" else as_fn_error $? "\"File $enableval is not an opcode rules file\"" "$LINENO" 5 fi;; esac else - sim_opcode="dc-complex" + sim_ppc_opcode="dc-complex" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_opcode" >&5 -$as_echo "$sim_opcode" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_opcode" >&5 +$as_echo "$sim_ppc_opcode" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc smp settings" >&5 $as_echo_n "checking for sim ppc smp settings... " >&6; } -# Check whether --enable-sim-smp was given. -if test "${enable_sim_smp+set}" = set; then : - enableval=$enable_sim_smp; case "${enableval}" in - yes) sim_smp="-DWITH_SMP=5" ; sim_igen_smp="-N 5";; - no) sim_smp="-DWITH_SMP=0" ; sim_igen_smp="-N 0";; - *) sim_smp="-DWITH_SMP=$enableval" ; sim_igen_smp="-N $enableval";; +# Check whether --enable-sim-ppc-smp was given. +if test "${enable_sim_ppc_smp+set}" = set; then : + enableval=$enable_sim_ppc_smp; case "${enableval}" in + yes) sim_ppc_smp="-DWITH_SMP=5" ; sim_ppc_igen_smp="-N 5";; + no) sim_ppc_smp="-DWITH_SMP=0" ; sim_ppc_igen_smp="-N 0";; + *) sim_ppc_smp="-DWITH_SMP=$enableval" ; sim_ppc_igen_smp="-N $enableval";; esac else - sim_smp="-DWITH_SMP=5" ; sim_igen_smp="-N 5" + sim_ppc_smp="-DWITH_SMP=5" ; sim_ppc_igen_smp="-N 5" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_smp" >&5 -$as_echo "$sim_smp" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_smp" >&5 +$as_echo "$sim_ppc_smp" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc switch table settings" >&5 $as_echo_n "checking for sim ppc switch table settings... " >&6; } -# Check whether --enable-sim-switch was given. -if test "${enable_sim_switch+set}" = set; then : - enableval=$enable_sim_switch; case "${enableval}" in - yes) sim_switch="-DWITH_SPREG_SWITCH_TABLE";; - no) sim_switch="";; - *) as_fn_error $? "\"--enable-sim-switch does not take a value\"" "$LINENO" 5;; +# Check whether --enable-sim-ppc-switch was given. +if test "${enable_sim_ppc_switch+set}" = set; then : + enableval=$enable_sim_ppc_switch; case "${enableval}" in + yes) sim_ppc_switch="-DWITH_SPREG_SWITCH_TABLE";; + no) sim_ppc_switch="";; + *) as_fn_error $? "\"--enable-sim-ppc-switch does not take a value\"" "$LINENO" 5;; esac else - sim_switch="" + sim_ppc_switch="" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_switch" >&5 -$as_echo "$sim_switch" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_switch" >&5 +$as_echo "$sim_ppc_switch" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc timebase" >&5 $as_echo_n "checking for sim ppc timebase... " >&6; } -# Check whether --enable-sim-timebase was given. -if test "${enable_sim_timebase+set}" = set; then : - enableval=$enable_sim_timebase; case "${enableval}" in - yes) sim_timebase="-DWITH_TIME_BASE=1";; - no) sim_timebase="-DWITH_TIME_BASE=0";; - *) as_fn_error $? "\"--enable-sim-timebase does not take a value\"" "$LINENO" 5;; +# Check whether --enable-sim-ppc-timebase was given. +if test "${enable_sim_ppc_timebase+set}" = set; then : + enableval=$enable_sim_ppc_timebase; case "${enableval}" in + yes) sim_ppc_timebase="-DWITH_TIME_BASE=1";; + no) sim_ppc_timebase="-DWITH_TIME_BASE=0";; + *) as_fn_error $? "\"--enable-sim-ppc-timebase does not take a value\"" "$LINENO" 5;; esac else - sim_timebase="" + sim_ppc_timebase="" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_timebase" >&5 -$as_echo "$sim_timebase" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_timebase" >&5 +$as_echo "$sim_ppc_timebase" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sim ppc xor endian settings" >&5 $as_echo_n "checking for sim ppc xor endian settings... " >&6; } -# Check whether --enable-sim-xor-endian was given. -if test "${enable_sim_xor_endian+set}" = set; then : - enableval=$enable_sim_xor_endian; case "${enableval}" in - yes) sim_xor_endian="-DWITH_XOR_ENDIAN=8";; - no) sim_xor_endian="-DWITH_XOR_ENDIAN=0";; - *) sim_xor_endian="-DWITH_XOR_ENDIAN=$enableval";; +# Check whether --enable-sim-ppc-xor-endian was given. +if test "${enable_sim_ppc_xor_endian+set}" = set; then : + enableval=$enable_sim_ppc_xor_endian; case "${enableval}" in + yes) sim_ppc_xor_endian="-DWITH_XOR_ENDIAN=8";; + no) sim_ppc_xor_endian="-DWITH_XOR_ENDIAN=0";; + *) sim_ppc_xor_endian="-DWITH_XOR_ENDIAN=$enableval";; esac else - sim_xor_endian="" + sim_ppc_xor_endian="" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_xor_endian" >&5 -$as_echo "$sim_xor_endian" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sim_ppc_xor_endian" >&5 +$as_echo "$sim_ppc_xor_endian" >&6; } |