[oe] [PATCH] cortex-m3: adjusted target cflags
Khem Raj
raj.khem at gmail.com
Mon Feb 7 22:35:23 UTC 2011
On Mon, Feb 7, 2011 at 2:27 PM, Enrico Scholz
<enrico.scholz at sigma-chemnitz.de> wrote:
> Khem Raj <raj.khem at gmail.com> writes:
>
>> Can you check what does gcc emits in an assembly file when using
>> -mcpu=cortex-m3 in your case. If it emits sdiv instruction or not
>>
>> int foo (long a, long b)
>> {
>> return a/b;
>> }
>
> $ arm-linux-uclibceabi-gcc -mthumb -mcpu=cortex-m3 -mfpu=vfp -mfloat-abi=softfp -O1 -c x.c
> $ arm-linux-uclibceabi-objdump -d x.o
> 00000000 <foo>:
> 0: fb90 f0f1 sdiv r0, r0, r1
> 4: 4770 bx lr
> 6: bf00 nop
>
>
thx
>
> Enrico
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
More information about the Openembedded-devel
mailing list