Thread: BlitzQuake
View Single Post
Old 01 February 2014, 19:13   #37
matthey
Banned
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
Quote:
Originally Posted by Cowcat View Post
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.
matthey is offline  
 
Page generated in 0.04492 seconds with 11 queries