public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ramana Radhakrishnan <ramana.gcc@googlemail.com>
To: Vladimir Makarov <vmakarov@redhat.com>
Cc: James Greenhalgh <james.greenhalgh@arm.com>,
	GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: patch to fix PR60969
Date: Thu, 22 May 2014 09:18:00 -0000	[thread overview]
Message-ID: <CAJA7tRYhSrqJ=6vNArpJBU5izoG6Pt6-y0Mce19xENwGA86wCg@mail.gmail.com> (raw)
In-Reply-To: <537B68BB.1090201@redhat.com>

>>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60969
>> FAIL: gcc.target/aarch64/table-intrinsics.c (internal compiler error)
>> FAIL: gcc.target/aarch64/table-intrinsics.c (test for excess errors)
>> Excess errors:
>> /work/gcc-clean/src/gcc/gcc/testsuite/gcc.target/aarch64/table-intrinsics.c:172:1: internal compiler error: Max. number of generated reload insns per insn is achieved (90)
>> 0x8923cd lra_constraints(bool)
>>       /work/gcc-clean/src/gcc/gcc/lra-constraints.c:4140
>> 0x882f62 lra(_IO_FILE*)
>>       /work/gcc-clean/src/gcc/gcc/lra.c:2353
>> 0x8453f6 do_reload
>>       /work/gcc-clean/src/gcc/gcc/ira.c:5457
>> 0x8453f6 execute
>>       /work/gcc-clean/src/gcc/gcc/ira.c:5618
>>
>>
> Sorry, I have no aarch64 machine.  Could you sent me the pre-processed
> file of the test.


Please find inline a reduced testcase that fails.

Compiler configured with

$SRC/gcc/configure --target=aarch64-none-elf



$>./xgcc -B`pwd` -S -O2 try.c
try.c: In function 'qtbl_tests8_2':
try.c:26:1: internal compiler error: Max. number of generated reload
insns per insn is achieved (90)

 }
 ^
0x8653f7 lra_constraints(bool)
        /work/wa1/src/gcc/gcc/lra-constraints.c:4140
0x855ca6 lra(_IO_FILE*)
        /work/wa1/src/gcc/gcc/lra.c:2353
0x81eada do_reload
        /work/wa1/src/gcc/gcc/ira.c:5457
0x81eada execute
        /work/wa1/src/gcc/gcc/ira.c:5618
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
compilation status=1


$>cat try.c
typedef __builtin_aarch64_simd_qi int8x8_t
  __attribute__ ((__vector_size__ (8)));
typedef __builtin_aarch64_simd_uqi uint8x8_t
  __attribute__ ((__vector_size__ (8)));
typedef __builtin_aarch64_simd_qi int8x16_t
  __attribute__ ((__vector_size__ (16)));
typedef struct int8x16x2_t
{
  int8x16_t val[2];
} int8x16x2_t;
__extension__ static __inline int8x8_t __attribute__ ((__always_inline__))
vqtbl2_s8 (int8x16x2_t tab, uint8x8_t idx)
{
  int8x8_t result;
  __asm__ ("ld1 {v16.16b, v17.16b}, %1\n\t"
    :"=w"(result)
    :"Q"(tab),"w"(idx)
    :"memory", "v16", "v17");
  return result;
}
int8x8_t
qtbl_tests8_2 (int8x16x2_t tab, uint8x8_t idx)
{
  return vqtbl2_s8 (tab, idx);
}




>
>

  reply	other threads:[~2014-05-22  9:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-16 17:49 Vladimir Makarov
2014-05-19 21:37 ` James Greenhalgh
2014-05-20  0:25   ` H.J. Lu
2014-05-20 14:37   ` Vladimir Makarov
2014-05-22  9:18     ` Ramana Radhakrishnan [this message]
2014-05-17 11:00 Uros Bizjak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJA7tRYhSrqJ=6vNArpJBU5izoG6Pt6-y0Mce19xENwGA86wCg@mail.gmail.com' \
    --to=ramana.gcc@googlemail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=james.greenhalgh@arm.com \
    --cc=ramrad01@arm.com \
    --cc=vmakarov@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).