[Bug target/83240] x86_64 vectorized sqrt of denormal yields -inf when DAZ=0

2017-12-02 Thread gson at gson dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83240 --- Comment #5 from Andreas Gustafsson --- Re "may violate IEEE or ANSI standards", that argument could be used to justify any behavior, even making 1 + 1 yield 42. Clearly the intent of -funsafe-math-optimizations is not to allow arbitrary inco

[Bug target/83240] x86_64 vectorized sqrt of denormal yields -inf when DAZ=0

2017-12-01 Thread gson at gson dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83240 --- Comment #2 from Andreas Gustafsson --- Re "simply don't use -ffast-math if you are dealing with stuff like denormals", the documentation for -ffinite-math-only (which is implied by -ffast-math) says "Allow optimizations for floating-point ari

[Bug target/83240] New: x86_64 vectorized sqrt of denormal yields -inf when DAZ=0

2017-12-01 Thread gson at gson dot org
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: gson at gson dot org Target Milestone: --- Created attachment 42766 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42766&action=edit Preprocessed source When compiling for x95_