From: Julian Seward Date: Sun, 24 Jul 2005 07:23:54 +0000 (+0000) Subject: --branchpred= doesn't do anything (I'm not sure what it ever did do). Rm'd. X-Git-Tag: svn/VALGRIND_3_0_0~79 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4a7697b939b7b7f84ce7cc355d04b9848a0cb035;p=thirdparty%2Fvalgrind.git --branchpred= doesn't do anything (I'm not sure what it ever did do). Rm'd. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4239 --- diff --git a/coregrind/m_main.c b/coregrind/m_main.c index 6c81e83566..17a5d01e06 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -1300,7 +1300,6 @@ static void usage ( Bool debug_help ) " --single-step=no|yes translate each instr separately? [no]\n" " --optimise=no|yes improve intermediate code? [yes]\n" " --profile=no|yes profile? (tool must be built for it) [no]\n" -" --branchpred=yes|no generate branch prediction hints [no]\n" " --trace-flags= show generated code? (X = 0|1) [00000000]\n" " --profile-flags= ditto, but for profiling (X = 0|1) [00000000]\n" " --trace-notbelow= only show BBs above [0]\n" @@ -1475,7 +1474,6 @@ static void process_cmd_line_options( UInt* client_auxv, const char* toolname ) } else VG_BOOL_CLO(arg, "--xml", VG_(clo_xml)) - else VG_BOOL_CLO(arg, "--branchpred", VG_(clo_branchpred)) else VG_BOOL_CLO(arg, "--db-attach", VG_(clo_db_attach)) else VG_BOOL_CLO(arg, "--demangle", VG_(clo_demangle)) else VG_BOOL_CLO(arg, "--error-limit", VG_(clo_error_limit)) diff --git a/coregrind/m_options.c b/coregrind/m_options.c index c0980fc886..ac917b1b0a 100644 --- a/coregrind/m_options.c +++ b/coregrind/m_options.c @@ -72,7 +72,6 @@ Bool VG_(clo_run_libc_freeres) = True; Bool VG_(clo_track_fds) = False; Bool VG_(clo_show_below_main)= False; Bool VG_(clo_pointercheck) = True; -Bool VG_(clo_branchpred) = False; Bool VG_(clo_model_pthreads) = False; Bool VG_(clo_show_emwarns) = False; Int VG_(clo_max_stackframe) = 2000000; diff --git a/coregrind/pub_core_options.h b/coregrind/pub_core_options.h index 4bbf84467a..58d60d509c 100644 --- a/coregrind/pub_core_options.h +++ b/coregrind/pub_core_options.h @@ -135,8 +135,6 @@ extern Bool VG_(clo_track_fds); is ignored. Ie if a tool says no, I don't want this to run, that cannot be overridden from the command line. */ extern Bool VG_(clo_run_libc_freeres); -/* Generate branch-prediction hints? */ -extern Bool VG_(clo_branchpred); /* Continue stack traces below main()? Default: NO */ extern Bool VG_(clo_show_below_main); /* Test each client pointer dereference to check it's within the diff --git a/none/tests/cmdline2.stdout.exp b/none/tests/cmdline2.stdout.exp index 316d9fa6d4..04167cd2b4 100644 --- a/none/tests/cmdline2.stdout.exp +++ b/none/tests/cmdline2.stdout.exp @@ -47,7 +47,6 @@ usage: valgrind --tool= [options] prog-and-args --single-step=no|yes translate each instr separately? [no] --optimise=no|yes improve intermediate code? [yes] --profile=no|yes profile? (tool must be built for it) [no] - --branchpred=yes|no generate branch prediction hints [no] --trace-flags= show generated code? (X = 0|1) [00000000] --profile-flags= ditto, but for profiling (X = 0|1) [00000000] --trace-notbelow= only show BBs above [0]