[Bug target/91276] Doc typos in __builtin_crypto_vpmsum*

2020-05-29 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91276 Lauri Kasanen changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/91274] vec_splat_[us]64 missing for ppc

2020-01-21 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91274 --- Comment #3 from Lauri Kasanen --- Then why is every other type supported, but not 64? It makes no sense.

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-10-01 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 --- Comment #14 from Lauri Kasanen --- Inline asm works on the buggy versions. Thanks.

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-10-01 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 --- Comment #9 from Lauri Kasanen --- Can -mno-optimize-swaps be used per-function, in the code via some pragma? Alternatively, does calling the instruction via inline asm prevent the swapping?

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-09-30 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 --- Comment #7 from Lauri Kasanen --- Thanks for working on this. Per my experience, this is fast for gcc ;) Are you sure about the smaller ones? To me they should not care about 64-bit swaps, but clang lists them all as lane-sensitive: https://

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-07-31 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 --- Comment #1 from Lauri Kasanen --- clang 7.0.0 outputs the expected values, aka the gcc -O0 ones, at all optimization levels. (it calls the builtin __builtin_altivec_crypto_vpmsumd, but no other changes)

[Bug other/91276] New: Doc typos in __builtin_crypto_vpmsum*

2019-07-27 Thread cand at gmx dot com
Assignee: unassigned at gcc dot gnu.org Reporter: cand at gmx dot com Target Milestone: --- Host: ppc64le Target: ppc64le On the "PowerPC AltiVec Built-in Functions Available on ISA 3.0" page, there are typos in the crypto vpmsum functions. All o

[Bug target/91275] New: __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-07-27 Thread cand at gmx dot com
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: cand at gmx dot com Target Milestone: --- Host: ppc64le Target: ppc64le C: #include #include int main() { const unsigned long long r0l

[Bug target/91274] New: vec_splat_[us]64 missing for ppc

2019-07-27 Thread cand at gmx dot com
Assignee: unassigned at gcc dot gnu.org Reporter: cand at gmx dot com Target Milestone: --- Host: ppc64le Target: ppc64le The 64-bit vector splats for ppc are missing. They are there for s390, and supported in the IBM compiler.

[Bug target/82182] m68k slow code: u16/u8 division calls divsi3

2019-06-25 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82182 Lauri Kasanen changed: What|Removed |Added Version|7.2.0 |8.3.0 Known to fail|

[Bug target/82182] m68k slow code: u16/u8 division calls divsi3

2019-06-17 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82182 --- Comment #2 from Lauri Kasanen --- It may be a few weeks before I can test newer gcc.

[Bug target/88696] Power VSX builtins missing vmuluwm / vector int vec_mul (vector int, vector int);

2019-01-11 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88696 --- Comment #1 from Lauri Kasanen --- Actually, seems this is only a documentation bug. vec_mul for the int vectors is not listed on any of the "PowerPC AltiVec/VSX Built-in Functions" pages, even though it works. It emulates the multiplication o

[Bug target/88696] New: Power VSX builtins missing vmuluwm / vector int vec_mul (vector int, vector int);

2019-01-04 Thread cand at gmx dot com
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: cand at gmx dot com Target Milestone: --- Target: ppc64le Seems gcc is currently missing the VSX built-in that multiplies int vectors. The vmuluwm

[Bug lto/85609] New: lto_check_version should print file name when linking a static lib

2018-05-02 Thread cand at gmx dot com
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: cand at gmx dot com CC: marxin at gcc dot gnu.org Target Milestone: --- The current error message is not very helpful when linking against a static lib instead of object

[Bug tree-optimization/82750] Incorrect code for mednafen's array copy test with -O3

2017-10-27 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82750 --- Comment #2 from Lauri Kasanen --- Thanks, passing to mednafen devs.

[Bug tree-optimization/82750] New: Incorrect code for mednafen's array copy test with -O3

2017-10-27 Thread cand at gmx dot com
y: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: cand at gmx dot com Target Milestone: --- Mednafen's TestGCC81740 test fails with gcc 7.2 using -O3, but it works with -O2 and -O3 -fno-tree-loop-vectorize. It also fails with gcc 5.2, but

[Bug target/82182] New: m68k slow code: u16/u8 division calls divsi3

2017-09-11 Thread cand at gmx dot com
: target Assignee: unassigned at gcc dot gnu.org Reporter: cand at gmx dot com Target Milestone: --- C: #include uint16_t mydiv(const uint16_t a, const uint8_t b) { return a / b; } uint16_t mydiv2(const uint16_t a, const uint16_t b) { return a / b; } Assembly

[Bug ipa/68419] ICE segfault in determine_locally_known_aggregate_parts / ipa_compute_jump_functions_for_edge

2016-01-14 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68419 --- Comment #12 from Lauri Kasanen --- https://gcc.gnu.org/install/prerequisites.html "To build all languages in a cross-compiler or other configuration where 3-stage bootstrap is not performed, you need to start with an existing GCC binary (ver

[Bug ipa/68419] ICE segfault in determine_locally_known_aggregate_parts / ipa_compute_jump_functions_for_edge

2016-01-14 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68419 --- Comment #10 from Lauri Kasanen --- When using gcc 5.2 as the host compiler, there is no crash. The gcc docs state that any version of gcc above 3.4 is supported, so this is still a bug.

[Bug ipa/68419] ICE segfault in determine_locally_known_aggregate_parts / ipa_compute_jump_functions_for_edge

2016-01-14 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68419 --- Comment #9 from Lauri Kasanen --- Your command line from comment #5 fails similarly, on my original attachment. ./gcc/cc1 -O2 unwind-dw2.i -g -auxbase-strip unwind-dw2.o -g -O2 -fbuilding-libgcc -fno-stack-protector -fexceptions -fvisibility

[Bug ipa/68419] ICE segfault in determine_locally_known_aggregate_parts / ipa_compute_jump_functions_for_edge

2016-01-14 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68419 --- Comment #8 from Lauri Kasanen --- Today's gcc 5 branch, git 4e07f8a1b79f5e or svn r232358, still fails. /tmp/gccbuild/./gcc/xgcc -B/tmp/gccbuild/./gcc/ -B/tmp/tmpgcc/m68k-elf/bin/ -B/tmp/tmpgcc/m68k-elf/lib/ -isystem /tmp/tmpgcc/m68k-elf/inc

[Bug ipa/68419] ICE segfault in determine_locally_known_aggregate_parts / ipa_compute_jump_functions_for_edge

2016-01-08 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68419 --- Comment #6 from Lauri Kasanen --- Here's more details on my system. Host gcc: 4.2.2 Host binutils: 2.25.1 m68k binutils: 2.24 I used make -j13, but a parallel build shouldn't affect things. I doubt the host gcc version is at fault either, g

[Bug ipa/68419] ICE segfault in determine_locally_known_aggregate_parts / ipa_compute_jump_functions_for_edge

2015-12-17 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68419 Lauri Kasanen changed: What|Removed |Added Version|5.2.0 |5.3.0 --- Comment #4 from Lauri Kasanen

[Bug ipa/68419] ICE segfault in determine_locally_known_aggregate_parts / ipa_compute_jump_functions_for_edge

2015-12-16 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68419 --- Comment #3 from Lauri Kasanen --- The exact arguments are included in my post? Both the gcc configure like that created them, and the direct args used. Do you mean 5.3 or git?

[Bug ipa/68419] ICE segfault in determine_locally_known_aggregate_parts / ipa_compute_jump_functions_for_edge

2015-11-18 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68419 --- Comment #1 from Lauri Kasanen --- This is very similar to 64551, but not a dup. Another part of IPA failing.

[Bug ipa/68419] New: ICE segfault in determine_locally_known_aggregate_parts / ipa_compute_jump_functions_for_edge

2015-11-18 Thread cand at gmx dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: cand at gmx dot com Target Milestone: --- Created attachment 36766 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36766&acti

[Bug c++/62266] New: Loop unrolling with template metaprogramming not aggressive enough

2014-08-26 Thread cand at gmx dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cand at gmx dot com The following code fails to compile with all GCC versions I have, up to g++ (GCC) 5.0.0 20140817 (experimental). It also fails with clang, but it would be nice for

[Bug middle-end/60546] [4.8/4.9] O2 & asan enable generates wrong insns

2014-08-18 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60546 Lauri Kasanen changed: What|Removed |Added CC||cand at gmx dot com --- Comment #23

[Bug c++/61721] GCC 4.8-4.10 miscompiles webkit hashing

2014-08-18 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61721 Lauri Kasanen changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/61721] GCC 4.8-4.10 miscompiles webkit hashing

2014-08-17 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61721 Lauri Kasanen changed: What|Removed |Added Known to fail|4.10.0 |5.0 --- Comment #7 from Lauri Kasanen -

[Bug c++/61721] GCC 4.8-4.10 miscompiles webkit hashing

2014-07-05 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61721 --- Comment #5 from Lauri Kasanen --- A -fsanitize=undefined built binary does not print anything. I understand it can't catch all undefined behavior? What is more interesting that adding -fsanitize=undefined to a failing case makes it work, cha

[Bug c++/61721] GCC 4.8-4.10 miscompiles webkit hashing

2014-07-05 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61721 --- Comment #3 from Lauri Kasanen --- $ g++ -v Using built-in specs. COLLECT_GCC=/tmp/install/bin/g++ COLLECT_LTO_WRAPPER=/tmp/install/libexec/gcc/x86_64-unknown-linux-gnu/4.10.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ./con

[Bug c++/61721] GCC 4.8-4.10 miscompiles webkit hashing

2014-07-05 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61721 --- Comment #2 from Lauri Kasanen --- Created attachment 33074 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33074&action=edit Working case from 4.10-git (-fno-inline)

[Bug c++/61721] GCC 4.8-4.10 miscompiles webkit hashing

2014-07-05 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61721 --- Comment #1 from Lauri Kasanen --- Created attachment 33073 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33073&action=edit Failing preprocessed source from 4.10-git

[Bug c++/61721] New: GCC 4.8-4.10 miscompiles webkit hashing

2014-07-05 Thread cand at gmx dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: cand at gmx dot com GCC 4.8.3 and 4.10 trunk@212302 tested, both broken. According to https://bugreports.qt-project.org/browse/QTBUG-31988 this is a regression and worked in 4.7, but I cannot confirm that as 4.7 can't build cu