[LLVMdev] Integrated 'as' for PowerPC by default?

Gabor Greif ggreif at gmail.com
Thu Dec 5 07:14:58 PST 2013


Hi Ulrich!

Thanks for your answer.

On 12/5/13, Ulrich Weigand <Ulrich.Weigand at de.ibm.com> wrote:
> Gabor Greif <ggreif at gmail.com> wrote:
>
>> as of v3.3 the integrated assembler seems to work fine.
>> But it is not on by default. What is the obstacle for this last step?
>
> Well, it's support is not complete ...  The integrated assembler
> supports all general-purpose instructions the compiler itself
> generates, but has only partial support for all the rest, in
> particular nearly no support for any supervisor mode instructions.

I see.

>
> This means that if you use inline asm to generate any of
> those instructions (in particular in kernel code or other
> code that runs in supervisor mode), this would fail when
> using the internal assembler.

So '-integrated-as' has not been enabled by default because
clang is not yet a drop-in replacement for 'gcc' in this mode.

Thanks for the clarification.

Cheers,

   Gabor

>
> Bye,
> Ulrich
>
>



More information about the llvm-dev mailing list