Hi Everyone,

I'm using an msp430f235 which has a 16x16 hardware multiplier but the
msp430-gcc does not produce code to utilise the hardware multiplier,
instead it generates a software multiply function.

My final linker command looks like the following:
/usr/bin/msp430-gcc -mmcu=msp430f235 -mmpy=16 -O2
-Wa,-adhlns=output/S5S.elf  -o output/S5S.elf output/.obj/Main.o
output/.obj/SysConf.o output/.obj/System.o output/.obj/Version.o
output/.obj/hw_io.o output/.obj/FCell.o

I'm using the following gcc version from the arch linux distro
msp430-gcc (mspgcc_20120406) 4.6.3 20120301 (mspgcc LTS 20120406 unpatched)

What am I doing wrong?  How do I get gcc to utilise the HW multiplier
correctly (with interrupt disabling)?

Thanks,
James
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to