https://bugs.llvm.org/show_bug.cgi?id=38560
Bug ID: 38560
Summary: Arm backend does not recognise "vmov R, R[n]".
Product: new-bugs
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: iains-l...@btconnect.com
CC: llvm-bugs@lists.llvm.org
Created attachment 20711
--> https://bugs.llvm.org/attachment.cgi?id=20711&action=edit
add vmov R, R[n] insn alias.
ran into this building newlib.
The documentation for the vmov insn says that in
"vmov.32 R, R[n]" the ".32" may be ommitted and is assumed to be 32.
patch adds an insn alias for this, unless there's expected to be an alternate
solution?
testcase
=====
$ more /src/test-arm/bare-vmov.S
#define synd r0
/* NEON registers */
#define vdata0_0 d2 /* Lower half of vdata0 */
.syntax unified
.arch armv7-a
.fpu neon
.text
.thumb_func
.global foo
.type foo,%function
.cfi_startproc
foo:
/* Termination condition found, let's calculate the syndrome value. */
vmov synd, vdata0_0[0]
bx lr
.cfi_endproc
.size foo, . - foo
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs