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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs