search for: pr13622

Displaying 4 results from an estimated 4 matches for "pr13622".

Did you mean: pr122
2012 Nov 22
3
[LLVMdev] Extended Inline asm with double data type crashes clang
...rs (like the x86 "A" constraint), but it doesn't seem like something which can be done generically: what "pairs" would we allow for "r" on e.g. x86? Of course, while writing this, I just realized this is a variant of a bug which has been discussed on llvm-commits: PR13622. And gcc actually does implement pairs on x86; I think the choice of registers is based on some internal register allocator sequence. And gcc also knows how to allocate register triplets on x86 (though I have no clue how you would use them). :) Ugh, I wish gcc's inline asm extension didn'...
2012 Nov 26
0
[LLVMdev] Extended Inline asm with double data type crashes clang
..." constraint), but > it doesn't seem like something which can be done generically: what > "pairs" would we allow for "r" on e.g. x86? > > Of course, while writing this, I just realized this is a variant of a > bug which has been discussed on llvm-commits: PR13622. And gcc > actually does implement pairs on x86; I think the choice of registers > is based on some internal register allocator sequence. And gcc also > knows how to allocate register triplets on x86 (though I have no clue > how you would use them). :) > > Ugh, I wish gcc's...
2012 Nov 22
0
[LLVMdev] Extended Inline asm with double data type crashes clang
> "r" is supposed to be a single register, not a register pair; the fact > that gcc accepts this is probably an accident. clang should reject > this code (without crashing, of course). I'm not quite convinced by this. On AArch64, GCC supports the %H, %Q and %R operand modifiers which very explicitly deal with a pair of 64-bit registers. These are intended to be used with
2012 Nov 22
2
[LLVMdev] Extended Inline asm with double data type crashes clang
On Thu, Nov 22, 2012 at 4:14 AM, rajesh viswabramana <viswabramana.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