diff options
author | Johan Tibell <johan.tibell@gmail.com> | 2014-03-26 17:08:29 +0100 |
---|---|---|
committer | Johan Tibell <johan.tibell@gmail.com> | 2014-03-26 17:08:29 +0100 |
commit | 11b31c3c9bbe05486e6532ec6217c8cf2587adbb (patch) | |
tree | b22cc07f0caf6c24557c339260ba4e319c3517cb /docs/users_guide | |
parent | ce335cee31de24d817246a87935bb9ffd21168f9 (diff) | |
download | haskell-11b31c3c9bbe05486e6532ec6217c8cf2587adbb.tar.gz |
Add flags to control memcpy and memset inlining
This adds -fmax-inline-memcpy-insns and -fmax-inline-memset-insns.
These flags control when we inline calls to memcpy/memset with
statically known arguments. The flag naming style is taken from GCC
and the same limit is used by both GCC and LLVM.
Diffstat (limited to 'docs/users_guide')
-rw-r--r-- | docs/users_guide/flags.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/users_guide/flags.xml b/docs/users_guide/flags.xml index b4febf587b..6acd28dc0a 100644 --- a/docs/users_guide/flags.xml +++ b/docs/users_guide/flags.xml @@ -1900,6 +1900,30 @@ <entry>-</entry> </row> + <row> + <entry> + <option>-fmax-inline-memcpy-insns</option>=<replaceable>n</replaceable> + </entry> + <entry>Inline memcpy calls if they would generate no more + than <replaceable>n</replaceable> pseudo instructions + (default: 32). + </entry> + <entry>dynamic</entry> + <entry>-</entry> + </row> + + <row> + <entry> + <option>-fmax-inline-memset-insns</option>=<replaceable>n</replaceable> + </entry> + <entry>Inline memset calls if they would generate no more + than <replaceable>n</replaceable> pseudo instructions + (default: 32). + </entry> + <entry>dynamic</entry> + <entry>-</entry> + </row> + </tbody> </tgroup> </informaltable> |