Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

rebuilding NASM 0.98.39 (without MMX/3DNOW/686/SSE) (Developers)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 17.03.2020, 06:58

> P.S. Does anyone know if -O9 will forcibly run nine passes or only those
> passes needed (e.g. three)? I could be wrong, but I think it does all nine!
> Inefficient, but maybe it doesn't (or can't) know. Though some assemblers
> can figure it out (if nothing changed in previous pass then exit?). Maybe
> that's why -O9v tells you (kinda) how many it took, so you can only run as
> many as needed next time? Not sure.

At least in recent versions, -O9 or -O2 are entirely the same as -Ox, ie enable multi-pass optimisation. Here's the manual text about it: https://www.nasm.us/xdoc/2.14.02/html/nasmdoc2.html#section-2.1.23

> -Ox (where x is the actual letter x): Multipass optimization. Minimize branch offsets and signed immediate bytes, overriding size specification unless the strict keyword has been used (see section 3.7). For compatibility with earlier releases, the letter x may also be any number greater than one. This number has no effect on the actual number of passes.

---
l

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 443 users online (0 registered, 443 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum