[llvm-bugs] [Bug 38560] New: Arm backend does not recognise "vmov R, R[n]".
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Aug 14 05:23:14 PDT 2018
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: unassignedbugs at nondot.org
Reporter: iains-llvm at btconnect.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180814/2f0cdc16/attachment.html>
More information about the llvm-bugs
mailing list