Skip to content

Commit 2dce80c

Browse files
authored
Merge pull request #6927 from tautschnig/bugfixes/arch
Document all architecture and back-end options
2 parents 6ec39f1 + a1053a6 commit 2dce80c

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

src/goto-checker/solver_factory.h

+11-5
Original file line numberDiff line numberDiff line change
@@ -99,25 +99,26 @@ void parse_solver_options(const cmdlinet &cmdline, optionst &options);
9999
#define OPT_SOLVER \
100100
"(smt1)" /* rejected, will eventually disappear */ \
101101
"(smt2)" \
102-
"(fpa)" /* undocumented */ \
102+
"(fpa)" \
103103
"(cvc3)" \
104104
"(cvc4)(boolector)(yices)(z3)" \
105105
"(mathsat)" \
106106
"(cprover-smt2)" \
107107
"(incremental-smt2-solver):" \
108108
"(external-sat-solver):" \
109-
"(no-sat-preprocessor)" /* undocumented */ \
109+
"(no-sat-preprocessor)" \
110110
"(beautify)" \
111111
"(dimacs)" \
112112
"(refine)" \
113-
"(max-node-refinement):" /* undocumented */ \
114-
"(refine-arrays)" /* undocumented */ \
115-
"(refine-arithmetic)" /* undocumented */ \
113+
"(max-node-refinement):" \
114+
"(refine-arrays)" \
115+
"(refine-arithmetic)" \
116116
"(outfile):" \
117117
"(write-solver-stats-to):"
118118

119119
#define HELP_SOLVER \
120120
" --external-sat-solver cmd command to invoke SAT solver process\n" \
121+
" --no-sat-preprocessor disable the SAT solver's simplifier\n" \
121122
" --dimacs generate CNF in DIMACS format\n" \
122123
" --beautify beautify the counterexample\n" \
123124
" (greedy heuristic)\n" \
@@ -130,7 +131,12 @@ void parse_solver_options(const cmdlinet &cmdline, optionst &options);
130131
" --mathsat use MathSAT\n" \
131132
" --yices use Yices\n" \
132133
" --z3 use Z3\n" \
134+
" --fpa use theory of floating-point arithmetic\n" \
133135
" --refine use refinement procedure (experimental)\n" \
136+
" --refine-arrays use refinement for arrays only\n" \
137+
" --refine-arithmetic refinement of arithmetic expressions only\n" \
138+
" --max-node-refinement maximum refinement iterations for\n" \
139+
" arithmetic expressions\n" \
134140
" --incremental-smt2-solver cmd\n" \
135141
" command to invoke external SMT solver for\n" \
136142
" incremental solving (experimental)\n" \

src/util/config.h

+7-3
Original file line numberDiff line numberDiff line change
@@ -32,23 +32,25 @@ class symbol_tablet;
3232

3333
#define HELP_CONFIG_C_CPP \
3434
" -I path set include path (C/C++)\n" \
35+
" --include file set include file (C/C++)\n" \
3536
" -D macro define preprocessor macro (C/C++)\n" \
36-
" --c89/99/11 set C language standard (default: " \
37+
" --c89, --c99, --c11 set C language standard (default: " \
3738
<< (configt::ansi_ct::default_c_standard()== \
3839
configt::ansi_ct::c_standardt::C89?"c89": \
3940
configt::ansi_ct::default_c_standard()== \
4041
configt::ansi_ct::c_standardt::C99?"c99": \
4142
configt::ansi_ct::default_c_standard()== \
4243
configt::ansi_ct::c_standardt::C11?"c11":"") << ")\n"\
43-
" --cpp98/03/11 set C++ language standard (default: " \
44+
" --cpp98, --cpp03, --cpp11 set C++ language standard (default: " \
4445
<< (configt::cppt::default_cpp_standard()== \
4546
configt::cppt::cpp_standardt::CPP98?"cpp98":\
4647
configt::cppt::default_cpp_standard()== \
4748
configt::cppt::cpp_standardt::CPP03?"cpp03":\
4849
configt::cppt::default_cpp_standard()== \
4950
configt::cppt::cpp_standardt::CPP11?"cpp11":"") << ")\n"\
5051
" --unsigned-char make \"char\" unsigned by default\n" \
51-
" --round-to-nearest rounding towards nearest even (default)\n" \
52+
" --round-to-nearest, --round-to-even\n" \
53+
" rounding towards nearest even (default)\n" \
5254
" --round-to-plus-inf rounding towards plus infinity\n" \
5355
" --round-to-minus-inf rounding towards minus infinity\n" \
5456
" --round-to-zero rounding towards zero\n" \
@@ -83,6 +85,8 @@ class symbol_tablet;
8385
<< configt::this_architecture() << ")\n" \
8486
" --os set operating system (default: " \
8587
<< configt::this_operating_system() << ")\n" \
88+
" --i386-linux, --i386-win32, --i386-macos, --ppc-macos\n" \
89+
" --win32, --winx64 set architecture and operating system\n" \
8690
" --16, --32, --64 set width of int\n" \
8791
" --LP64, --ILP64, --LLP64,\n" \
8892
" --ILP32, --LP32 set width of int, long and pointers\n" \

0 commit comments

Comments
 (0)