Skip to content
Snippets Groups Projects
Commit 7e95f738 authored by Andreas Klebinger's avatar Andreas Klebinger Committed by Marge Bot
Browse files

Aarch64: Enable -mfma by default.

Fixes #24311
parent 42bee5aa
No related branches found
No related tags found
No related merge requests found
......@@ -699,7 +699,8 @@ defaultDynFlags mySettings =
avx512er = False,
avx512f = False,
avx512pf = False,
fma = False,
-- Use FMA by default on AArch64
fma = (platformArch . sTargetPlatform $ mySettings) == ArchAArch64,
maxInlineAllocSize = 128,
maxInlineMemcpyInsns = 32,
......
......@@ -1415,7 +1415,7 @@ messages and in GHCi:
The structure of the output is described by a `JSON Schema <https://json-schema.org/>`_.
The schema can be downloaded :download:`here <diagnostics-as-json-schema-1_0.json>`.
.. ghc-flag:: -fdiagnostics-color=⟨always|auto|never⟩
:shortdesc: Use colors in error messages
:type: dynamic
......@@ -1761,6 +1761,8 @@ Some flags only make sense for particular target platforms.
:type: dynamic
:category: platform-options
:default: off by default, except for Aarch64 where it's on by default.
:since: 9.8.1
Use native FMA instructions to implement the fused multiply-add floating-point
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment