[Bug c/65088] Does GCC has load/store widening phase?

2015-02-26 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65088 --- Comment #3 from Marat Zakirov --- > I think this has been discussed on the gcc mailing list Marek could you please share some resuting conclusion at least for x86 platform? Why didn't x86 GCC RTL fold these loads/stores?

[Bug c/65088] New: Does GCC has load/store widening phase?

2015-02-17 Thread m.zakirov at samsung dot com
Assignee: unassigned at gcc dot gnu.org Reporter: m.zakirov at samsung dot com This example says me that it doesn't. $ cat t2.c int a[2]; int b[2]; int main () { b[0] = a[0]; b[1] = a[1]; return 0; } $ gcc t2.c -O3 -S $ cat t2.s ... main: .LFB0: .cfi_startproc

[Bug sanitizer/63806] New: #UBSAN ignores signed char possible overflow

2014-11-10 Thread m.zakirov at samsung dot com
: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: m.zakirov at samsung dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org For the following example GCC with ubsan do not

[Bug sanitizer/61875] ATRIBUTE_NONNULL macro error

2014-09-04 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61875 --- Comment #6 from Marat Zakirov --- Created attachment 33446 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33446&action=edit Proposed patch According to https://gcc.gnu.org/ml/gcc-patches/2014-09/msg00061.html I think this bug should be

[Bug sanitizer/61422] False Asan positive in libopus

2014-08-28 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 Marat Zakirov changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/43725] Poor instructions selection, scheduling and registers allocation for ARM NEON intrinsics

2014-07-29 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43725 --- Comment #9 from Marat Zakirov --- I used following patch diff --git a/gcc/cse.c b/gcc/cse.c index 34f9364..a9e0442 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -2862,6 +2862,9 @@ canon_reg (rtx x, rtx insn) || ! REGNO_QTY_VALID_P (R

[Bug target/43725] Poor instructions selection, scheduling and registers allocation for ARM NEON intrinsics

2014-07-29 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43725 --- Comment #8 from Marat Zakirov --- UPDATE Using little fix you may got a much better code... transpose_16x16: .fnstart @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link regi

[Bug regression/61887] vect.exp UNRESOLVED tests

2014-07-23 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61887 --- Comment #1 from Marat Zakirov --- This issue is suitible for ARM

[Bug regression/61887] New: vect.exp UNRESOLVED tests

2014-07-23 Thread m.zakirov at samsung dot com
Assignee: unassigned at gcc dot gnu.org Reporter: m.zakirov at samsung dot com I found that some tests from vect.exp has status UNRESOLVED in cureent compiler version due to dissynchronization of compiler dumpers and tests check. Example: Test bb-slp-10.c awaits for name bb-slp-10.c

[Bug sanitizer/61875] ATRIBUTE_NONNULL macro error

2014-07-22 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61875 Marat Zakirov changed: What|Removed |Added CC||m.zakirov at samsung dot com

[Bug target/61561] arm gcc internal error

2014-07-11 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61561 Marat Zakirov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/43725] Poor instructions selection, scheduling and registers allocation for ARM NEON intrinsics

2014-07-09 Thread m.zakirov at samsung dot com
, ||m.zakirov at samsung dot com --- Comment #7 from Marat Zakirov --- Another neon alloc issue. Code: #include #include extern uint16x8x4_t m0; extern uint16x8x4_t m1; void foo(uint16_t * in_ptr) { uint16x8x4_t t0, t1; t0 = vld4q_u16((uint16_t

[Bug translation/61561] New: arm gcc internal error

2014-06-19 Thread m.zakirov at samsung dot com
Assignee: unassigned at gcc dot gnu.org Reporter: m.zakirov at samsung dot com Created attachment 32973 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32973&action=edit Proposed patch To reproduce the issue do: 1) Configure gcc for arm as traget and x86 as host. $ ./configure

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #6 from Marat Zakirov --- Created attachment 32898 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32898&action=edit Proposed patch Try this. It is mostly the same. No additional patches is needed. I hope it's reproducible.

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #5 from Marat Zakirov --- Thank you for your quick response Jacub. Actually I take this issue from existing ffmpeg source so the test is just a truncated version. Following fail in my 4.10 without discovered fix: cat test.c #defin

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #3 from Marat Zakirov --- I fix it.

[Bug sanitizer/61422] False Asan positive in libopus

2014-06-05 Thread m.zakirov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61422 --- Comment #1 from Marat Zakirov --- Created attachment 32896 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32896&action=edit Proposed patch Only tested with asan testsuite on x64.

[Bug sanitizer/61422] New: False Asan positive in libopus

2014-06-05 Thread m.zakirov at samsung dot com
Assignee: unassigned at gcc dot gnu.org Reporter: m.zakirov at samsung dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org Bug is reproducible on simple test like: //Issue was taken