public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "alan.lawrence at arm dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63870] [Aarch64] [ARM] Errors in use of NEON intrinsics are reported incorrectly Date: Tue, 18 Nov 2014 16:21:00 -0000 [thread overview] Message-ID: <bug-63870-4-0oMQBo0Qfz@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-63870-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63870 --- Comment #1 from Alan Lawrence <alan.lawrence at arm dot com> --- Same problem on AArch64, although the error messages are a little different (and varied) - this is following r217440 which provides some improvement in some cases: $ /work/alalaw01/sbuild/install/bin/aarch64-none-elf-gcc -c -O2 neon_const_range_tests/* In file included from neon_const_range_tests/vld1.c:2:0: /work/alalaw01/sbuild/install/lib/gcc/aarch64-none-elf/5.0.0/include/arm_neon.h: In function 'f_vld1_lane': /work/alalaw01/sbuild/install/lib/gcc/aarch64-none-elf/5.0.0/include/arm_neon.h:658:10: error: lane -1 out of range 0 - 7 return __aarch64_vset_lane_any (__vec, __index, __elem, 8); ^ In file included from neon_const_range_tests/vld4.c:2:0: /work/alalaw01/sbuild/install/lib/gcc/aarch64-none-elf/5.0.0/include/arm_neon.h: In function 'f_vld4_lane': /work/alalaw01/sbuild/install/lib/gcc/aarch64-none-elf/5.0.0/include/arm_neon.h:18111:1: error: lane -1 out of range 0 - 15 __LD4_LANE_FUNC (int8x8x4_t, int8x8_t, int8x16x4_t, int8_t, v16qi, qi, s8, ^ /tmp/ccKedD22.s: Assembler messages: /tmp/ccKedD22.s:9: Error: register element index out of range 0 to 7 at operand 3 -- `mul v0.8h,v0.8h,v1.h[-1]' /tmp/ccKedD22.s: Assembler messages: /tmp/ccKedD22.s:10: Error: immediate value out of range 1 to 8 at operand 3 -- `shrn v0.8b,v0.8h,9'
next prev parent reply other threads:[~2014-11-18 16:21 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-11-14 13:52 [Bug target/63870] New: [Aarch64] [ARM] Errors in use of NEON instrinsics " cbaylis at gcc dot gnu.org 2014-11-18 16:21 ` alan.lawrence at arm dot com [this message] 2014-11-20 16:27 ` [Bug target/63870] [Aarch64] [ARM] Errors in use of NEON intrinsics " cbaylis at gcc dot gnu.org 2014-11-27 21:06 ` ramana at gcc dot gnu.org 2014-12-09 20:24 ` alalaw01 at gcc dot gnu.org 2014-12-10 11:21 ` alalaw01 at gcc dot gnu.org 2015-01-14 15:48 ` ktkachov at gcc dot gnu.org 2015-01-14 16:29 ` cbaylis at gcc dot gnu.org 2015-01-15 18:36 ` alalaw01 at gcc dot gnu.org 2015-09-08 19:44 ` alalaw01 at gcc dot gnu.org
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=bug-63870-4-0oMQBo0Qfz@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /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: linkBe 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).