diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2002-01-05 04:03:36 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2002-01-05 04:03:36 +0000 |
commit | 3e0f61acb373be0655fad7c0bdf700bd82f08bfe (patch) | |
tree | 5c9c7a976d5bf6612a0a74ec84f16266e97a7623 /gcc/doc | |
parent | c6c3221d211f2e438757b489858d7894dbec615f (diff) | |
download | gcc-3e0f61acb373be0655fad7c0bdf700bd82f08bfe.zip gcc-3e0f61acb373be0655fad7c0bdf700bd82f08bfe.tar.gz gcc-3e0f61acb373be0655fad7c0bdf700bd82f08bfe.tar.bz2 |
invoke.texi (Option Summary): Document -mbranch-predict, -mreg-stack-fill-bug-workaround and their negatives.
* doc/invoke.texi (Option Summary) <MMIX Options>: Document
-mbranch-predict, -mreg-stack-fill-bug-workaround and their
negatives.
(MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
* config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
kludge for pre-october-14th mmix versions to handle new-found bug
with PUSHJ/PUSHGO and the register stack.
* config/mmix/mmix.h (struct machine_function): Rename member
has_call_value_without_parameters to has_call_without_parameters.
All referers changed.
(TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
TARGET_MASK_BRANCH_PREDICT): New macros.
(TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
-mno-reg-stack-fill-bug-workaround.
* config/mmix/mmix.md ("call"): Set struct machine member
has_call_without_parameters.
From-SVN: r48558
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 3620e5b..5b3fbc1 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -589,7 +589,8 @@ in the following sections. @gccoptlist{ -mlibfuncs -mno-libfuncs -mepsilon -mno-epsilon -mabi=gnu @gol -mabi=mmixware -mzero-extend -mknuthdiv -mtoplevel-symbols @gol --melf} +-melf -mbranch-predict -mreg-stack-fill-bug-workaround @gol +-mno-branch-predict -mno-reg-stack-fill-bug-workaround} @emph{IA-64 Options} @gccoptlist{ @@ -9716,7 +9717,7 @@ the called function) are seen as registers @code{$0} and up, as opposed to the GNU ABI which uses global registers @code{$231} and up. @item -mzero-extend -@item -mno-zero-extend +@itemx -mno-zero-extend When reading data from memory in sizes shorter than 64 bits, use (do not use) zero-extending load instructions by default, rather than sign-extending ones. @@ -9736,6 +9737,18 @@ code can be used with the @code{PREFIX} assembly directive. @item -melf Generate an executable in the ELF format, rather than the default @samp{mmo} format used by the @command{mmix} simulator. + +@item -mbranch-predict +@itemx -mno-branch-predict +Use (do not use) the probable-branch instructions, when static branch +prediction indicates a probable branch. + +@item -mreg-stack-fill-bug-workaround +@itemx -mno-reg-stack-fill-bug-workaround +Work around (do not work around) an inconsistency in the circular +register stack mechanism in the @command{mmix} simulator, which +causes entries in the register stack to not be flushed to memory if +the instruction causing the fill-up is @code{PUSHJ} or @code{PUSHGO}. @end table @node Code Gen Options |