[Bug middle-end/86999] New: Incorrect code generation and missing optimization with -fno-signed-zeros.

2018-08-17 Thread asd0025 at gmail dot com
: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: asd0025 at gmail dot com Target Milestone: --- Consider the following trivial example (https://godbolt.org/g/5ms6Bf): #include typedef float v4f __attribute__

[Bug middle-end/86999] Incorrect code generation and missing optimization with -fno-signed-zeros.

2018-08-19 Thread asd0025 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86999 --- Comment #2 from asd_ --- (In reply to Alexander Monakov from comment #1) > For the first problem -fno-signed-zeros is a bit of a red herring, the real > reason is enabling -fassociative-math makes GCC turn > > return n * p + p; > > to 're

[Bug c++/104145] New: Extra instructions generated for dual float return on ARM64.

2022-01-20 Thread asd0025 at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: asd0025 at gmail dot com Target Milestone: --- In the following code snippet, inefficient code is generated when returning 2 floats on ARM64/AArch64: https://godbolt.org/z/3G8nMT8W4