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

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).