Khem Raj <[email protected]> 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 Enrico _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
