Quote:
Originally Posted by Cowcat
Allright:
the makefile had something like this for the asm files:
phxass q noexe m=68060 opt=2 i=devel:ndk/......
I used this:
vasmm68k_mot -Fhunk -m68060 -opt-speed -opt-allbra -showopt -x -nosym -I devel:ndk/...
And got pretty close size code like the old phxass ones. Don't remember if some of them got smaller.
A better options maybe?
|
Those options look fine to me. The assembler files should already have mostly optimized code although the desirable formatting may be different between PhxAss and vasm. Vasm has more "safe" optimizations enabled by default including the -opt-fconst optimization but they should never cause a problem. Note that the -opt-fconst optimization is not an easy one and many assembler programmers could miss it or leave it up to vasm to optimize. Also note that code size could grow compared to the PhxAss code with the -opt-speed although it's unlikely to be by much as most optimizations reduce the code size or keep it the same.