[Bug middle-end/95115] RISC-V 64: inf/inf division optimized out, invalid operation not raised

2020-07-02 Thread vgupta at synopsys dot com
, ||vgupta at synopsys dot com --- Comment #7 from Vineet Gupta --- FWIW this is also applicable to ARC glibc + upstream gcc 10 https://sourceware.org/pipermail/libc-alpha/2020-July/115679.html https://sourceware.org/pipermail/libc-alpha/2020-July/115694.html

[Bug target/89838] [ARC] ICE building glibc testsuite

2019-12-06 Thread vgupta at synopsys dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89838 --- Comment #3 from Vineet Gupta --- Can this be closed ?

[Bug target/92845] New: [ARC] gcc not generating hardware compare instruction FDCMP for -mcpu=hs38_linux

2019-12-06 Thread vgupta at synopsys dot com
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vgupta at synopsys dot com CC: claziss at gcc dot gnu.org, claziss at gmail dot com Target Milestone: --- Test case: int f(double x, double y

[Bug target/92846] New: [ARC] gloating point compares not generating Invalid Operand

2019-12-06 Thread vgupta at synopsys dot com
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vgupta at synopsys dot com CC: claziss at gcc dot gnu.org, vgupta at synopsys dot com Target Milestone: --- This is similar to issues reported for other targets https

[Bug target/92846] [ARC] gloating point compares not generating Invalid Operand

2019-12-06 Thread vgupta at synopsys dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92846 --- Comment #1 from Vineet Gupta --- Test case: int f(double x, double y) { return x > y; // expected FDCMPF (qNaN, sNaN) } int f2(double x, double y) { return __builtin_isgreater(x, y); // expected FDCMP (

[Bug target/92846] [ARC] gloating point compares not generating Invalid Operand

2019-12-06 Thread vgupta at synopsys dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92846 --- Comment #2 from Vineet Gupta --- Created attachment 47438 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47438&action=edit proposed fix Ran full glibc tessuite with this: No regressions gcc dejagnu test pr52451.c passes too

[Bug target/52451] gcc w/i387 float generates fucom rather than fcom for floating point comparsons

2019-12-06 Thread vgupta at synopsys dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52451 Vineet Gupta changed: What|Removed |Added CC||vgupta at synopsys dot com --- Comment

[Bug target/52451] gcc w/i387 float generates fucom rather than fcom for floating point comparsons

2019-12-06 Thread vgupta at synopsys dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52451 --- Comment #12 from Vineet Gupta --- oops the ARC bug is (PR 92846) not (PR 92845)

[Bug rtl-optimization/88001] ASMCONS cannot handle properly UNSPEC(CONST)

2018-12-11 Thread vgupta at synopsys dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88001 Vineet Gupta changed: What|Removed |Added CC||vgupta at synopsys dot com --- Comment

[Bug rtl-optimization/88001] ASMCONS cannot handle properly UNSPEC(CONST)

2018-12-14 Thread vgupta at synopsys dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88001 --- Comment #9 from Vineet Gupta --- Can this be stable backported to gcc-8-branch as well. glibc folks use that branch for their regular smoke testing and without that ARC tools don't even build.

[Bug rtl-optimization/88001] ASMCONS cannot handle properly UNSPEC(CONST)

2018-12-14 Thread vgupta at synopsys dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88001 --- Comment #11 from Vineet Gupta --- Sure, but how can I ? if i click the "known to work" field it takes me to help. The issue certainly with gcc-8-branch for ARC and presumably also with tip/trunk.

[Bug target/89838] New: [ARC] ICE building glibc testsuite

2019-03-26 Thread vgupta at synopsys dot com
Assignee: unassigned at gcc dot gnu.org Reporter: vgupta at synopsys dot com Target Milestone: --- Created attachment 46028 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46028&action=edit test case An ICE was triggered when building glibc testsuite (after a glibc

[Bug target/89877] New: [ARC] miscompilation due to missing cc clobber in longlong.h: add_ssaaaa()/sub_ddmmss()

2019-03-28 Thread vgupta at synopsys dot com
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: vgupta at synopsys dot com Target Milestone: --- Created attachment 46051 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46051&action=edit te

[Bug target/89877] [ARC] miscompilation due to missing cc clobber in longlong.h: add_ssaaaa()/sub_ddmmss()

2019-03-28 Thread vgupta at synopsys dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89877 Vineet Gupta changed: What|Removed |Added CC||vgupta at synopsys dot com --- Comment

[Bug target/89877] [ARC] miscompilation due to missing cc clobber in longlong.h: add_ssaaaa()/sub_ddmmss()

2019-04-04 Thread vgupta at synopsys dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89877 Vineet Gupta changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/89838] [ARC] ICE building glibc testsuite

2021-04-30 Thread vgupta at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89838 Vineet Gupta changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/92845] [ARC] gcc not generating hardware compare instruction FDCMP for -mcpu=hs38_linux

2021-04-30 Thread vgupta at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92845 Vineet Gupta changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/92846] [ARC] floating point compares not generating Invalid Operand

2021-04-30 Thread vgupta at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92846 Vineet Gupta changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug c/100363] New: gcc generating wider load/store than warranted at -O3

2021-04-30 Thread vgupta at synopsys dot com via Gcc-bugs
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: vgupta at synopsys dot com Target Milestone: --- Created attachment 50722 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50722&action=edit test case with an additional nop to annotate codegen In Linux k

[Bug middle-end/100363] gcc generating wider load/store than warranted at -O3

2021-04-30 Thread vgupta at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100363 --- Comment #3 from Vineet Gupta --- Created attachment 50723 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50723&action=edit preprocessed source file (with extra nop annotation)

[Bug tree-optimization/100363] gcc generating wider load/store than warranted at -O3

2021-04-30 Thread vgupta at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100363 --- Comment #6 from Vineet Gupta --- (In reply to Linus Torvalds from comment #4) > (In reply to Andrew Pinski from comment #1) > > The loop gets vectorized, I don't see the problem really. > > > See > > > https://github.com/foss-for-syno

[Bug tree-optimization/100363] gcc generating wider load/store than warranted at -O3

2021-05-03 Thread vgupta at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100363 --- Comment #12 from Vineet Gupta --- Created attachment 50742 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50742&action=edit kernel patch as proposed on comment #7

[Bug tree-optimization/100363] gcc generating wider load/store than warranted at -O3

2021-05-03 Thread vgupta at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100363 --- Comment #13 from Vineet Gupta --- Sorry the workaround proposed by Alexander doesn't seem to cure it (patch attached), outcome is the same mov lp_count,r13;5 #, bnd.65 lp @.L201 ; lp_count:@.L50->@.L201

[Bug tree-optimization/100363] gcc generating wider load/store than warranted at -O3

2021-05-03 Thread vgupta at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100363 --- Comment #15 from Vineet Gupta --- (In reply to Linus Torvalds from comment #14) > (In reply to Vineet Gupta from comment #13) > > Sorry the workaround proposed by Alexander doesn't seem to cure it (patch > > attached), outcome is the same >

[Bug tree-optimization/100363] gcc generating wider load/store than warranted at -O3

2021-05-04 Thread vgupta at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100363 --- Comment #18 from Vineet Gupta --- (In reply to Richard Biener from comment #9) > (In reply to Linus Torvalds from comment #8) > > (In reply to Alexander Monakov from comment #7) > > > > > > Most likely the issue is that sout/sfrom are misal