User Tools

Site Tools


wswan:guide:optimization_v30mz

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wswan:guide:optimization_v30mz [2024/02/17 18:53] – created asiewswan:guide:optimization_v30mz [2025/12/31 12:35] (current) – removed asie
Line 1: Line 1:
-====== Optimizing for the NEC V30MZ CPU ====== 
  
-While the V30MZ is an 80186-compatible CPU, its instruction timings differ wildly from common expectations and are more reflective of its 1990s-era design: 
- 
-  * ''MUL'' is very fast on this CPU, taking 3-4 cycles. As a result, "shift plus add" ladders will almost always be equal in performance on slower. 
-  * ''XLAT'' takes 5 cycles. Many simple CPU operations (such as ''SHR reg, 4'' or ''MUL reg'' - both taking 3 cycles) can actually be faster! 
- 
-TODO: Expand this list. 
wswan/guide/optimization_v30mz.1708196009.txt.gz · Last modified: by asie