[llvm-bugs] [Bug 31546] New: umaal instruction generated for Cortex-M3
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jan 5 04:02:06 PST 2017
https://llvm.org/bugs/show_bug.cgi?id=31546
Bug ID: 31546
Summary: umaal instruction generated for Cortex-M3
Product: clang
Version: 3.9
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: mpj at rowley.co.uk
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 17806
--> https://llvm.org/bugs/attachment.cgi?id=17806&action=edit
source code
Source Code Attached
Command line
e:\llvm-3.9.1\bin\clang.exe -c -target arm-none-eabi -mcpu=cortex-m3 umaal.cpp
-O1
Disassembly
.section .text,"ax",%progbits
.global _Stl_mult64(unsigned long long, unsigned long long, unsigned
long long&, unsigned long long&)
.thumb_func
_Stl_mult64(unsigned long long, unsigned long long, unsigned long long&,
unsigned long long&):
push {r4-r6, lr}
umull r12, lr, r2, r0
mov r5, #0
ldr r4, [sp, #20]
umlal lr, r5, r2, r1
umull r0, r2, r3, r0
add.w r6, lr, r0
adds.w r0, r0, lr
adc r0, r2, #0
umaal r5, r0, r3, r1
ldr r1, [sp, #16]
strd r12, r6, [r4, #0]
strd r5, r0, [r1, #0]
pop {r4-r6, pc}
--
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/20170105/2ec33e17/attachment.html>
More information about the llvm-bugs
mailing list