On Monday 10 November 2003 23:56, Darren Salt wrote: > Converting some multiplies to shifts (or shift plus some other arithmetic), > or arranging that one of the source registers normally contains the lower > value, can also help. (At least, on ARM...)
Gcc already does do this when appropriate (multiply by 2^x), and has been for as long as i can remember. Tom -- ^__^ | Tom Badran (oo)\______ | Imperial College (__)\ )\/\| Department of Computing ||----w | | ----------------------- || || | Using Debian SID
pgpofV8sx60Eg.pgp
Description: signature