StackOverflow Questions for Tag: fast-math

Petrusion
Petrusion

Reputation: 1181

Is there a way to tell the compiler to compile with "fast-math" or something similar in C#?

Score: 1

Views: 250

Answers: 0

Read More
Hartmut Pfitzinger
Hartmut Pfitzinger

Reputation: 2306

Where is the source of imprecise calculation in the assembler code of gcc -Ofast compared with -O3?

Score: 3

Views: 179

Answers: 2

Read More
Chris_F
Chris_F

Reputation: 5567

Why does GCC or Clang not optimise reciprocal to 1 instruction when using fast-math

Score: 17

Views: 3252

Answers: 2

Read More
Martin
Martin

Reputation: 29

Can this piece of code be modified such that it works with fast-math enabled?

Score: -1

Views: 99

Answers: 2

Read More
lionel
lionel

Reputation: 425

What does the "denormal input" exactly mean in assembly when we consider using DAZ flag for SSE Floating Points

Score: 2

Views: 565

Answers: 1

Read More
tommsch
tommsch

Reputation: 688

__host__ __device__ functions calling overloaded functions

Score: 0

Views: 573

Answers: 1

Read More
xis
xis

Reputation: 24860

Why doesn't GCC optimize a*a*a*a*a*a to (a*a*a)*(a*a*a)?

Score: 2322

Views: 237206

Answers: 12

Read More
yong
yong

Reputation: 3633

How do I compile with "ffast-math"?

Score: 21

Views: 3698

Answers: 2

Read More
user10150539
user10150539

Reputation:

Optimal implementation of iterative Kahan summation

Score: 7

Views: 2331

Answers: 1

Read More
Marc
Marc

Reputation: 776

Flag to generate 'deterministic' floating point operations wrt. pointer alignment with 'fast-math'?

Score: 4

Views: 264

Answers: 0

Read More
stgtscc
stgtscc

Reputation: 990

Good sentinel value for double if prefer to use -ffast-math

Score: 10

Views: 1505

Answers: 1

Read More
spraff
spraff

Reputation: 33445

Does GCC's ffast-math have consistency guarantees across platforms or compiler versions?

Score: 1

Views: 472

Answers: 1

Read More
Zachary Burns
Zachary Burns

Reputation: 483

Do denormal flags like Denormals-Are-Zero (DAZ) affect comparisons for equality?

Score: 7

Views: 888

Answers: 1

Read More
PST
PST

Reputation: 59

Does gcc -Ofast enable vectorization?

Score: 1

Views: 184

Answers: 0

Read More
Matthias
Matthias

Reputation: 4677

Is there a -ffast-math flag equivalent for the Visual Studio C++ compiler

Score: 11

Views: 10356

Answers: 2

Read More
Timmmm
Timmmm

Reputation: 97138

Strict aliasing, -ffast-math and SSE

Score: 14

Views: 2381

Answers: 1

Read More
ijklr
ijklr

Reputation: 291

Why is std::inner_product slower than the naive implementation?

Score: 3

Views: 1618

Answers: 1

Read More
Michael
Michael

Reputation: 5949

Dynamic -ffast-math

Score: 6

Views: 2480

Answers: 2

Read More
celavek
celavek

Reputation: 5715

gcc optimizations cause app to fail

Score: 1

Views: 5098

Answers: 4

Read More
einpoklum
einpoklum

Reputation: 132350

Can I make my compiler use fast-math on a per-function basis?

Score: 8

Views: 5692

Answers: 2

Read More
PreviousPage 2Next