public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/95668] New: patching the commit of SVE on GCC7.3, But fail in test
@ 2020-06-14  7:18 chengcongxiu at huawei dot com
  2020-06-14  7:19 ` [Bug c/95668] " chengcongxiu at huawei dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: chengcongxiu at huawei dot com @ 2020-06-14  7:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95668

            Bug ID: 95668
           Summary: patching the commit of SVE on GCC7.3, But fail in test
           Product: gcc
           Version: 7.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chengcongxiu at huawei dot com
  Target Milestone: ---

Created attachment 48727
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48727&action=edit
The gcc as follow:

The test as follow:

void foo (int *  restrict in, int * restrict out, int s)
{
    for (int i = 0; i < 16; i++) {
      for (int j = 0; j < 6; ++j)
        out[j] = in[j];
      in += 6;
      out += s*6;
     }
}

using gcc compile above test:

        .cfi_startproc
        movi    v5.2s, 0
        add     w2, w2, w2, lsl 1
        ldr     q16, [x0]
        lsl     w2, w2, 1
        ldr     q7, [x0, 16]
        sbfiz   x2, x2, 2, 32
        orr     v4.8b, v5.8b, v5.8b     
        orr     v3.8b, v5.8b, v5.8b
        orr     v2.8b, v5.8b, v5.8b
        orr     v1.8b, v5.8b, v5.8b
        ldr     q6, [x0, 32]
        orr     v0.8b, v5.8b, v5.8b
        orr     v25.8b, v5.8b, v5.8b
        orr     v24.8b, v5.8b, v5.8b
        ins     v4.s[60], v16.s[61]      //this instruction error:
        ins     v5.s[60], v16.s[63]
        ins     v3.s[60], v7.s[63]
        ins     v2.s[60], v7.s[61]
        ins     v1.s[60], v6.s[63]
        add     x5, x1, x2

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c/95668] patching the commit of SVE on GCC7.3, But fail in test
  2020-06-14  7:18 [Bug c/95668] New: patching the commit of SVE on GCC7.3, But fail in test chengcongxiu at huawei dot com
@ 2020-06-14  7:19 ` chengcongxiu at huawei dot com
  2020-06-14  7:50 ` [Bug target/95668] " pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: chengcongxiu at huawei dot com @ 2020-06-14  7:19 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95668

--- Comment #1 from chengcongxiu at huawei dot com <chengcongxiu at huawei dot com> ---
./gcc -O3 test.c -S -o -

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/95668] patching the commit of SVE on GCC7.3, But fail in test
  2020-06-14  7:18 [Bug c/95668] New: patching the commit of SVE on GCC7.3, But fail in test chengcongxiu at huawei dot com
  2020-06-14  7:19 ` [Bug c/95668] " chengcongxiu at huawei dot com
@ 2020-06-14  7:50 ` pinskia at gcc dot gnu.org
  2020-06-15  1:19 ` chengcongxiu at huawei dot com
  2020-06-15  1:21 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-06-14  7:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95668

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2020-06-14
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
GCC 7.x is no longer supported.  Does this work in GCC 8.x or above?  Also are
you backporting the SVE support if so then this is your responsibility to fix
up the issue.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/95668] patching the commit of SVE on GCC7.3, But fail in test
  2020-06-14  7:18 [Bug c/95668] New: patching the commit of SVE on GCC7.3, But fail in test chengcongxiu at huawei dot com
  2020-06-14  7:19 ` [Bug c/95668] " chengcongxiu at huawei dot com
  2020-06-14  7:50 ` [Bug target/95668] " pinskia at gcc dot gnu.org
@ 2020-06-15  1:19 ` chengcongxiu at huawei dot com
  2020-06-15  1:21 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: chengcongxiu at huawei dot com @ 2020-06-15  1:19 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95668

chengcongxiu at huawei dot com <chengcongxiu at huawei dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/95668] patching the commit of SVE on GCC7.3, But fail in test
  2020-06-14  7:18 [Bug c/95668] New: patching the commit of SVE on GCC7.3, But fail in test chengcongxiu at huawei dot com
                   ` (2 preceding siblings ...)
  2020-06-15  1:19 ` chengcongxiu at huawei dot com
@ 2020-06-15  1:21 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-06-15  1:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95668

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |INVALID

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-15  1:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-14  7:18 [Bug c/95668] New: patching the commit of SVE on GCC7.3, But fail in test chengcongxiu at huawei dot com
2020-06-14  7:19 ` [Bug c/95668] " chengcongxiu at huawei dot com
2020-06-14  7:50 ` [Bug target/95668] " pinskia at gcc dot gnu.org
2020-06-15  1:19 ` chengcongxiu at huawei dot com
2020-06-15  1:21 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).