search for: pr39058

Displaying 3 results from an estimated 3 matches for "pr39058".

Did you mean: pr36058
2012 Nov 22
0
[LLVMdev] Extended Inline asm with double data type crashes clang
Hi all, I tried same code on gcc for arm(hard float), double f2 () { double x = 10.0; asm ("" : "=r" (x) : "0" (x)); return x; } > arm-linux-gnueabi-gcc -S -mhard-float pr39058.c -O2 Generates proper code, mov r3, #0 mov r2, #0 movt r3, 16420 fmdrr d0, r2, r3 bx lr But llvm crashes, If data type is "double", register type is "int". Any comments why does llvm currently handle this case ? Regards, Rajesh On Wed, N...
2012 Nov 21
2
[LLVMdev] Extended Inline asm with double data type crashes clang
Thanks Rafael, Hello All, Could anyone please comment, which part in selectiondag need to be understood/modified to fix this. Regards, Rajesh On Wed, Nov 21, 2012 at 2:38 AM, Rafael EspĂ­ndola < rafael.espindola at gmail.com> wrote: > I reported http://llvm.org/pr14393 to track it. > > On 20 November 2012 05:18, rajesh viswabramana > <viswabramana.rajesh at
2012 Nov 22
2
[LLVMdev] Extended Inline asm with double data type crashes clang
...na.rajesh at gmail.com> wrote: > Hi all, > > I tried same code on gcc for arm(hard float), > > double f2 () > { > double x = 10.0; > > asm ("" : "=r" (x) : "0" (x)); > return x; > } > >> arm-linux-gnueabi-gcc -S -mhard-float pr39058.c -O2 > > Generates proper code, > mov r3, #0 > mov r2, #0 > movt r3, 16420 > fmdrr d0, r2, r3 > bx lr > > But llvm crashes, If data type is "double", register type is "int". > Any comments why does llvm currently...