Displaying 3 results from an estimated 3 matches for "kettch".
Did you mean:
fetch
2010 Mar 16
3
[LLVMdev] LLVM-GCC generating too much code from inline assembly
Hi,
I recently switched to LLVM-GCC 4.2 on OS X, to go around a bug caused by
gcc with optimized code. Unfortunately, I ran into another weird problem on
LLVM-GCC. In my code, there's a file with a bunch of inline assembly blocks,
that worked fine with GCC 4.2. Now, when compiling with LLVM-GCC 4.2, weird
things happen.
Here's an example: (the blocks are larger than that, but a single
2010 Mar 16
0
[LLVMdev] LLVM-GCC generating too much code from inline assembly
...ence http://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html. In particular, the information regarding clobbers and constraints.
Generally speaking, it's best not to use inline assembly at all. What are you trying to do that you find it necessary?
On Mar 16, 2010, at 12:30 AM, Fred / Kettch wrote:
> Hi,
>
> I recently switched to LLVM-GCC 4.2 on OS X, to go around a bug caused by gcc with optimized code. Unfortunately, I ran into another weird problem on LLVM-GCC. In my code, there's a file with a bunch of inline assembly blocks, that worked fine with GCC 4.2. Now, when...
2010 Mar 16
2
[LLVMdev] LLVM-GCC generating too much code from inline assembly
...p/GCC-Inline-Assembly-HOWTO.html. In particular, the information
> regarding clobbers and constraints.
>
> Generally speaking, it's best not to use inline assembly at all.
> What are you trying to do that you find it necessary?
>
>
> On Mar 16, 2010, at 12:30 AM, Fred / Kettch wrote:
>
>> Hi,
>>
>> I recently switched to LLVM-GCC 4.2 on OS X, to go around a bug
>> caused by gcc with optimized code. Unfortunately, I ran into
>> another weird problem on LLVM-GCC. In my code, there's a file with
>> a bunch of inline assembly...